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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux