]> git.proxmox.com Git - mirror_qemu.git/commit - block/raw-win32.c
raw-win32.c: Fix incorrect handling behaviour of small block files
authorTal Kain <tal.kain@ravellosystems.com>
Mon, 9 Sep 2013 09:14:55 +0000 (11:14 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Sep 2013 08:12:46 +0000 (10:12 +0200)
commit56e023af805215260c71d44f5b5a98087f4920d2
treedc23c2e610947a0185751184d8212e849b333a64
parent1ebf561c11302f4fbe4afdd82758fe053cf1d5fc
raw-win32.c: Fix incorrect handling behaviour of small block files

It is a valid case that the read data's size is smaller than the
requested size since there could be files that are smaller than
the minimum block size (For ex. when a VMDK disk descriptor file)

Signed-off-by: Tal Kain <tal.kain@ravellosystems.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-win32.c