summary refs log tree commit diff stats
path: root/include/sysemu/os-posix.h
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-09-01 13:12:57 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-01 23:46:20 +0200
commit5b15639003a267b8254ae597a0b8bfefe36ced7b (patch)
tree9102d2501b46bff87e6dd52d4bc44bdbd6a4cb4f /include/sysemu/os-posix.h
parent22d0251570d505681d7bba6a00bcae08f962189d (diff)
downloadfocaccia-qemu-5b15639003a267b8254ae597a0b8bfefe36ced7b.tar.gz
focaccia-qemu-5b15639003a267b8254ae597a0b8bfefe36ced7b.zip
os-posix.c: create and export os_set_chroot()
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230901101302.3618955-4-mjt@tls.msk.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/os-posix.h')
-rw-r--r--include/sysemu/os-posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h
index d32630f9e7..8a66763395 100644
--- a/include/sysemu/os-posix.h
+++ b/include/sysemu/os-posix.h
@@ -51,6 +51,7 @@ int os_set_daemonize(bool d);
 bool is_daemonized(void);
 void os_daemonize(void);
 bool os_set_runas(const char *optarg);
+void os_set_chroot(const char *optarg);
 void os_setup_post(void);
 int os_mlock(void);