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.
---
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(-)
We need a capability in qemu_capabilities.[ch] first; that way we can
give better error messages if qemu is too old to support use of this
feature.
ACK to this patch; it will be the caller qemu_driver that needs to pay
attention to the capability.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org