[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/10] linux-user: Use #if to only call validate
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH 01/10] linux-user: Use #if to only call validate_guest_space for 32-bit ARM target |
Date: |
Fri, 9 Mar 2018 21:20:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Le 28/12/2017 à 19:08, Luke Shumaker a écrit :
> From: Luke Shumaker <address@hidden>
>
> Instead of defining a bogus validate_guest_space that always returns 1 on
> targets other than 32-bit ARM, use #if blocks to only call it on 32-bit ARM
> targets. This makes the "normal" flow control clearer.
>
> Signed-off-by: Luke Shumaker <address@hidden>
> ---
> linux-user/elfload.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)
With the change request by Peter (condition "!= 1"),
applied to my 'linux-user-for-2.12' branch.
Thanks,
Laurent