KVM: s390: Verify memory in kvm run
commit51e4d5ab28c75d819b3840da11559ad5c1429135
authorCarsten Otte <cotte@de.ibm.com>
Tue, 12 May 2009 15:21:53 +0000 (12 17:21 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:57 +0000 (10 11:48 +0300)
treee4d706b1efa810e60354b8e8d6dc10179df4bbba
parent3edbcff9bfe2ed632e518b3cfe807d062cee8269
KVM: s390: Verify memory in kvm run

This check verifies that the guest we're trying to run in KVM_RUN
has some memory assigned to it. It enters an endless exception
loop if this is not the case.

Reported-by: Mijo Safradin <mijo@linux.vnet.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c