Re: [PATCH] qemu: undefine is not allowed during domainstarting up

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

 



>On 07/22/2017 04:55 AM, Yi Wang wrote:

>> Start a domain whilst undefine it, if starting failed duing ProcessLaunch,

>> on which period qemu exited unexpectedly, the operation will lead to failure

>> of undefine the domain until libvirtd restarted. The reason is that libvirtd

>> will unlock vm during qemuProcessStart, qemuDomainUndefineFlags can get the

>> lock and set vm->persistent 0 but not remove the "active" domain.

>> 

>> Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>

>> ---

>>  src/conf/domain_conf.h  | 1 +

>>  src/qemu/qemu_driver.c  | 6 ++++++

>>  src/qemu/qemu_process.c | 3 +++

>>  3 files changed, 10 insertions(+)

>> 

>

>Can you apply a couple of recent patches, see:

>

>https://www.redhat.com/archives/libvir-list/2017-August/msg00389.html

>

>and see if those would resolve what you're seeing... without these

>changes of course...


Yeah, It works. Thanks for the patch, which is the correct solution for my problem.

---

Best wishes

Yi Wang


--
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]
  Powered by Linux