KVM: SVM: forbid guest to execute monitor/mwait
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 21 Mar 2007 18:47:00 +0000 (19:47 +0100)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:26 +0000 (10:52 +0300)
This patch forbids the guest to execute monitor/mwait instructions on
SVM. This is necessary because the guest can execute these instructions
if they are available even if the kvm cpuid doesn't report its
existence.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found