qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read(


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write()
Date: Wed, 31 Dec 2014 17:23:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0


On 31/12/2014 16:17, Peter Maydell wrote:
> On 31 December 2014 at 14:07, Laszlo Ersek <address@hidden> wrote:
>> > Of course this also renders the issue mostly moot -- if none of us can
>> > test the code on a BE host, then that use case simply doesn't exist in
>> > practice.
> If you can give me a test image and a command line I can test
> it on one of the PPC64 boxes in the GCC compile farm.

You can follow the qtest steps in the commit messages of
6c87e3d5967a1d731b5f591a8f0ee6c319c14ca8:

$ arm-softmmu/qemu-system-arm -M virt -machine accel=qtest \
             -qtest stdio -uuid 4600cb32-38ec-4b2f-8acb-81c6ea54f2d8
writew 0x9020008 0x0200
readl 0x9020000

The readl should return "OK 0x000000004600cb32".

Paolo



reply via email to

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