KVM: add support for change_pte mmu notifiers
authorIzik Eidus <ieidus@redhat.com>
Wed, 23 Sep 2009 18:47:18 +0000 (21:47 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Oct 2009 15:04:53 +0000 (17:04 +0200)
commit3da0dd433dc399a8c0124d0614d82a09b6a49bce
tree233d2dc2915d996f8ba97321ea8bfe36fbd700f4
parent1403283acca398e244ece35741ad251c1feb5972
KVM: add support for change_pte mmu notifiers

this is needed for kvm if it want ksm to directly map pages into its
shadow page tables.

[marcelo: cast pfn assignment to u64]

Signed-off-by: Izik Eidus <ieidus@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
virt/kvm/kvm_main.c