[libvirt] [PATCH 0/6] conf: Move a bunch of stuff to device_conf

Andrea Bolognani abologna at redhat.com
Fri Aug 31 14:00:41 UTC 2018


These are the times where I wish we were using a language
with support for proper classes and modules like, I dunno,
PHP or something.

Andrea Bolognani (6):
  conf: Move virDomainDeviceAddressType to device_conf
  conf: Move virDomainDeviceAddressIsValid() to device_conf
  conf: Change return type of *AddressIsValid() to bool
  conf: Move virDomainPCIAddressAsString() to device_conf
  conf: Rename virDomainPCIAddressAsString()
  conf: Move *AddressParseXML() to device_conf

 src/conf/device_conf.c         | 348 ++++++++++++++++++++++++++++++++-
 src/conf/device_conf.h         |  31 ++-
 src/conf/domain_addr.c         |  20 +-
 src/conf/domain_addr.h         |   3 -
 src/conf/domain_conf.c         | 320 ------------------------------
 src/conf/domain_conf.h         |   3 -
 src/libvirt_private.syms       |  13 +-
 src/qemu/qemu_command.c        |   2 +-
 src/qemu/qemu_domain_address.c |   6 +-
 9 files changed, 386 insertions(+), 360 deletions(-)

-- 
2.17.1




More information about the libvir-list mailing list