chroot and change user support (Nolan)
commit0858532ea93e0890bf13556f4ef3dc25d7636233
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 22:09:45 +0000 (27 22:09 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 22:09:45 +0000 (27 22:09 +0000)
treebc6bb83d09f60293d7763f7d8ff608b8900b4036
parent8290edda019cda3e97c5a127c29f17d73aded100
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
qemu-doc.texi
vl.c