Go to file
Alexandre Derumier 57bdd47055 qemu-mirror : block job complete : use ready flag
Since qemu 2.2, a new "ready" flag has been added to blockjob
http://git.qemu.org/?p=qemu.git;a=commit;h=ef6dbf1e46ebd1d41ab669df5bba0bbdec6bd374
to known if we can complete it.

we can't use len==offset to known if all block are mirrored, because behaviour will change soon in qemu 2.3

http://git.qemu.org/?p=qemu.git;a=commit;h=b21c76529d55bf7bb02ac736b312f5f8bf033ea2
"block/mirror: Improve progress report

Instead of taking the total length of the block device as the block
job's length, use the number of dirty sectors. The progress is now the
number of sectors mirrored to the target block device. Note that this
may result in the job's length increasing during operation, which is
however in fact desirable.
"

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-05-12 07:35:29 +02:00
PVE qemu-mirror : block job complete : use ready flag 2015-05-12 07:35:29 +02:00
.gitignore use better name for build dir 2011-08-24 11:08:33 +02:00
changelog.Debian bump version to 3.4-5 2015-04-27 10:38:06 +02:00
control.in auto generate uuid on VM create 2014-06-26 11:51:52 +02:00
copyright change license to AGPL3 2011-08-24 10:07:52 +02:00
gen-vmconf-pod.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
Makefile bump version to 3.4-5 2015-04-27 10:38:06 +02:00
pcitest.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
postinst Fix startup order 2011-08-30 15:11:54 +02:00
postrm imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
pve-bridge fix bug #617: change command arrangement 2015-04-10 06:58:59 +02:00
pve-bridgedown add pve-bridgedown script 2014-05-08 08:37:04 +02:00
pve-q35.cfg enable q35 machine support 2014-06-18 06:03:53 +02:00
pve-usb.cfg imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
qemu.init.d removed startall/stopall commands 2012-04-20 09:30:42 +02:00
qm correctly set and remove lock 2015-02-15 09:04:30 +01:00
qmextract use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
qmrestore use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
qmupdate use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
sparsecp.c use correct format to print time_t (%zd) 2012-02-13 11:22:03 +01:00
utils.c fix bug in vmtar 2012-10-25 10:01:24 +02:00
vmtar.c fix bug in vmtar 2012-10-25 10:01:24 +02:00