[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] linux-user: SOCK_PACKET uses network endian
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] linux-user: SOCK_PACKET uses network endian to encode protocol in socket() |
Date: |
Tue, 1 Jan 2013 22:50:28 +0000 |
On 1 January 2013 22:12, Laurent Vivier <address@hidden> wrote:
> Le mardi 01 janvier 2013 à 19:45 +0000, Peter Maydell a écrit :
>> I would encourage you to write some simple test programs
>> and check them using strace (both of the native program and
>> of qemu running the program).
>
> OK, I will... but I think we will fall back to my original patch ;-)
You'll need to provide test programs which work with that and
fail with the simple tswap16() approach first.
-- PMM