summary refs log tree commit diff stats
path: root/hw/xenpv/xen_domainbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xenpv/xen_domainbuild.c')
-rw-r--r--hw/xenpv/xen_domainbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenpv/xen_domainbuild.c b/hw/xenpv/xen_domainbuild.c
index 457a8976c3..c89ced2e88 100644
--- a/hw/xenpv/xen_domainbuild.c
+++ b/hw/xenpv/xen_domainbuild.c
@@ -148,7 +148,7 @@ static void xen_domain_poll(void *opaque)
     return;
 
 quit:
-    qemu_system_shutdown_request();
+    qemu_system_shutdown_request(SHUTDOWN_CAUSE_GUEST_SHUTDOWN);
 }
 
 static int xen_domain_watcher(void)