libvirt/src/qemu
Guannan Ren 011eeb4130 snapshot: fix double free of qemuImgBinary
Regression introduced in commit 3881a470, due to an improper rebase
of a cleanup written beforehand but only applied after a rebased of
a refactoring that created a new function in commit 25fb3ef.

Also avoids passing NULL to printf %s.

* src/qemu/qemu_driver.c: In qemuDomainSnapshotForEachQcow2()
it free up the memory of qemu_driver->qemuImgBinary in the
cleanup tag which leads to the garbage value of qemuImgBinary
in qemu_driver struct and libvirtd crash when running
"virsh snapshot-create" command a second time.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-09-13 09:11:11 -06:00
..
libvirtd_qemu.aug qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_bridge_filter.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
qemu_bridge_filter.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_capabilities.c Add USB hub device 2011-09-02 23:38:52 +08:00
qemu_capabilities.h Add USB hub device 2011-09-02 23:38:52 +08:00
qemu_cgroup.c set cpu bandwidth for the vm 2011-07-26 22:12:57 +08:00
qemu_cgroup.h qemu: Implement period and quota tunable XML configuration and parsing 2011-07-21 17:11:12 +08:00
qemu_command.c snapshot: reject transient disks where code is not ready 2011-09-05 07:03:04 -06:00
qemu_command.h Add "redirdev" redirection device 2011-09-02 23:39:03 +08:00
qemu_conf.c qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
qemu_conf.h qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
qemu_domain.c qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
qemu_domain.h qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
qemu_driver.c snapshot: fix double free of qemuImgBinary 2011-09-13 09:11:11 -06:00
qemu_driver.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu_hostdev.c pci: fix pciDeviceListSteal on multiple devices 2011-08-24 10:31:29 -06:00
qemu_hostdev.h Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hotplug.c link-state: qemu: Add net intf modification to virUpdateDeviceFlags 2011-09-06 16:23:47 +08:00
qemu_hotplug.h link-state: qemu: Add net intf modification to virUpdateDeviceFlags 2011-09-06 16:23:47 +08:00
qemu_migration.c snapshot: prevent migration from stranding snapshot data 2011-09-02 21:57:34 -06:00
qemu_migration.h snapshot: prevent migration from stranding snapshot data 2011-09-02 21:57:34 -06:00
qemu_monitor_json.c link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_monitor_json.h link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_monitor_text.c link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_monitor_text.h link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_monitor.c link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_monitor.h link-state: qemu: Add monitor handling for link state modification 2011-09-06 16:18:57 +08:00
qemu_process.c link-state: qemu: Add net intf modification to virUpdateDeviceFlags 2011-09-06 16:23:47 +08:00
qemu_process.h snapshot: only pass snapshot to qemu command line when reverting 2011-08-25 15:07:57 -06:00
qemu.conf qemu: Introduce job queue size limit 2011-09-05 18:14:08 +02:00
test_libvirtd_qemu.aug Integrate the QEMU driver with the lock manager infrastructure 2011-06-02 10:54:01 +01:00
THREADS.txt qemu: fix crash when mixing sync and async monitor jobs 2011-08-01 09:41:57 -06:00