qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH 1/1] linux-user: Probe the guest base for sh


From: Richard Henderson
Subject: Re: [Qemu-devel] [RFC PATCH 1/1] linux-user: Probe the guest base for shared objects when needed
Date: Wed, 27 Jun 2012 10:32:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 06/27/2012 08:51 AM, Meador Inge wrote:
> To solve this issue I experimented with performing a similar probing in 'main'
> as in 'probe_guest_base' so that we can find a reserved VA region that also
> passes validation.  If a region isn't found that can be validated, then QEMU
> gives up.  Does this approach seem reasonable?

I guess so, depending on how you adjust the hint each time.

I do wonder if it wouldn't be better to rearrange things such that
for 64-bit hosts and 32-bit guests we *always* reserve 4G so that
there's zero possibility of the guest stomping on host memory.  That
would also solve your problem.


r~



reply via email to

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