Paolo Bonzini 09170a4942 KVM: const-ify uses of struct kvm_userspace_memory_region
Architecture-specific helpers are not supposed to muck with
struct kvm_userspace_memory_region contents.  Add const to
enforce this.

In order to eliminate the only write in __kvm_set_memory_region,
the cleaning of deleted slots is pulled up from update_memslots
to __kvm_set_memory_region.

Reviewed-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Reviewed-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-05-26 12:40:13 +02:00
..
2015-04-07 18:09:20 +02:00
2015-05-07 11:29:47 +02:00
2015-04-07 18:09:20 +02:00
2015-05-19 20:52:42 +02:00
2015-05-20 12:31:37 +02:00
2015-01-30 09:39:54 +01:00
2015-05-20 12:31:37 +02:00
2015-05-07 11:29:46 +02:00