[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: Add naive implementation of capget(
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: Add naive implementation of capget() syscall |
Date: |
Mon, 24 Sep 2012 14:47:21 +0100 |
On 23 September 2012 17:02, Blue Swirl <address@hidden> wrote:
> On Sat, Sep 22, 2012 at 11:23 PM, Erik de Castro Lopo
> <address@hidden> wrote:
>> I'm working in a similar syscall implementation (POSIX timers) and
>> I'm currently testing it in an debian armhf chroot running on my
>> x86-64 laptop. After quite a bit of debugging its now working perfectly.
>
> So the structure happens to be the same for this pair by chance,
> probably because neither architecture care much about alignment. The
> correct fix is still to do the structure conversion.
I think Erik is asking not whether to do the structure conversion,
but how to get a setup that would let you test that it is correct
once you've written it...
-- PMM