qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 3/4] target-ppc: ppc can be either endian


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH v3 3/4] target-ppc: ppc can be either endian
Date: Wed, 7 May 2014 11:44:16 +0200


> Am 07.05.2014 um 11:40 schrieb Peter Maydell <address@hidden>:
> 
>> On 7 May 2014 10:37, Alexander Graf <address@hidden> wrote:
>> 
>> 
>>>> Am 07.05.2014 um 11:26 schrieb Peter Maydell <address@hidden>:
>>>> 
>>>> On 7 May 2014 10:09, Alexander Graf <address@hidden> wrote:
>>>> I don't think we should overengineer hacks for legacy virtio.
>>> 
>>> Agreed. So what's our final conclusion: virtio endianness
>>> is the endianness of the guest kernel at the point where
>>> it triggers a reset of the virtio device, yes?
>> 
>> The interrupt endianness for book3s PPC. Since that's an arch
>> specific thing I think we should just make the determination
>> mechanism arch dependent and list it in the spec.
>> 
>> Booke for example would be vastly different since there is no
>> global LE flag - it's a bit in the TLB entries.
> 
> Sure, but I think we should also state the general principle
> we're aiming to implement with the arch specific detail,
> so that people figuring out what a new arch should do
> have a guide to follow.

The general principle is "Try to find the Linux guest compile time endianness" 
:). 


Alex




reply via email to

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