]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Remove the sanity checks for kvm memory slot
authorNick Wang <jfwang@us.ibm.com>
Mon, 25 Mar 2013 16:22:57 +0000 (17:22 +0100)
committerGleb Natapov <gleb@redhat.com>
Tue, 2 Apr 2013 13:14:51 +0000 (16:14 +0300)
commitda370a83de1ea61bccbe6228fd52758fd2888249
tree9efff383798f9b94967d322cbaacbe218f27da08
parent8ac6a61f0e1a1f2c9dbf44e6e56f84196327313b
KVM: s390: Remove the sanity checks for kvm memory slot

To model the standby memory with memory_region_add_subregion
and friends, the guest would have one or more regions of ram.
Remove the check allowing only one memory slot and the check
requiring the real address of memory slot starts at zero.

Signed-off-by: Nick Wang <jfwang@us.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/s390/kvm/kvm-s390.c