summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-05-17 21:26:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-26 12:40:17 +0200
commit15f46015ee17681b542432df21747f5c51857156 (patch)
treec74582e006912a942928754801143f0144cee7a7 /virt/kvm
parentKVM: const-ify uses of struct kvm_userspace_memory_region (diff)
downloadlinux-15f46015ee17681b542432df21747f5c51857156.tar.xz
linux-15f46015ee17681b542432df21747f5c51857156.zip
KVM: add memslots argument to kvm_arch_memslots_updated
Prepare for the case of multiple address spaces. Reviewed-by: Radim Krcmar <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index fc2dbe1c34fc..4361204a6348 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -751,7 +751,7 @@ static struct kvm_memslots *install_new_memslots(struct kvm *kvm,
*/
slots->generation++;
- kvm_arch_memslots_updated(kvm);
+ kvm_arch_memslots_updated(kvm, slots);
return old_memslots;
}