KVM: MMU: Make set_cr3 a function pointer in kvm_mmu
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:40 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:29 +0000 (10:52 +0200)
commitf43addd46168110d572dcf69100cb215a4e9fd08
treeb17a5d13f1d765cc6ec7f53ffbf29a22033f45e3
parentc5a78f2b649ae75ae788e7622ca5a586af2cb35a
KVM: MMU: Make set_cr3 a function pointer in kvm_mmu

This is necessary to implement Nested Nested Paging. As a
side effect this allows some cleanups in the SVM nested
paging 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