[pve-devel] [PATCH qemu-server v2 0/5] add mediated devices/vgpu support

Dominik Csapak d.csapak at proxmox.com
Wed Nov 14 10:44:23 CET 2018


this series adds backend support for mediated devices (aka vGPU,GVT-g)
we add a new property for hostpci devices which then autocreates
an instance of the specified type

later, i will send patches for the gui integration, which will depend
on this series

also this series makes only real sense if the qmeventd patches are
applied, since there will be no cleanup of vgpus when you do a shutdown
from within the guest (or qemu crashed)

while we are touching those files, also do a little cleanup

changes from v1:
* split up the code move/refactor
* fixed the wrong regex option for lspci
* implemented the 'filter' feature for lspci (since it was always used that way)
* optimized the cleanup code a little

Dominik Csapak (5):
  move pci related subs to QemuServer/PCI.pm
  refactor pci regex
  implement filter in lspci
  implement iommu check
  add mediated devices support

 PVE/QemuServer.pm     | 203 +++++++++++++-------------------------------------
 PVE/QemuServer/PCI.pm | 201 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 253 insertions(+), 151 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list