David Woodhouse
2021-Feb-02 10:40 UTC
[PATCH v3 00/17] Introducing Linux root partition support for Microsoft Hypervisor
On Tue, 2020-12-15 at 16:42 +0000, Wei Liu wrote:> On Tue, Dec 15, 2020 at 04:25:03PM +0100, Enrico Weigelt, metux IT consult wrote: > > On 03.12.20 00:22, Wei Liu wrote: > > > > Hi, > > > > > I don't follow. Do you mean reusing /dev/kvm but with a different set of > > > APIs underneath? I don't think that will work. > > > > My idea was using the same uapi for both hypervisors, so that we can use > > the same userlands for both. > > > > Are the semantis so different that we can't provide the same API ? > > We can provide some similar APIs for ease of porting, but can't provide > 1:1 mappings. By definition KVM and MSHV are two different things. There > is no goal to make one ABI / API compatible with the other.I'm not sure I understand. KVM is the Linux userspace API for virtualisation. It is designed to be versatile enough that it can support multiple implementations across multiple architectures, including both AMD SVM and Intel VMX on x86. Are you saying that KVM has *failed* to be versatile enough that this can be "just another implementation"? What are the problems? Is it unfixable? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5174 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20210202/9dc2ef2e/attachment-0001.bin>