[libvirt] [PATCH v5 0/2] PPC64 support for NVIDIA V100 GPU with NVLink2 passthrough

Daniel Henrique Barboza danielhb413 at gmail.com
Thu Apr 4 13:40:37 UTC 2019


This series adds support for a new QEMU feature for the spapr
(PPC64) machine, NVIDIA V100 + P9 passthrough. Refer to [1]
for the version 7 of this feature (version accepted upstream).


changes in v5:
- patch1:
  * use ARRAY_CARDINALITY instead of hard coding the array size
  * fixed leak of 'file' string inside loop
  * added ATTRIBUTE_UNUSED in the static function to allow build
to succeed without applying the second patch

- patch 2:
  * added QEMU reference of the memory layout of NVLink2 support
  * fixed leak of 'pciAddrStr' string inside loop
  * added curly braces in multi-line statements

Previous version can be found at [2].

[1] https://patchwork.kernel.org/patch/10848727/
[2] https://www.redhat.com/archives/libvir-list/2019-March/msg00801.html

Daniel Henrique Barboza (2):
  qemu_domain: NVLink2 bridge detection function for PPC64
  PPC64 support for NVIDIA V100 GPU with NVLink2 passthrough

 src/qemu/qemu_domain.c | 108 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 90 insertions(+), 18 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list