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

2012-12-24 Thread hongming
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() method in the PATCH V2 --- repos/managedsav

Re: [libvirt] [PATCH 2/2] qemu: Convert some APIs to use qemuDomObjFromDomain

2012-12-24 Thread Michal Privoznik
On 13.12.2012 14:23, Peter Krempa wrote: > On 12/13/12 12:40, Michal Privoznik wrote: >> Many internal qemu APIs must find domain object from passed >> virDomainPtr. And with function Peter's introduced, we can use it >> instead of copying multiple lines among code. >> --- >> src/qemu/qemu_driver

Re: [libvirt] [Users] Vdsm/libvir error during deploy

2012-12-24 Thread Joop
Sorry I forgot to edit the libvirt version, this is what is installed now and atleast works on on host, going to test the next host and then add a gluster cluster. libvirt-0.10.1-2.fc17.x86_64 libvirt-client-0.10.1-2.fc17.x86_64 libvirt-daemon-0.10.1-2.fc17.x86_64 libvirt-daemon-config-network-

Re: [libvirt] [Users] Vdsm/libvir error during deploy

2012-12-24 Thread Joop
Dan Kenigsberg wrote: On Mon, Dec 24, 2012 at 02:18:48PM +0100, Joop wrote: Dan Kenigsberg wrote: Which version of libvirt is installed on your host? libvirt-1.0.1-2.fc17.x86_64 libvirt-client-1.0.1-2.fc17.x86_64 libvirt-daemon-1.0.1-2.fc17.x86_64 libvirt-daemon-config-network-

Re: [libvirt] [Users] Vdsm/libvir error during deploy

2012-12-24 Thread Dan Kenigsberg
On Mon, Dec 24, 2012 at 02:18:48PM +0100, Joop wrote: > Dan Kenigsberg wrote: > >Which version of libvirt is installed on your host? > > > libvirt-1.0.1-2.fc17.x86_64 > libvirt-client-1.0.1-2.fc17.x86_64 > libvirt-daemon-1.0.1-2.fc17.x86_64 > libvirt-daemon-config-network-1.0.1-2.fc17.x86_64 > libv

Re: [libvirt] libvirt will wait 20 minutes or hang when the network interface down

2012-12-24 Thread Benjamin Wang (gendwang)
Hi Michal, In most cases the thread will wait about 20 minutes. I think that 20 minutes is not acceptable when a router which connects a lot of devices is down. Most important, some thread could hang. I am not sure whether this is a curl bug. But they propose to use these two options to fix thi

Re: [libvirt] libvirt will wait 20 minutes or hang when the network interface down

2012-12-24 Thread Michal Privoznik
On 22.12.2012 09:59, Benjamin Wang (gendwang) wrote: > Hi, > > I find that when the network interface is down. In most scenarios, the > libvirt will wait 20 minutes and report the exception. In seldom > scenarios, the polling > > thread will hang even if the network is recovered. > > The follo