[libvirt] [PATCH 0/2] Fix crash from live attach of device (for 4.1.0)

John Ferlan jferlan at redhat.com
Thu Mar 1 13:03:37 UTC 2018


Fix is in patch 1/2 - if virDomainDefCompatibleDevice is called with
a NULL @oldDev, then call to virDomainDeviceGetInfo would fail rather
spectacularly.

Patch 2 extends the similar fix/adjustment from the update path to
the add path for the cdrom/floppy since the add path since it's
possible to use attach device as well as update device.

John Ferlan (2):
  conf: Fix crash in virDomainDefCompatibleDevice
  qemu: Call virDomainDefCompatibleDevice when live add cdrom/floppy

 src/conf/domain_conf.c  | 5 ++++-
 src/qemu/qemu_hotplug.c | 8 ++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

-- 
2.13.6




More information about the libvir-list mailing list