qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Qemu and mmap_min_addr


From: Jussi Hakala
Subject: Re: [Qemu-devel] Qemu and mmap_min_addr
Date: Fri, 02 May 2008 12:59:43 +0300
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)

Celebrated too early.

My initial tests without the patch gave permission denied, and with the patch an error as expected (lenny's qemu not being able to run binaries generated by the cs2008q1 compiler).

Added some patches from [1], and tried running the hello world application again but with the GUEST_BASE being different from 0, the qemu seems just to hang when trying to mmap. CPU load is ~ 1.0 but nothing happens after mmap2() call [2].

Without the GUEST_BASE modification (and with a reasonably low mmap_min_addr), the binaries run just fine.

Regards,

  Jussi

[1]
http://qemu-arm-eabi.wiki.sourceforge.net/

[2]
mmap2(0x91000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x91000

Jussi Hakala wrote:
Paul Brook wrote:
You have to use a nonzero GUEST_BASE to offset the guest VM. However this hasn't been tested in a while, and has probably bitrotted.

For preliminary testing, setting GUEST_BASE to 65536 seemed to work. I'll investigate further and report back to you :)





reply via email to

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