qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 00/20] virtio endian-ambivalent target


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH v8 00/20] virtio endian-ambivalent target
Date: Wed, 18 Jun 2014 17:41:42 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


On 18.06.14 17:40, Peter Maydell wrote:
On 18 June 2014 16:37, Alexander Graf <address@hidden> wrote:
I actually agree with Greg here. We implicitly create different VGA adapters
today depending on TARGET_WORDS_BIGENDIAN. The FB endianness should have
been separate devices (BE / LE) or runtime configuration from the beginning.

Anything that checks TARGET_WORDS_BIGENDIAN in hw/ is very likely to do
something pretty wrong ;).
Directly, yes, it's a bit of a red flag. But a huge % of devices do
indirectly, by marking their memory regions as DEVICE_NATIVE_ENDIAN.

That's ok and the expected ABI to devices. It's TARGET_WORDS_BIGENDIAN that's a good marker that something's wrong.


Alex




reply via email to

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