summaryrefslogtreecommitdiff
path: root/block
AgeCommit message (Collapse)AuthorFilesLines
2011-09-08HVM-641 fix regression introduced between qemu 0.12.5 and 0.13.0 which broke ↵Josh Wilsdon1-0/+10
qemu-img for vmdk4 images. In versions previous to 0.13.0 this code used lseek to seek to offset and read instead of pread. The lseek only happened when offset was >=0 with the change to pread the logic for checking whether offset was negative was lost which broke vmdk4 support. This offset check here will have the same result as the old (working) code. The upstream qemu commit that broke this functionality was: commit 4899d10d142e97eea8f64141a3507b2ee1a64f52 Author: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Date: Mon Apr 19 13:34:11 2010 +0100 and the code has been confirmed to still be broken in qemu 0.15.0rc0
2011-06-24Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvmRobert Mustacchi34-0/+21529