KVM: SVM: Allow read access to MSR_VM_VR
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 25 Nov 2008 19:17:09 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:47 +0000 (11:02 +0200)
commiteb6f302edff9da963e687bf6c15dcf88843b1c3b
tree82cee93464f4b2afd960f1748e05be46356ea642
parentcf74a78b229d07f77416d2fe1f029f183a8a31df
KVM: SVM: Allow read access to MSR_VM_VR

KVM tries to read the VM_CR MSR to find out if SVM was disabled by
the BIOS. So implement read support for this MSR to make nested
SVM running.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c