qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [RFC PATCH v1 1/2] target-arm: Update page size for aarch


From: Vijay Kilari
Subject: Re: [Qemu-arm] [RFC PATCH v1 1/2] target-arm: Update page size for aarch64
Date: Wed, 6 Apr 2016 20:31:11 +0530

On Mon, Apr 4, 2016 at 10:14 PM, Peter Maydell <address@hidden> wrote:
> On 4 April 2016 at 17:40, Vijay Kilari <address@hidden> wrote:
>> On Mon, Apr 4, 2016 at 7:14 PM, Peter Maydell <address@hidden> wrote:
>>> I agree that this would definitely improve performance (both for
>>> migration and for emulated guests), but I'm afraid this breaks
>>> running 32-bit ARMv5 and ARMv7M guests with this QEMU binary,
>>> so we can't do this. If we want to allow the minimum page size to
>>> be bigger than 1K for AArch64 CPUs then we need to make it a
>>> runtime settable thing rather than compile-time (which is not
>>> an entirely trivial thing).
>>
>> Do you mean to say that based on -cpu type qemu option
>> choose the page size at runtime?
>
> If you want to avoid defining TARGET_PAGE_SIZE to the
> lowest-common-denominator 1K, then yes, you'd need to
> choose it at runtime. That could be painful to implement.

Had a look at it. Needs some changes in common code as well.
I will send this as a separate patch series and drop this patch
from this series.

>
> thanks
> -- PMM



reply via email to

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