Fix -daemonize option
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 23 Jul 2008 00:58:33 +0000 (00:58 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 23 Jul 2008 00:58:33 +0000 (00:58 +0000)
commitcff305e4f1072cf1009e4b15a25134e5dd6ed4bd
treeac7aee0462d895f7c2b17e435bb9acee4bf6ca20
parentc871f90616577b44e9d23303a541298366f4843a
Fix -daemonize option

When using -daemonize, we want to avoid chdir() until after we've opened the
block devices.  It's also perfectly fine to use -dameonize along with SDL.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4924 c046a42c-6fe2-441c-8c8c-71466251a162
vl.c