[PATCH 1/4] qemu: blockjob: Don't reset state when entering sync blockjob

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



job->newstate is now used internally all the time so there's no need to
clear it as it already has correct value.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_blockjob.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c
index 34a4047210..a4662342a7 100644
--- a/src/qemu/qemu_blockjob.c
+++ b/src/qemu/qemu_blockjob.c
@@ -428,7 +428,6 @@ qemuBlockJobSyncBegin(qemuBlockJobDataPtr job)

     VIR_DEBUG("disk=%s", NULLSTR(diskdst));
     job->synchronous = true;
-    job->newstate = -1;
 }


-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux