On 06/07/2014 12:51 PM, Max Reitz wrote: > qemu-img should use QMP commands whenever possible in order to ensure > feature completeness of both online and offline image operations. As > qemu-img itself has no access to QMP (since this would basically require > just everything being linked into qemu-img), imitate QMP's > implementation of block-commit by using commit_active_start() and then > waiting for the block job to finish. > > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > block/Makefile.objs | 2 +- > qemu-img.c | 83 > +++++++++++++++++++++++++++++++++++++++++------------ > 2 files changed, 65 insertions(+), 20 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature