lguest: Allow running under paravirt-enabled KVM.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 27 Oct 2011 00:26:17 +0000 (10:56 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 27 Oct 2011 00:26:17 +0000 (10:56 +1030)
commitb56e3215d4331bff9b6d5e5f68bc1ec5cb01e650
treebbc5fefc680d81f6a5a1c491e832144c02cd3731
parent138c4ae9cfda8fdcf9e137457853b09ef8cf8f77
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