qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.
Date: Mon, 11 Jan 2016 14:54:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0


Le 11/01/2016 14:46, Riku Voipio a écrit :
> Hi,
> 
> On torstaina 24. joulukuuta 2015 21.04.38 EET, John Paul Adrian Glaubitz
> wrote:
>> Here are, as discussed previously, my proposed patches which change the
>> following:
>>
>> PATCH 1/2 updates the syscall table for m68k to match Linux 4.4. This
>> one should be very obvious.
>>
>> PATCH 2/2 adds the definitions for the socket calls SOCKOP_sendmmsg and
>> SOCKOP_recvmmsg and wires them up with the rest of the code. The
>> necessary function do_sendrecvmmsg() is already present in
>> linux-user/syscall.c. After adding these two definitions and wiring them
>> up, I no longer receive an error message about the unimplemented socket
>> calls when running "apt-get update" on Debian unstable running on qemu
>> with glibc_2.21 on m68k.
> 
> I've applied these changing the commit messages using the text above.
> However, a static busybox from debian/unstable doesn't work for me. With
> or without these patches I just get a target segfault.
> 
> Since debian-m68k list is talking about using qemu for builds, I take
> I'm missing something obvious here.

Not obvious. Adrian is working with my m68k branch of qemu (qemu-m68k).
Pure qemu supports only coldfire, if you want to test it, you can't use
debian. There is a coldfire image at http://wiki.qemu.org/Testing, but
of course, it doesn't use the syscalls added by these patches.

I'm currently working to be able to merge my m68k branch into mainstream
qemu. A first series of patch will be available in the few coming days.

Laurent



reply via email to

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