[libvirt] [PATCH v4 0/5] PCI hostdev partial assignment support

Daniel Henrique Barboza danielhb413 at gmail.com
Mon Dec 16 13:36:02 UTC 2019


changes from version 3 [1]:
- removed last 2 patches that made function 0 of 
PCI multifunction devices mandatory
- new patch: news.xml update
- changed 'since' version to 6.0.0 in patch 4
- unassigned hostdevs are now getting qemu aliases

[1] https://www.redhat.com/archives/libvir-list/2019-November/msg01263.html

Daniel Henrique Barboza (5):
  Introducing new address type='unassigned' for PCI hostdevs
  qemu: handle unassigned PCI hostdevs in command line
  virhostdev.c: check all IOMMU devs in virHostdevPreparePCIDevices
  formatdomain.html.in: document <address type='unassigned'/>
  news.xml: add address type='unassigned' entry

 docs/formatdomain.html.in                     | 14 ++++
 docs/news.xml                                 | 19 ++++++
 docs/schemas/domaincommon.rng                 |  5 ++
 src/conf/device_conf.c                        |  2 +
 src/conf/device_conf.h                        |  1 +
 src/conf/domain_conf.c                        |  7 +-
 src/qemu/qemu_command.c                       |  5 ++
 src/qemu/qemu_domain.c                        |  1 +
 src/qemu/qemu_domain_address.c                |  5 ++
 src/util/virhostdev.c                         | 64 +++++++++++++++++--
 .../hostdev-pci-address-unassigned.args       | 31 +++++++++
 .../hostdev-pci-address-unassigned.xml        | 42 ++++++++++++
 tests/qemuxml2argvtest.c                      |  4 ++
 .../hostdev-pci-address-unassigned.xml        | 58 +++++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 15 files changed, 251 insertions(+), 8 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/hostdev-pci-address-unassigned.args
 create mode 100644 tests/qemuxml2argvdata/hostdev-pci-address-unassigned.xml
 create mode 100644 tests/qemuxml2xmloutdata/hostdev-pci-address-unassigned.xml

-- 
2.23.0





More information about the libvir-list mailing list