[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:54:10 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.
> ---
>  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

-------------- 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/8cc75ed4/attachment-0001.sig>


More information about the libvir-list mailing list