]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: enhance MOV CR intercept handler
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Dec 2010 10:12:04 +0000 (11:12 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:03 +0000 (11:31 +0200)
commit80892e5dd796b437683086dfd8098272ae1c306e
treef45fdc961458c760f4d8a64f4f5e9269ce82bc38
parentf96b2d327309e968ed52efaae650de3bb8832171
KVM: SVM: enhance MOV CR intercept handler

Newer SVM implementations provide the GPR number in the VMCB, so
that the emulation path is no longer necesarry to handle CR
register access intercepts. Implement the handling in svm.c and
use it when the info is provided.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/svm.h
arch/x86/kvm/svm.c