KVM: SVM: Exit to userspace if write to cr8 and not using in-kernel apic
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 6 Dec 2007 20:02:25 +0000 (21:02 +0100)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:21 +0000 (17:53 +0200)
commit1d075434149c38d457c30d1f11d9c39210b0bb79
treebb824281fe4c5b07877adbaa4793b8b4038b37d0
parente833240f3c1b0b415efb14eaa102718769d5f063
KVM: SVM: Exit to userspace if write to cr8 and not using in-kernel apic

With this patch KVM on SVM will exit to userspace if the guest writes to CR8
and the in-kernel APIC is disabled.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c