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)
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>

No differences found