[libvirt] [PATCH] lxc: fix show the wrong xml when guest start failed

2014-12-21 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1176503 When guest start failed, libvirt will keep the current vm->def, this will make a issue that we cannot get a right xml after guest start failed. Pass the newDef to def will make it work well. Signed-off-by: Luyao Huang --- src/lxc/lxc_process.c

[libvirt] [PATCH RFC] LXC: don't RO mount /proc, /sys when user namespce enabled

2014-12-21 Thread Chen Hanxiao
If we enabled user ns and provided a uid/gid map, we do not need to mount /proc, /sys as readonly. Leave it to kernel for protection. Signed-off-by: Chen Hanxiao --- src/lxc/lxc_container.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.

Re: [libvirt] [PATCH V3 1/5] Add public API virDomainSendSysrq

2014-12-21 Thread Chun Yan Liu
>>> On 12/21/2014 at 10:34 PM, in message <5496da81.40...@redhat.com>, Peter >>> Krempa wrote: > On 12/19/14 13:03, John Ferlan wrote: > > > > > > On 12/19/2014 12:31 AM, Chun Yan Liu wrote: > >> > >> > > On 12/18/2014 at 01:00 PM, in message > >> <5492d008026600086...@soto.pr

Re: [libvirt] [PATCH V3 1/5] Add public API virDomainSendSysrq

2014-12-21 Thread Chun Yan Liu
>>> On 12/19/2014 at 08:03 PM, in message <54941429.8000...@redhat.com>, John Ferlan wrote: > > On 12/19/2014 12:31 AM, Chun Yan Liu wrote: > > > > > On 12/18/2014 at 01:00 PM, in message > > <5492d008026600086...@soto.provo.novell.com>, "Chun Yan Liu" > > wrote: > > > >> >

Re: [libvirt] [PATCH v2] test: fix nwfilter tests following changes in virfirewall.c

2014-12-21 Thread Stefan Berger
On 11/26/2014 11:53 AM, Eric Blake wrote: On 11/26/2014 09:26 AM, Stefan Berger wrote: Some of the nwfilter tests are now failing since --concurrent shows up in the ebtables command. To avoid this, implement a function preventing the probing for lock support in the eb/iptables tools and use it i

Re: [libvirt] [PATCH V3 1/5] Add public API virDomainSendSysrq

2014-12-21 Thread Peter Krempa
On 12/19/14 13:03, John Ferlan wrote: > > > On 12/19/2014 12:31 AM, Chun Yan Liu wrote: >> >> > On 12/18/2014 at 01:00 PM, in message >> <5492d008026600086...@soto.provo.novell.com>, "Chun Yan Liu" >> wrote: >> >>> >> On 12/17/2014 at 06:52 PM, in message >> <20141217105227.gq136

Re: [libvirt] [PATCH v2 2/2] qemu: completely rework reference counting

2014-12-21 Thread Martin Kletzander
On Tue, Dec 16, 2014 at 04:51:59PM +0100, Martin Kletzander wrote: ..., but I'll wait with the pushing so others have a chance to react. There's no reaction for a while now and since I'd like to push this in the early stage of a release cycle, I'm pushing it now. This touches almost all APIs