From: "Richard W.M. Jones" <rjones@redhat.com>
To: Bolle <bolle@geodb.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Starting QEMU by PHP/Apache
Date: Tue, 20 Oct 2009 11:10:12 +0100 [thread overview]
Message-ID: <20091020101012.GA11879@amd.home.annexia.org> (raw)
In-Reply-To: <web-1431679@x41.ch>
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
prev parent reply other threads:[~2009-10-20 10:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 11:26 [Qemu-devel] Starting QEMU by PHP/Apache Bolle
2009-10-13 13:12 ` François Revol
2009-10-14 5:12 ` [Qemu-devel] " Bolle
2009-10-16 4:49 ` [Qemu-devel] Re: [REASON][PATCH-REQUEST] " Bolle
2009-10-20 10:10 ` Richard W.M. Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091020101012.GA11879@amd.home.annexia.org \
--to=rjones@redhat.com \
--cc=bolle@geodb.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).