From: Christian Borntraeger Date: Fri, 14 Nov 2008 17:18:02 +0000 (+0100) Subject: [S390] kvm_s390: Fix oops in virtio device detection with "mem=" X-Git-Tag: v2.6.28-rc5~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc835f7872adef35076e4a3b6632ef79bb4805be;p=pandora-kernel.git [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 --- Reading git-diff-tree failed