[PATCH v2 0/4] domain: Support <address type='pci'/> allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series allows the user to specify bare device
<address type='pci'/> to explicitly request PCI address allocation.
It's only wired up for qemu, and explicitly errors for all other
drivers.

This has several uses, but the motivating one is providing an
easy way to request PCI address allocation where it normally isn't
the default address type, like for aarch64 VMs.

v1 posting was here:
http://www.redhat.com/archives/libvir-list/2016-March/msg00268.html

This series depends on calling qemuDomainAssignAddresses from
PostParse:
http://www.redhat.com/archives/libvir-list/2016-May/msg01075.html

Changes since v1:
- Rebased to master
- Dropped patches that were merged
- Split out AssignAddress bits to their own series
- Add formatdomain docs

Cole Robinson (4):
  util: xml: add virXMLPropertyCount
  domain: Make <address type='pci'/> request address allocation
  qemu: Wire up address type=pci auto_allocate
  tests: qemu: test <address type='pci'/> with aarch64

 docs/formatdomain.html.in                          |  5 ++-
 docs/schemas/domaincommon.rng                      |  5 ++-
 src/conf/domain_conf.c                             | 30 +++++++++++++-
 src/conf/domain_conf.h                             |  1 +
 src/libvirt_private.syms                           |  1 +
 src/qemu/qemu_domain_address.c                     | 47 ++++++++++++++++++++++
 src/util/virxml.c                                  | 17 ++++++++
 src/util/virxml.h                                  |  1 +
 .../generic-pci-autofill-addr.xml                  | 27 +++++++++++++
 tests/genericxml2xmltest.c                         |  3 ++
 ...l2argv-aarch64-virtio-pci-manual-addresses.args |  4 +-
 ...ml2argv-aarch64-virtio-pci-manual-addresses.xml |  5 +++
 .../qemuxml2argv-pci-autofill-addr.args            | 25 ++++++++++++
 .../qemuxml2argv-pci-autofill-addr.xml             | 35 ++++++++++++++++
 tests/qemuxml2argvtest.c                           |  1 +
 ...2xmlout-aarch64-virtio-pci-manual-addresses.xml |  5 +++
 .../qemuxml2xmlout-pci-autofill-addr.xml           | 41 +++++++++++++++++++
 tests/qemuxml2xmltest.c                            |  1 +
 18 files changed, 250 insertions(+), 4 deletions(-)
 create mode 100644 tests/genericxml2xmlindata/generic-pci-autofill-addr.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pci-autofill-addr.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pci-autofill-addr.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autofill-addr.xml

-- 
2.7.4

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]