]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: X86: Introduce a tdp_set_cr3 function
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:41 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:30 +0000 (10:52 +0200)
commit1c97f0a04c74196880f22a563134c8f6d0b9d752
tree060da15688879d0a50c4854f40980ac915f39663
parentf43addd46168110d572dcf69100cb215a4e9fd08
KVM: X86: Introduce a tdp_set_cr3 function

This patch introduces a special set_tdp_cr3 function pointer
in kvm_x86_ops which is only used for tpd enabled mmu
contexts. This allows to remove some hacks from svm code.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c