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

2015-01-06 Thread lhuang
On 01/06/2015 11:14 PM, Laine Stump wrote: On 01/06/2015 09:31 AM, Luyao Huang wrote: On 01/06/2015 10:11 PM, Michal Privoznik wrote: On 22.12.2014 08:21, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1176503 When guest start failed, libvirt will keep the current vm->def, th

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

2015-01-06 Thread Laine Stump
On 01/06/2015 09:31 AM, Luyao Huang wrote: > > On 01/06/2015 10:11 PM, Michal Privoznik wrote: >> On 22.12.2014 08:21, Luyao Huang wrote: >>> 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 w

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

2015-01-06 Thread Luyao Huang
On 01/06/2015 10:11 PM, Michal Privoznik wrote: On 22.12.2014 08:21, Luyao Huang wrote: 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 n

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

2015-01-06 Thread Michal Privoznik
On 22.12.2014 08:21, Luyao Huang wrote: 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-b

[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