]> err.no Git - linux-2.6/commit
KVM: SVM: Emulate read/write access to cr8
authorJoerg Roedel <jroedel@lemmy.amd.com>
Thu, 6 Dec 2007 14:46:52 +0000 (15:46 +0100)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:19 +0000 (17:53 +0200)
commit152ff9be2ed11e76ed3014b94eacdd6bc9275518
tree9c5c561bddb17e3195ee51b559184bd6fa636884
parente5314067f6a77688a3d36548e7618430ce4a6236
KVM: SVM: Emulate read/write access to cr8

This patch adds code to emulate the access to the cr8 register to the x86
instruction emulator in kvm.  This is needed on svm, where there is no
hardware decode for control register access.

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/x86.c