commit | 7ff76d58a9dc03a38b86d283abcaae2ac3c74fe3 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@amd.com> | Tue Dec 21 11:12:04 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:31:03 2011 +0200 |
tree | f45fdc961458c760f4d8a64f4f5e9269ce82bc38 | |
parent | ddce97aac5405e0b2b8b2191cb65b5a48eb14145 [diff] |
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>