]> 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)
commitb2ebc1b88be2c951f7742e45875149c9ff4431ca
tree9efff383798f9b94967d322cbaacbe218f27da08
parent9263c12c79fa4095b181001f4b3ec6ca0a22418d
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