Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-13 Thread Peter Maydell
On 5 March 2015 at 21:37, Tobias Nygren wrote: > A couple of #ifdef changes necessary to use NetBSD's ucontext > structs on sparc64 and arm. > > Signed-off-by: Tobias Nygren > --- > user-exec.c | 16 +++- > 1 file changed, 15 insertions(+), 1 deletion(-) Applied to qemu master, sinc

Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-08 Thread Peter Maydell
On 8 March 2015 at 23:59, Tobias Nygren wrote: > Standalone static binaries and basic syscall emulation seem to work OK. > There is a problem with ps_strings / argv[0] being NULL in crt0.o. > (looks like it would not be hard to fix) Yeah, ps_strings rings a bell, I think that was what I was seein

Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-08 Thread Tobias Nygren
On Sun, 8 Mar 2015 21:53:30 +0900 Peter Maydell wrote: > On 8 March 2015 at 21:37, Tobias Nygren wrote: > > On Sun, 8 Mar 2015 19:27:27 +0900 > > Peter Maydell wrote: > >> Does NetBSD have a big stack of out-of-tree patches for QEMU, > >> or do you run basically stock upstream QEMU? > > > > Hi,

Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-08 Thread Peter Maydell
On 8 March 2015 at 21:37, Tobias Nygren wrote: > On Sun, 8 Mar 2015 19:27:27 +0900 > Peter Maydell wrote: >> Does NetBSD have a big stack of out-of-tree patches for QEMU, >> or do you run basically stock upstream QEMU? > > Hi, it is more or less stock except for this patch. Cool. (I know the Fre

Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-08 Thread Tobias Nygren
Hello, On Sun, 8 Mar 2015 19:27:27 +0900 Peter Maydell wrote: > On 6 March 2015 at 06:37, Tobias Nygren wrote: > > A couple of #ifdef changes necessary to use NetBSD's ucontext > > structs on sparc64 and arm. > > > > Signed-off-by: Tobias Nygren > > Reviewed-by: Peter Maydell > > Does NetBS

Re: [Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-08 Thread Peter Maydell
On 6 March 2015 at 06:37, Tobias Nygren wrote: > A couple of #ifdef changes necessary to use NetBSD's ucontext > structs on sparc64 and arm. > > Signed-off-by: Tobias Nygren Reviewed-by: Peter Maydell Does NetBSD have a big stack of out-of-tree patches for QEMU, or do you run basically stock u

[Qemu-devel] [PATCH] user-exec.c: fix build on NetBSD/sparc64 and NetBSD/arm

2015-03-05 Thread Tobias Nygren
A couple of #ifdef changes necessary to use NetBSD's ucontext structs on sparc64 and arm. Signed-off-by: Tobias Nygren --- user-exec.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/user-exec.c b/user-exec.c index 1ff8673..8f57e8a 100644 --- a/user-exec.c ++