[libvirt] [PATCH 04/12] qemu: driver: Set mirror state after successful command

Ján Tomko jtomko at redhat.com
Tue May 21 08:14:39 UTC 2019


On Fri, May 17, 2019 at 01:19:50PM +0200, Peter Krempa wrote:
>When aborting or pivoting a block job we record which operation we do
>for the mirror in the virDomainDiskDef structure. As everything is
>synchronized by a job it's not necessary to modify the state prior to
>calling the monitor and reseting the state on failure.

resetting

>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 22 +++++++++-------------
> 1 file changed, 9 insertions(+), 13 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190521/cfd1a71f/attachment-0001.sig>


More information about the libvir-list mailing list