[libvirt] [PATCH 0/6] Address assignment fixes

Ján Tomko jtomko at redhat.com
Fri Oct 21 13:58:53 UTC 2016


Fixes a crash on usb-serial hotplug and missing addresses
after libvirtd restart, and makes some code more readable.

Ján Tomko (6):
  Add 'FromCache' to  virDomainVirtioSerialAddrAutoAssign
  Introduce virDomainVirtioSerialAddrAutoAssign again
  Return directly from qemuDomainAttachChrDeviceAssignAddr
  Also create the USB address cache for domains with all the USB
    addresses
  Fix crash on usb-serial hotplug
  Do not try to release virtio serial addresses

 src/conf/domain_addr.c         | 41 +++++++++++++++++++++++++++++++++----
 src/conf/domain_addr.h         | 14 +++++++++++--
 src/libvirt_private.syms       |  2 ++
 src/qemu/qemu_domain_address.c | 22 ++++++++++++++++----
 src/qemu/qemu_hotplug.c        | 46 +++++++++++++++++-------------------------
 5 files changed, 87 insertions(+), 38 deletions(-)

-- 
2.7.3




More information about the libvir-list mailing list