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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 02/03/2015 11:01 PM, John Ferlan wrote:

On 01/12/2015 09:33 AM, 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. And don't call the stop/release hook to do some
other clean work.

Call virLXCProcessCleanup to help us clean the source and call
the hooks if start a vm failed.

Signed-off-by: Luyao Huang <lhuang@xxxxxxxxxx>
---
v2: use virLXCProcessCleanup to free the source and call the hook.

  src/lxc/lxc_process.c | 69 ++++++++++++++++++++++-----------------------------
  1 file changed, 29 insertions(+), 40 deletions(-)

There's been some changes to virLXCProcessStart since this was written -
a revisit/rework is in order.

Yes, thanks a lot for your remind :)
John
Luyao

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]