[libvirt] [PATCH] conf: fix virDomainLeaseIndex cannot work when both parameter have lockspaces present

2014-12-14 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1174096 When both parameter have lockspaces present, virDomainLeaseIndex will always -1 even there is a lease the same with the one we check. I think we shouldn't do 'continue' when the two lockspaces are the same. Signed-off-by: Luyao Huang --- src/c

Re: [libvirt] [PATCH V2 2/5] implement remote protocol for domainSendSysrq

2014-12-14 Thread Chun Yan Liu
>>> On 12/12/2014 at 09:38 PM, in message <20141212133825.gj32...@redhat.com>, "Daniel P. Berrange" wrote: > On Fri, Dec 12, 2014 at 01:24:57PM +0100, Peter Krempa wrote: > > On 12/12/14 12:49, John Ferlan wrote: > > > > > > > > > On 12/12/2014 04:04 AM, Chunyan Liu wrote: > > >> Signed-

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

2014-12-14 Thread Chun Yan Liu
>>> On 12/12/2014 at 05:35 PM, in message <20141212093545.gd136...@orkuz.home>, Jiri Denemark wrote: > On Fri, Dec 12, 2014 at 10:18:36 +0100, Peter Krempa wrote: > > On 12/12/14 10:04, Chunyan Liu wrote: > > > Add public API virDomainSendSysrq for sending SysRequest key. > > > > > > Signe

Re: [libvirt] [PATCH V2 2/5] implement remote protocol for domainSendSysrq

2014-12-14 Thread Chun Yan Liu
>>> On 12/12/2014 at 05:20 PM, in message <548ab36e.30...@redhat.com>, Peter >>> Krempa wrote: > On 12/12/14 10:04, Chunyan Liu wrote: > > Signed-off-by: Chunyan Liu > > --- > > src/remote/remote_driver.c | 2 +- > > src/remote/remote_protocol.x | 13 - > > 2 files change

[libvirt] [PATCH] conf: fix crash when match a network iscsi hostdev with a host iscsi hostdev

2014-12-14 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1174053 When we use attach-device to coldplug a network iscsi hostdev, libvirt will check if there is already a device in XML. But if the 'b' is a host iscsi hostdev and 'a' is a network iscsi hostdev , libvirtd will crash in virDomainHostdevMatchSubsysS

Re: [libvirt] [RFC] The Quest for Domain-IP Mapping Continues...

2014-12-14 Thread Nehal J Wani
On Fri, Dec 5, 2014 at 4:33 PM, Daniel P. Berrange wrote: > On Fri, Dec 05, 2014 at 04:28:10PM +0530, Nehal J Wani wrote: >> On Fri, Dec 5, 2014 at 3:33 PM, Daniel P. Berrange >> wrote: >> > On Fri, Dec 05, 2014 at 12:20:03AM +0530, Nehal J Wani wrote: >> >> If you remember correctly, about 1.2

[libvirt] [PATCH] xenconfig: fix boot device parsing

2014-12-14 Thread Wei Liu
The original code always checked *boot which was in effect boot[0]. It should use boot[i]. Signed-off-by: Wei Liu --- src/xenconfig/xen_common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 7f4ec89..48431a7 1

Re: [libvirt] libseccomp and KVM

2014-12-14 Thread Stefan Berger
On 12/12/2014 12:13 PM, Raymond Durand wrote: Thanks. 2014-12-12 17:06 GMT+01:00 Stefan Berger >: On 12/12/2014 10:32 AM, Daniel P. Berrange wrote: On Fri, Dec 12, 2014 at 04:24:55PM +0100, Raymond Durand wrote: Thanks.