[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1776920] Re: qemu-img convert on Mac OSX creates corru
[Qemu-devel] [Bug 1776920] Re: qemu-img convert on Mac OSX creates corrupt images
Fri, 07 Sep 2018 18:04:14 -0000
I have done some experiments and find out that
the behavior of lseek with whence set to SEEK_DATA is different from the
behavior of Linux's lseek.
If the supplied offset is in the middle of a data region, it returns the
start of the next data region. There may be many data regions in a big
file even though it has no hole.
return value of lseek with whence set to SEEK_DATA:
** Patch added: "macOS-lseek.patch"
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
qemu-img convert on Mac OSX creates corrupt images
Status in QEMU:
An image created by qemu-img create, then modified by another program
is converted to bad/corrupt image when using convert sub command on
Mac OSX. The same convert works on Linux. The version of qemu-img is
To manage notifications about this bug go to:
- [Qemu-devel] [Bug 1776920] Re: qemu-img convert on Mac OSX creates corrupt images,
Yan-Jie Wang <=