[libvirt] [PATCH v2 0/3] auto-assign controller indexes

Laine Stump laine at laine.org
Mon May 23 20:50:51 UTC 2016


Patches 1 and 2 just shuffle a couple of existing functions. Patch 3
gets to the point.

v1->v2 changes are explained in patch 3.

Laine Stump (3):
  conf/qemu: make IS_USB2_CONTROLLER globally available
  conf: make virDomainControllerFindUnusedIndex() more generally usable
  conf: permit auto-assignment of controller indexes

 docs/formatdomain.html.in                          |   7 +-
 docs/schemas/domaincommon.rng                      |   8 +-
 src/conf/domain_conf.c                             | 128 ++++++++++++++---
 src/conf/domain_conf.h                             |  10 +-
 src/libvirt_private.syms                           |   1 +
 src/qemu/qemu_domain_address.c                     |   7 -
 src/qemu/qemu_driver.c                             |   5 +-
 src/qemu/qemu_hotplug.c                            |   8 ++
 tests/qemuxml2argvdata/qemuxml2argv-autoindex.args |  53 +++++++
 tests/qemuxml2argvdata/qemuxml2argv-autoindex.xml  |  54 ++++++++
 tests/qemuxml2argvtest.c                           |   9 ++
 .../qemuxml2xmlout-autoindex.xml                   | 153 +++++++++++++++++++++
 tests/qemuxml2xmltest.c                            |  10 +-
 13 files changed, 421 insertions(+), 32 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-autoindex.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-autoindex.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-autoindex.xml

-- 
2.5.5




More information about the libvir-list mailing list