[libvirt] [PATCH v2] qemu driver: use lseek64 for setting position in logfile

Eric Blake eblake at redhat.com
Tue Jan 4 17:16:54 UTC 2011


On 01/04/2011 09:43 AM, Stefan Berger wrote:
> V2:
>   - removed replacements of lseek() to lseek64() from patch
> 
> While doing some testing with Qemu and creating huge logfiles I
> encountered the case where the VM could not start anymore due to the
> lseek() to the end of the Qemu VM's log file failing. The patch below
> fixes the problem by replacing the previously used 'int' with 'off_t'.

ACK; please push :)

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110104/69bc10d8/attachment-0001.sig>


More information about the libvir-list mailing list