diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-11-14 18:18:02 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-11-14 18:18:52 +0100 |
commit | cc835f7872adef35076e4a3b6632ef79bb4805be (patch) | |
tree | 6b416046f989877926db0457cfc80e9805fc5c7e /arch | |
parent | [S390] sclp: emit error message if assign storage fails (diff) | |
download | linux-cc835f7872adef35076e4a3b6632ef79bb4805be.tar.xz linux-cc835f7872adef35076e4a3b6632ef79bb4805be.zip |
[S390] kvm_s390: Fix oops in virtio device detection with "mem="
The current virtio model on s390 has the descriptor page above the main
memory. The guest virtio detection will oops if the mem= parameter is
used to reduce/change the memory size.
We have to use real_memory_size instead of max_pfn to detect the virtio
descriptor pages.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions