6 ms·
Cool. I've actually been playing with QEMU internals a lot recently. Specifically with the multi-process experimental features. Although I can't seem to find an
by rlyshw 3y ago
Cool. I've actually been playing with QEMU internals a lot recently. Specifically with the multi-process experimental features. Although I can't seem to find any consistency on where the main project is headed. They admit that the documentation pages can be well out-of-date with the upstream implementations, but they seem split-brained even within the code.
The main project ships with the multi-process qemu approach, mostly defined in their docs:
https://www.qemu.org/docs/master/system/multi-process.html https://www.qemu.org/docs/master/system/multi-process.html
https://www.qemu.org/docs/master/devel/multi-process.html https://www.qemu.org/docs/master/devel/multi-process.html
But I saw some update buried in a mailing list that development of the multi-process system has been superseded by vfio-user, mostly led by nutanix:
https://github.com/nutanix/libvfio-user https://github.com/nutanix/libvfio-user
The nutanix repo refers to an oracle-led fork of qemu with the full vfio-user implementation built-in:
https://github.com/oracle/qemu https://github.com/oracle/qemu
So, they're still separate projects, right? Well, kinda. the mainline project has the vfio-user-server implementation merged in:
https://github.com/qemu/qemu/blob/ac5f7bf8e208cd7893dbb1a9520559e569a4677c/hw/remote/vfio-user-obj.c https://github.com/qemu/qemu/blob/ac5f7bf8e208cd7893dbb1a952...
But not the client side (vfio-user-pci). So, the feature is half-baked in the mainline project.
I don't know if any of the qemu devs browse HN but it would be nice to hear more about the plans for vfio-user.