KVM: ia64: Flush all TLBs once guest's memory mapping changes.
authorXiantao Zhang <xiantao.zhang@intel.com>
Thu, 16 Apr 2009 09:59:16 +0000 (17:59 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:43 +0000 (11:48 +0300)
Flush all vcpu's TLB entries once changes guest's memory mapping.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c

index f127fb7..9addca6 100644 (file)
@@ -1631,6 +1631,7 @@ int kvm_arch_set_memory_region(struct kvm *kvm,
 
 void kvm_arch_flush_shadow(struct kvm *kvm)
 {
+       kvm_flush_remote_tlbs(kvm);
 }
 
 long kvm_arch_dev_ioctl(struct file *filp,