]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lib: domain: Emphasise that users should wait for block job READY state via events
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jan 2019 15:01:57 +0000 (16:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 29 Jan 2019 16:11:02 +0000 (17:11 +0100)
commit38757744c2e06ace3dc95f31ac1ab0c9c45ba6b7
tree377ba8f0c6e0cb609b9b9b6c667fb14ecc8108e9
parentb7bd97fbe741675a18edce629ffd759e50b34a8c
lib: domain: Emphasise that users should wait for block job READY state via events

The transition to the ready state is best observed by events as it's
ansynchronous and does not hint users to do polling. As currently only
the qemu driver supports block copy and block commit and the ready state
event was introduced by qemu 1.3 we can fully switch to the new
approach.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt-domain.c