Hi Jason, On Thu, 3 Sep 2026 14:40:14 -0300 Jason Gunthorpe <[email protected]> wrote:
> 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/[email protected] > > That's probably a good step long that line. Yeah, ideally, it would be removing/rename device/group->kvm to something like group/device->vm_file?

