]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Refactor block job waiting in cmdBlockCommit
authorPeter Krempa <pkrempa@redhat.com>
Mon, 13 Jul 2015 15:04:49 +0000 (17:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Jul 2015 13:32:59 +0000 (15:32 +0200)
commit7408403560f7d054da75acaab855a95c51a92e2b
treefb10a4756a7e1f8330d61ba459d4b6c41d294750
parent2e7827636476fdf976f17cd234b636973dedffc0
virsh: Refactor block job waiting in cmdBlockCommit

Reuse the vshBlockJobWait infrastructure to refactor cmdBlockCommit to
use the common code. This additionally fixes a bug when working with
new qemus, where when doing an active commit with --pivot the pivoting
would fail, since qemu reaches 100% completion but the job doesn't
switch to synchronized phase right away.
tools/virsh-domain.c