Re: [PATCH v5 3/9] mshv: Introduce basic mshv bridge device for VFIO to build upon
From: Jason Gunthorpe
Date: Thu Sep 03 2026 - 13:56:52 EST
On Thu, Sep 03, 2026 at 09:13:28AM -0700, Wei Liu wrote:
> > Does mshv use KVM at all? Can a kvm fd describe the partition?
>
> No. MSHV doesn't use KVM. We don't have a kvm fd. We have an mshv fd to
> describe the partition. They are different virtualization solutions.
>
> In the ideal world, the fd should be hypervisor agnostic, not tied to
> kvm.
There is a patch generalizing vfio to work on FDs instead of KVM structures:
https://patch.msgid.link/20260903-vfio-v2-1-ef4cd4190ae7@xxxxxxxxxxxxx
That's probably a good step long that line.
Jason