KVM: SVM: Sync g_pat with guest-written PAT value
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 20 Apr 2015 17:25:31 +0000 (19:25 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2015 11:25:27 +0000 (13:25 +0200)
commite098223b789b4a618dacd79e5e0dad4a9d5018d1
tree08c285a964a9eca5e97fdb78860007467e6f555b
parent3c2e7f7de3240216042b61073803b61b9b3cfb22
KVM: SVM: Sync g_pat with guest-written PAT value

When hardware supports the g_pat VMCB field, we can use it for emulating
the PAT configuration that the guest configures by writing to the
corresponding MSR.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Tested-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c