]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lguest: Allow running under paravirt-enabled KVM.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Nov 2011 00:15:20 +0000 (11:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 00:15:20 +0000 (11:15 +1100)
commitbd5291f5f8b8a9267fc8e93a85251628879da5eb
treefff3a5dafecd369770059bf022cccf160563fc8e
parent2804f82a11b7fe00dc540169f4357b90eae59365
lguest: Allow running under paravirt-enabled KVM.

We actually can run under KVM, as it doesn't paravirtualize anything we
need to use; reduce the check to checking we are the normal ringlevel.

Reported-by: Stefanos Geraggelos <sgerag@cslab.ece.ntua.gr>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au># HG changeset patch
drivers/lguest/core.c