aboutsummaryrefslogtreecommitdiff
path: root/qemu-doc.texi
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-27 22:09:45 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-27 22:09:45 +0000
commit0858532ea93e0890bf13556f4ef3dc25d7636233 (patch)
treebc6bb83d09f60293d7763f7d8ff608b8900b4036 /qemu-doc.texi
parent8290edda019cda3e97c5a127c29f17d73aded100 (diff)
chroot and change user support (Nolan)
Resent with fixed formatting. This patch adds two new command line options: -chroot <dir> -runas <user> This is useful for running qemu as an unprivileged user in a chroot jail. To avoid having to populate the jail, chrooting happens right before the start of guest execution. Signed-off-by: Nolan Leake <nolan@sigbus.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6652 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-doc.texi')
-rw-r--r--qemu-doc.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 39a3a76ca4..616de48c0c 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -1161,6 +1161,14 @@ character to Control-t.
@item -echr 20
@end table
+@item -chroot dir
+Immediately before starting guest execution, chroot to the specified
+directory. Especially useful in combination with -runas.
+
+@item -runas user
+Immediately before starting guest execution, drop root privileges, switching
+to the specified user.
+
@end table
@c man end