This series includes Libvirt support for a new QEMU feature for
the spapr (PPC64) machine, NVIDIA V100 + P9 passthrough. Refer to
[1] for the version 3 of this feature (same version used as a reference
for this series).
v2 has a entirely different approach from the first patch [2] that
simply grants IPC_LOCK to the QEMU process:
- first patch is a cleanup to make it easier to
insert additional logic in the code
- patch 2 contains helper functions that browses the device tree
at /proc/device-tree to detect if a given VFIO PCI device
is using a NVLink2 bus
- patch 3 includes the passthroughLimit calculation for PPC64
guests that are using NVLink2 passthrough GPUs.
[1]
https://patchwork.kernel.org/cover/10831413/
[2]
https://www.redhat.com/archives/libvir-list/2019-February/msg00219.html
Daniel Henrique Barboza (3):
qemu_domain: simplify non-VFIO memLockLimit calc for PPC64
qemu_domain: NVLink2 device tree functions for PPC64
PPC64 support for NVIDIA V100 GPU with NVLink2 passthrough
src/qemu/qemu_domain.c | 245 +++++++++++++++++++++++++++++++++++++++--
1 file changed, 234 insertions(+), 11 deletions(-)
--
2.20.1