[libvirt] [PATCH 00/10] Remove caching of address sets

Tomasz Flendrich t.flendrich at gmail.com
Tue Jul 19 03:27:37 UTC 2016


These patches delete the caching of pci, virtioSerial and ccw address sets.
I am deleting them, because they can be recalculated from the domain definition,
and there's no point in keeping redundant data, especially because handling
a persistent cache of addresses required using functions that released addresses.
These functions aren't useful anymore, so they are dropped too.


Tomasz Flendrich (10):
  add virDomainVirtioSerialAddrSetCreateFromDomain
  qemu_hotplug: generate vioserial address list on demand
  qemu: remove vioserialaddrs caching
  Add qemuDomainCCWAddrSetCreateFromDomain
  qemu_hotplug: generate ccw address list on demand
  qemu: remove ccwaddrs caching
  add qemuDomainPCIAddrSetCreateFromDomain
  qemu_hotplug: generate pci address list on demand
  qemu: remove pciaddrs caching
  Remove unused functions that release addresses

 src/conf/domain_addr.c         | 123 ++++++++-----------------------
 src/conf/domain_addr.h         |  15 +---
 src/libvirt_private.syms       |   4 +-
 src/qemu/qemu_domain.c         |   3 -
 src/qemu/qemu_domain.h         |   4 --
 src/qemu/qemu_domain_address.c | 160 ++++++++++++++++++-----------------------
 src/qemu/qemu_domain_address.h |  11 ++-
 src/qemu/qemu_hotplug.c        | 153 ++++++++++++++++++++++-----------------
 8 files changed, 200 insertions(+), 273 deletions(-)

-- 
2.7.4 (Apple Git-66)




More information about the libvir-list mailing list