qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PatchV3] s390x: fix memory detection for guests > 64GB


From: Alexander Graf
Subject: Re: [Qemu-devel] [PatchV3] s390x: fix memory detection for guests > 64GB
Date: Tue, 17 May 2011 16:03:30 +0200

On 17.05.2011, at 15:16, Alexander Graf wrote:

> 
> 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?
> 
> address@hidden:/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]
> 
> address@hidden:/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
> 
> address@hidden:/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

Ah, my fault - I had too little swap space :). Now I can even run an emulated 
VM with >64GB of RAM - yay!


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]