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

Daniel P. Berrange berrange at redhat.com
Tue Jan 4 17:22:08 UTC 2011


On Tue, Jan 04, 2011 at 10:16:54AM -0700, Eric Blake wrote:
> 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 :)

With a more accurate commit message now that its not
using lseek64....

Daniel




More information about the libvir-list mailing list