[libvirt] [PATCHv3 30/36] qemu: monitor: Add argument for specifying backing name for block commit
Eric Blake
eblake at redhat.com
Tue Jun 3 03:59:06 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140602/7ef3f4f5/attachment-0001.sig>
More information about the libvir-list
mailing list