diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-14 17:02:16 +0100 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2012-12-18 13:36:38 +0100 |
commit | 55c171a6d90dc0574021f9c836127cfd1a7d2e30 (patch) | |
tree | b13fae2636784f86aecf148beeb353bc21ac2531 /kernel/cgroup.c | |
parent | kvm: fix i8254 counter 0 wraparound (diff) | |
download | linux-55c171a6d90dc0574021f9c836127cfd1a7d2e30.tar.xz linux-55c171a6d90dc0574021f9c836127cfd1a7d2e30.zip |
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>
Diffstat (limited to 'kernel/cgroup.c')
0 files changed, 0 insertions, 0 deletions