On Tue, Oct 13, 2009 at 01:26:25PM +0200, Bolle wrote: > Did anybody had success to start a QEMU instance by a PHP script under > the Apache web server ? > > I allow the Apache user with the help of sudoers to start the QEMU binary > as root. I've hacked the "qemu-socket.c" to set the access mode to allow > communication for the monitor socket (only add "chmod(path, <needed file > mode bits>)").
I don't understand why you want to start qemu as root. It doesn't need to be root (even for KVM support) and we run it as non-root all the time in http://libguestfs.org/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora