]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - vl.c
Improve vm_stop reason declarations
[thirdparty/qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index c9fa2661572c555cd93432d2d67a4c6a93393305..6d2d1d344f252b53b6da92f50e280f36b6dd3c1f 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -1433,7 +1433,7 @@ static void main_loop(void)
         if (qemu_shutdown_requested()) {
             monitor_protocol_event(QEVENT_SHUTDOWN, NULL);
             if (no_shutdown) {
-                vm_stop(0);
+                vm_stop(VMSTOP_SHUTDOWN);
                 no_shutdown = 0;
             } else
                 break;