提交 d716d942 编写于 作者: J Jim Fehlig

libxl: always use libxlVmCleanupJob in shutdown thread

Commit e4a0e900 missed calling libxlVmCleanupJob in the shutdown
handler when processing a reboot event.
Signed-off-by: NJim Fehlig <jfehlig@suse.com>
上级 60f7303c
......@@ -393,7 +393,7 @@ libxlDomainShutdownThread(void *opaque)
break;
case LIBXL_SHUTDOWN_REASON_REBOOT:
libxl_domain_destroy(ctx, vm->def->id, NULL);
libxlVmCleanup(driver, vm, VIR_DOMAIN_SHUTOFF_SHUTDOWN);
libxlVmCleanupJob(driver, vm, VIR_DOMAIN_SHUTOFF_SHUTDOWN);
libxlVmStart(driver, vm, 0, -1);
break;
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册