<div class="zcontentRow"> <p></p><p><span style="font-size: 12px;">>On 07/22/2017 04:55 AM, Yi Wang wrote:</span></p><p><span style="font-size: 12px;">>> Start a domain whilst undefine it, if starting failed duing ProcessLaunch,</span></p><p><span style="font-size: 12px;">>> on which period qemu exited unexpectedly, the operation will lead to failure</span></p><p><span style="font-size: 12px;">>> of undefine the domain until libvirtd restarted. The reason is that libvirtd</span></p><p><span style="font-size: 12px;">>> will unlock vm during qemuProcessStart, qemuDomainUndefineFlags can get the</span></p><p><span style="font-size: 12px;">>> lock and set vm->persistent 0 but not remove the "active" domain.</span></p><p><span style="font-size: 12px;">>> </span></p><p><span style="font-size: 12px;">>> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn></span></p><p><span style="font-size: 12px;">>> ---</span></p><p><span style="font-size: 12px;">>>  src/conf/domain_conf.h  | 1 +</span></p><p><span style="font-size: 12px;">>>  src/qemu/qemu_driver.c  | 6 ++++++</span></p><p><span style="font-size: 12px;">>>  src/qemu/qemu_process.c | 3 +++</span></p><p><span style="font-size: 12px;">>>  3 files changed, 10 insertions(+)</span></p><p><span style="font-size: 12px;">>> </span></p><p><span style="font-size: 12px;">></span></p><p><span style="font-size: 12px;">>Can you apply a couple of recent patches, see:</span></p><p><span style="font-size: 12px;">></span></p><p><span style="font-size: 12px;">>https://www.redhat.com/archives/libvir-list/2017-August/msg00389.html</span></p><p><span style="font-size: 12px;">></span></p><p><span style="font-size: 12px;">>and see if those would resolve what you're seeing... without these</span></p><p><span style="font-size: 12px;">>changes of course...</span></p><p><br></p><p><span style="font-size: 12px;">Yeah, It works. Thanks for the patch, which is the correct solution for my problem.</span></p><div class="zMailSign"><div><div><p><span style="font-size: 12px;">---</span></p><p><span style="font-size: 12px;">Best wishes</span></p><p><span style="font-size: 12px;">Yi Wang</span></p></div></div></div><p><br></p></div>