diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-14 17:02:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-28 06:32:24 -0800 |
commit | 25adbf9cfa6ea467b681a11219d29c7ff41637c7 (patch) | |
tree | 0cd58d1042b4abe9787eed7f06fb049169e14465 /arch/s390/mm | |
parent | 8e78002093815336a22ba3e723c1d9d15000d9b5 (diff) | |
download | kernel_samsung_aries-25adbf9cfa6ea467b681a11219d29c7ff41637c7.zip kernel_samsung_aries-25adbf9cfa6ea467b681a11219d29c7ff41637c7.tar.gz kernel_samsung_aries-25adbf9cfa6ea467b681a11219d29c7ff41637c7.tar.bz2 |
KVM: s390: Handle hosts not supporting s390-virtio.
commit 55c171a6d90dc0574021f9c836127cfd1a7d2e30 upstream.
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>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions