On 05/30/2014 02:37 AM, Peter Krempa wrote:
To allow changing the name that is recorded in the overlay of the
TOP
image used in a block commit operation, we need to specify the backing
name to qemu. This is done via the "backing-file" attribute to the
block-commit commad.
Oops, missed this on first review. s/commad/command/
---
src/qemu/qemu_driver.c | 1 +
src/qemu/qemu_monitor.c | 9 ++++++---
src/qemu/qemu_monitor.h | 1 +
src/qemu/qemu_monitor_json.c | 2 ++
src/qemu/qemu_monitor_json.h | 1 +
tests/qemumonitorjsontest.c | 2 +-
6 files changed, 12 insertions(+), 4 deletions(-)
- VIR_DEBUG("mon=%p, device=%s, top=%s, base=%s, bandwidth=%ld",
- mon, device, top, base, bandwidth);
+ VIR_DEBUG("mon=%p, device=%s, top=%s, base=%s, backingName=%s, "
+ "bandwidth=%ld",
+ mon, device, top, base, backingName, bandwidth);
NULLSTR(backingName)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org