From: "Richard W.M. Jones" <rjones@redhat.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Using UML in libguestfs
Date: Sun, 11 Aug 2013 20:27:13 +0100 [thread overview]
Message-ID: <20130811192713.GT5918@redhat.com> (raw)
In-Reply-To: <CAMuHMdX-ouj_9N1Kd6AGf_rziQ-ddZhzLaaijOvmxwxEjBoggg@mail.gmail.com>
On Sun, Aug 11, 2013 at 09:05:08PM +0200, Geert Uytterhoeven wrote:
> On Fri, Aug 9, 2013 at 10:43 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> > * UML is pretty fast! It's certainly faster (by a factor of > 5) than
> > spinning up a lightweight KVM VM.
> This is interesting. Typically people say you have to use KVM or XEN
> for good virtualization performance. But for that you need
> sufficient privileges.
I think this is true of Xen, but to be fair to KVM it doesn't require
special privileges, with one exception. If you want KVM to use a tunX
network interface then you have to start it as root (or use a setuid
helper). I think this is probably true of UML too although I've not
explored UML's networking yet. Basically it's a restriction in Linux
itself.
> With UML, all you need is to be able to compile and run your own
> executables.
With libguestfs we specifically don't want people to use root, so UML
not requiring root was one reason why it's possible to write a
UML-based libguestfs backend.
I now have a UML backend for libguestfs working, with a significant
part of the testsuite passing too.
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#)
next prev parent reply other threads:[~2013-08-11 19:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 20:43 [uml-devel] Using UML in libguestfs Richard W.M. Jones
2013-08-09 20:57 ` richard -rw- weinberger
2013-08-09 21:31 ` Richard W.M. Jones
2013-08-10 4:16 ` Mattia Dongili
2013-08-09 21:15 ` Richard W.M. Jones
2013-08-09 21:18 ` Richard Weinberger
2013-08-09 21:24 ` Richard W.M. Jones
2013-08-11 19:05 ` Geert Uytterhoeven
2013-08-11 19:27 ` Richard W.M. Jones [this message]
2013-08-13 11:16 ` Geert Uytterhoeven
2013-08-14 17:59 ` [uml-devel] Performance tests (was: Using UML in libguestfs) Richard W.M. Jones
2013-08-15 17:37 ` richard -rw- weinberger
2013-08-15 17:59 ` Richard W.M. Jones
2013-08-15 18:41 ` richard -rw- weinberger
2013-08-15 18:59 ` Richard W.M. Jones
2013-08-15 20:31 ` richard -rw- weinberger
2013-08-16 7:54 ` Richard W.M. Jones
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=20130811192713.GT5918@redhat.com \
--to=rjones@redhat.com \
--cc=geert@linux-m68k.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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