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

Daniel Henrique Barboza posted 2 patches 5 years ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190404134039.25849-1-danielhb413@gmail.com
src/qemu/qemu_domain.c | 108 ++++++++++++++++++++++++++++++++++-------
1 file changed, 90 insertions(+), 18 deletions(-)
[libvirt] [PATCH v5 0/2] PPC64 support for NVIDIA V100 GPU with NVLink2 passthrough
Posted by Daniel Henrique Barboza 5 years ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list