Re: [libvirt] [test-API][PATCH V2] managedsave: change the checking method about bypass cache

2012-12-30 Thread Guannan Ren
On 12/25/2012 12:04 PM, hongming wrote: Check whether the O_DIRECT flag is in use on the managed save file during the duration of the managed save, since that is the real effect of the current implementation of the --bypass-cache flag. Add break condition into the while loop of get_fileflags() me

Re: [libvirt] [PATCH] qemu: Adapt to new log format

2012-12-30 Thread Michal Privoznik
On 30.12.2012 11:56, Osier Yang wrote: > On 2012年12月30日 18:26, Michal Privoznik wrote: >> On 30.12.2012 10:25, Osier Yang wrote: >>> On 2012年12月29日 17:09, Michal Privoznik wrote: Since 586502189edf9fd0f89a83de96717a2ea826fdb0 qemu commit, the log lines reporting chardev's path has changed

Re: [libvirt] [PATCH] qemu: Adapt to new log format

2012-12-30 Thread Osier Yang
On 2012年12月30日 18:26, Michal Privoznik wrote: On 30.12.2012 10:25, Osier Yang wrote: On 2012年12月29日 17:09, Michal Privoznik wrote: Since 586502189edf9fd0f89a83de96717a2ea826fdb0 qemu commit, the log lines reporting chardev's path has changed from: $ ./x86_64-softmmu/qemu-system-x86_64 -serial

Re: [libvirt] [PATCH] qemu: Adapt to new log format

2012-12-30 Thread Michal Privoznik
On 30.12.2012 10:25, Osier Yang wrote: > On 2012年12月29日 17:09, Michal Privoznik wrote: >> Since 586502189edf9fd0f89a83de96717a2ea826fdb0 qemu commit, the log >> lines reporting chardev's path has changed from: >> >> $ ./x86_64-softmmu/qemu-system-x86_64 -serial pty -serial pty -monitor >> pty >> ch

Re: [libvirt] [PATCH] qemu: Adapt to new log format

2012-12-30 Thread Osier Yang
On 2012年12月29日 17:09, Michal Privoznik wrote: Since 586502189edf9fd0f89a83de96717a2ea826fdb0 qemu commit, the log lines reporting chardev's path has changed from: $ ./x86_64-softmmu/qemu-system-x86_64 -serial pty -serial pty -monitor pty char device redirected to /dev/pts/5 char device redirecte

Re: [libvirt] [PATCH] sanlock: Chown lease files as well

2012-12-30 Thread Michal Privoznik
On 30.12.2012 09:46, Osier Yang wrote: > On 2012年12月28日 23:59, Michal Privoznik wrote: >> Since sanlock doesn't run under root:root, we have chown()'ed the >> __LIBVIRT__DISKS__ lease file to the user:group defined in the >> sanlock config. However, when writing the patch I've forgot about >> lease

Re: [libvirt] [PATCH] sanlock: Chown lease files as well

2012-12-30 Thread Osier Yang
On 2012年12月28日 23:59, Michal Privoznik wrote: Since sanlock doesn't run under root:root, we have chown()'ed the __LIBVIRT__DISKS__ lease file to the user:group defined in the sanlock config. However, when writing the patch I've forgot about lease files for each disk (this is the /var/lib/libvirt/

[libvirt] [ESX:Error] HTTP 403 error for CURL upload operation

2012-12-30 Thread Ata Bohra
Hi Everyone, Merry Christmas and Happy New Year! I'm trying to upload disk to ESX 5.0 server using the URL obtained by the server (during VM installation process); I'm using libcurl support in libvirt to upload the disk, but I get this error on file upload:--* About to conne