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 <rjo...@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#)

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to