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-26 13:23:15 -07:00
2014-09-24 14:07:58 +02:00
2014-09-22 10:11:32 +02:00
2014-12-18 16:05:28 -08:00
2014-11-03 12:12:32 +11:00
2015-04-26 13:23:15 -07:00
2015-04-08 10:46:58 +02:00
2014-07-28 19:29:15 +02:00
2014-07-28 19:29:15 +02:00