• R
    lguest: the guest code · 07ad157f
    Rusty Russell 提交于
    lguest is a simple hypervisor for Linux on Linux.  Unlike kvm it doesn't need
    VT/SVM hardware.  Unlike Xen it's simply "modprobe and go".  Unlike both, it's
    5000 lines and self-contained.
    
    Performance is ok, but not great (-30% on kernel compile).  But given its
    hackability, I expect this to improve, along with the paravirt_ops code which
    it supplies a complete example for.  There's also a 64-bit version being
    worked on and other craziness.
    
    But most of all, lguest is awesome fun!  Too much of the kernel is a big ball
    of hair.  lguest is simple enough to dive into and hack, plus has some warts
    which scream "fork me!".
    
    This patch:
    
    This is the code and headers required to make an i386 kernel an lguest guest.
    Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
    Cc: Andi Kleen <ak@suse.de>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    07ad157f
lguest.c 14.0 KB