mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
7cc5410bfd
If you shutdown libvirtd while a domain with PCI devices is running, then try to restart libvirtd, libvirtd will crash. This happens because qemuUpdateActivePciHostdevs() is calling pciDeviceListSteal() with a dev of 0x0 (NULL), and then trying to dereference it. This patch fixes it up so that qemuUpdateActivePciHostdevs() steals the devices after first Get()'ting them, avoiding the crash. Signed-off-by: Chris Lalancette <clalance@redhat.com> |
||
---|---|---|
.. | ||
libvirtd_qemu.aug | ||
qemu_bridge_filter.c | ||
qemu_bridge_filter.h | ||
qemu_conf.c | ||
qemu_conf.h | ||
qemu_driver.c | ||
qemu_driver.h | ||
qemu_monitor_json.c | ||
qemu_monitor_json.h | ||
qemu_monitor_text.c | ||
qemu_monitor_text.h | ||
qemu_monitor.c | ||
qemu_monitor.h | ||
qemu_security_dac.c | ||
qemu_security_dac.h | ||
qemu_security_stacked.c | ||
qemu_security_stacked.h | ||
qemu.conf | ||
test_libvirtd_qemu.aug | ||
THREADS.txt |