Go to file
Alexandre Derumier ad123d97f9 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 08:18:30 +02:00
PVE qemu-mirror : block job complete : use ready flag 2015-05-12 08:18:30 +02:00
.gitignore use better name for build dir 2011-08-24 11:08:33 +02:00
changelog.Debian bump version to 4.0-8 2015-05-05 14:58:16 +02:00
control.in Switch from netcat-traditional to netcat6 2015-05-12 06:39:08 +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 4.0-8 2015-05-05 14:58:16 +02:00
modules-load.conf remove unnecessary init.d, postint, postrm and qmupdate scripts 2015-02-27 16:09:41 +01:00
pcitest.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
pve-bridge fix bug #617: change command arrangement 2015-04-10 07:00:13 +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
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
sparsecp.c use correct format to print time_t (%zd) 2012-02-13 11:22:03 +01:00
triggers trigger pve-api-updates event 2015-05-05 14:57:00 +02: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