Pierre Riteau 77358b59f6 Fix block migration when the device size is not a multiple of 1 MB
b02bea3a85cc939f09aa674a3f1e4f36d418c007 added a check on the return
value of bdrv_write and aborts migration when it fails. However, if the
size of the block device to migrate is not a multiple of BLOCK_SIZE
(currently 1 MB), the last bdrv_write will fail with -EIO.

Fixed by calling bdrv_write with the correct size of the last block.

Signed-off-by: Pierre Riteau <Pierre.Riteau@irisa.fr>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-01-24 16:41:50 +01:00
2011-01-20 20:54:21 +00:00
2011-01-21 23:12:42 +01:00
2011-01-18 21:34:51 +00:00
2011-01-06 18:25:37 +00:00
2011-01-10 10:55:10 +01:00
2011-01-20 20:58:56 +00:00
2011-01-20 20:54:21 +00:00
2011-01-04 21:58:24 +01:00
2011-01-16 08:32:27 +00:00
2011-01-20 20:54:21 +00:00
2011-01-20 20:54:21 +00:00
2011-01-24 11:08:51 +01:00
2011-01-20 20:54:21 +00:00
2011-01-17 18:22:17 +02:00
2011-01-20 20:54:21 +00:00
2011-01-12 19:48:59 +00:00
2011-01-09 20:59:53 +00:00
2011-01-20 20:54:21 +00:00
2011-01-17 18:22:17 +02:00
2011-01-17 18:22:17 +02:00
2011-01-11 17:15:24 +01:00
2011-01-09 14:43:33 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%