Fam Zheng 7e382003f1 block: Round up total_sectors
Since b94a2610, bdrv_getlength() is omitted when probing image. VMDK
monolithicFlat is broken by that because a file < 512 bytes can't be
read with its total_sectors truncated to 0. This patch round up the size
to BDRV_SECTOR_SIZE, when a image size is not sector aligned.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-11-08 10:44:24 +01:00
2013-11-05 08:40:36 -08:00
2013-11-05 19:57:47 -08:00
2013-10-31 16:58:32 +01:00
2013-10-25 23:25:45 +02:00
2013-10-31 16:58:32 +01:00
2013-10-26 13:01:57 +04:00
2013-11-08 10:44:24 +01:00
2013-11-06 21:47:05 -08:00
2013-11-04 15:38:49 +02:00
2013-11-04 15:39:41 +02:00
2013-10-31 16:58:32 +01:00
2013-11-06 21:49:39 -08:00
2013-11-04 15:39:41 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
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%