android_kernel_motorola_sm6225/drivers/s390/kvm
Cornelia Huck 55c171a6d9 KVM: s390: Handle hosts not supporting s390-virtio.
Running under a kvm host does not necessarily imply the presence of
a page mapped above the main memory with the virtio information;
however, the code includes a hard coded access to that page.

Instead, check for the presence of the page and exit gracefully
before we hit an addressing exception if it does not exist.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
cc: stable@vger.kernel.org
Signed-off-by: Gleb Natapov <gleb@redhat.com>
2012-12-18 14:36:38 +02:00
..
kvm_virtio.c KVM: s390: Handle hosts not supporting s390-virtio. 2012-12-18 14:36:38 +02:00
Makefile KVM: s390: Fix guest kconfig 2008-07-27 11:35:47 +03:00