On 12.05.2011, at 10:50, Christian Borntraeger wrote:

>> I'd definitely prefer that over the change on vl.c :)
> 
> the s390 memory detection has a 16bit field that specifies the amount of
> increments. This patch adopts the memory size to always fit into that
> scheme. This also fixes virtio detection for these guests, since the 
> descriptor page is located after the main memory.

How did you test the patch?

agraf@s390t27:/home/agraf/git/qemu> ./s390x-softmmu/qemu-system-s390x -snapshot 
-nographic /media/studio/images/SUSE/s390/sles11.raw -kernel /boot/image -m 
3600 -enable-kvm

[works]

agraf@s390t27:/home/agraf/git/qemu> ./s390x-softmmu/qemu-system-s390x -snapshot 
-nographic /media/studio/images/SUSE/s390/sles11.raw -kernel /boot/image -m 
3700 -enable-kvm
qemu_madvise: Invalid argument
Need MADV_DONTFORK in absence of synchronous KVM MMU

agraf@s390t27:/home/agraf/git/qemu> ./s390x-softmmu/qemu-system-s390x -snapshot 
-nographic /media/studio/images/SUSE/s390/sles11.raw -kernel /boot/image -m 
3700 Segmentation fault


Alex


Reply via email to