]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/xen/xen-hvm.c
shutdown: Add source information to SHUTDOWN and RESET
[mirror_qemu.git] / hw / i386 / xen / xen-hvm.c
index 222d89a3b9e9dd82254317dc870b15f4d69f7b5c..919f09b694a747c699a380249534454db5e7f8ee 100644 (file)
@@ -1398,7 +1398,7 @@ void xen_shutdown_fatal_error(const char *fmt, ...)
     va_end(ap);
     fprintf(stderr, "Will destroy the domain.\n");
     /* destroy the domain */
-    qemu_system_shutdown_request();
+    qemu_system_shutdown_request(SHUTDOWN_CAUSE_HOST_ERROR);
 }
 
 void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length)