lguest: don't allow KVM-detection cpuid.
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)
commit89cfc99177c9270c5c6d429f6c5177ab3428ad57
treef8336b3a477325305746cc425181d5d12361d7f7
parentb56e3215d4331bff9b6d5e5f68bc1ec5cb01e650
lguest: don't allow KVM-detection cpuid.

Host might be running under KVM, but we shouldn't allow Guest to think it
can use KVM hypercalls (it can't, and it will embarrass itself if it tries).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c