]> git.proxmox.com Git - mirror_qemu.git/blobdiff - os-posix.c
hw/riscv: spike: Remove misleading comments
[mirror_qemu.git] / os-posix.c
index 321fc4bd13b84e882a60bb8d9a839798b67a5da1..4858650c3e386252d3410baa6fc2a47d6bfed232 100644 (file)
@@ -39,6 +39,7 @@
 
 #ifdef CONFIG_LINUX
 #include <sys/prctl.h>
+#include "qemu/async-teardown.h"
 #endif
 
 /*
@@ -150,6 +151,11 @@ int os_parse_cmd_args(int index, const char *optarg)
     case QEMU_OPTION_daemonize:
         daemonize = 1;
         break;
+#if defined(CONFIG_LINUX)
+    case QEMU_OPTION_asyncteardown:
+        init_async_teardown();
+        break;
+#endif
     default:
         return -1;
     }