]> git.proxmox.com Git - mirror_qemu.git/blobdiff - os-posix.c
os-posix: Add os_set_daemonize()
[mirror_qemu.git] / os-posix.c
index ae6c9f2a5e983772745067ea9db74ac44b93f9ac..24692c8593f31e5c650a85837b6dd0073cee5862 100644 (file)
@@ -317,6 +317,12 @@ bool is_daemonized(void)
     return daemonize;
 }
 
+int os_set_daemonize(bool d)
+{
+    daemonize = d;
+    return 0;
+}
+
 int os_mlock(void)
 {
 #ifdef HAVE_MLOCKALL