diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-07-11 01:49:31 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-20 11:42:40 +0200 |
commit | 34d4cb8fca1f2a31be152b74797e6cd160ec9de6 (patch) | |
tree | 1e8f2c3c4feb54763fd0d8b27ef83ba546215069 /arch/s390 | |
parent | KVM: Prefix some x86 low level function with kvm_, to avoid namespace issues (diff) | |
download | linux-34d4cb8fca1f2a31be152b74797e6cd160ec9de6.tar.xz linux-34d4cb8fca1f2a31be152b74797e6cd160ec9de6.zip |
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
Flush the shadow mmu before removing regions to avoid stale entries.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 399acf3f64dd..1782cbcd2829 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -675,6 +675,10 @@ int kvm_arch_set_memory_region(struct kvm *kvm, return 0; } +void kvm_arch_flush_shadow(struct kvm *kvm) +{ +} + gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn) { return gfn; |