]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Add PAT support for EPT
authorSheng Yang <sheng@linux.intel.com>
Thu, 9 Oct 2008 08:01:55 +0000 (16:01 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:51:44 +0000 (16:51 +0200)
commit468d472f3f65100d5fb88c8d45043c85b874c294
tree6b82d3f738879827a2836aba8c54391e7a743588
parent0bed3b568b68e5835ef5da888a372b9beabf7544
KVM: VMX: Add PAT support for EPT

GUEST_PAT support is a new feature introduced by Intel Core i7 architecture.
With this, cpu would save/load guest and host PAT automatically, for EPT memory
type in guest depends on MSR_IA32_CR_PAT.

Also add save/restore for MSR_IA32_CR_PAT.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/vmx.h
arch/x86/kvm/x86.c