Max Reitz d4a3238af5 qemu-img: Implement commit like QMP
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 <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1414159063-25977-9-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-11-03 11:41:48 +00:00
..
2014-11-03 11:41:48 +00:00
2014-11-03 11:41:48 +00:00
2014-10-20 13:41:26 +02:00
2014-11-03 11:41:47 +00:00
2014-10-23 15:34:02 +02:00
2014-11-03 11:41:47 +00:00
2014-11-03 11:41:48 +00:00
2014-11-03 11:41:47 +00:00
2014-10-23 15:34:01 +02:00
2014-08-15 15:07:14 +02:00
2014-08-15 15:07:14 +02:00