qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: Add naive implementation of capget(


From: Erik de Castro Lopo
Subject: Re: [Qemu-devel] [PATCH] linux-user: Add naive implementation of capget() syscall
Date: Sun, 23 Sep 2012 09:23:31 +1000

Blue Swirl wrote:

> This is not correct. The structure needs to be converted field by
> field to host native format, especially endianness.

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.

However, both armhf and x86-64 are little endian, so I'd like to
make sure it works on a big endian CPU emulation as well. Unfortunately, 
I can't find one that works (I tried ppc, sparc and mips). They all
seem to have different problems and I can't seem to run anything with
the linux-user emulation.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



reply via email to

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