[libvirt] [PATCH]lxc: fix an improper comment in lxc_process

2013-10-13 Thread Chen Hanxiao
From: Chen Hanxiao Fix an improper comment when libvirt has released all resources for lxc. Then original comment says "stopped" rather than "released". Signed-off-by: Chen Hanxiao --- src/lxc/lxc_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc_process

Re: [libvirt] [PATCH 2/3] Improve error reporting with LXC controller

2013-10-13 Thread Michal Privoznik
On 11.10.2013 18:53, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > The LXC code would read the log file if an LXC guest failed to > startup. There were a number of failure cases where the guest > will not start and libvirtd never gets as far as looking at the > log file. > > Fix thi

Re: [libvirt] [PATCH 2/3] Improve error reporting with LXC controller

2013-10-13 Thread Chen Hanxiao
This would be far more convenient than checking logs. Reviewed-by: Chen Hanxiao > -Original Message- > From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com] > On Behalf Of Daniel P. Berrange > Sent: Saturday, October 12, 2013 12:54 AM > To: libvir-list@redhat.com >

Re: [libvirt] [PATCH 1/3] Fix exit status of lxc controller

2013-10-13 Thread Chen Hanxiao
Reviewed-by: Chen Hanxiao > -Original Message- > From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com] > On Behalf Of Daniel P. Berrange > Sent: Saturday, October 12, 2013 12:54 AM > To: libvir-list@redhat.com > Subject: [libvirt] [PATCH 1/3] Fix exit status of lxc

[libvirt] [PATCHv2] rpc: Retrieve peer PID via new getsockopt() for Mac

2013-10-13 Thread Doug Goldstein
While LOCAL_PEERCRED on the BSDs does not return the pid information of the peer, Mac OS X 10.8 added LOCAL_PEERPID to retrieve the pid so we should use that when its available to get that information. --- v2: * Make LOCAL_PEERPID call non-fatal in case the user built the binary on a system that

[libvirt] Migration issue php-libvirt

2013-10-13 Thread Umar Draz
Hi All I am trying to migrate offline domain on other URI but its not working due to this error Failure!Libvirt last error: Requested operation is not valid: domain is not running I tried to use this option but not working VIR_MIGRATE_OFFLINE Please anybody help me? Br. Umar -- libvir-list

[libvirt] PATCH: better error checking for LOCAL_PEERCRED

2013-10-13 Thread Brian Candler
I was debugging libvirt with OSX today, and got as far as finding the problem with LOCAL_PEERCRED, then googled this only to find that Ryota Ozaki had fixed the problems a few days ago! However you still may find the following patch useful. It tightens up the checking in the LOCAL_PEERCRED blo