Re: [Qemu-devel] [PATCH 05/10 v4] bsd-user: Implement new syscall print_sysarch and add strace support

2014-06-11 Thread Sean Bruno
On Tue, 2014-06-10 at 23:53 +0100, Peter Maydell wrote: > On 8 June 2014 17:57, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > --- > > bsd-user/freebsd/os-strace.h | 29 + > > bsd-user/freebsd/strace.list | 2 +- &

Re: [Qemu-devel] [PATCH 05/10 v4] bsd-user: Implement new syscall print_sysarch and add strace support

2014-06-15 Thread Sean Bruno
On Tue, 2014-06-10 at 23:53 +0100, Peter Maydell wrote: > On 8 June 2014 17:57, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > --- > > bsd-user/freebsd/os-strace.h | 29 + > > bsd-user/freebsd/strace.list | 2 +- &

[Qemu-devel] bsd-user: master is broken

2014-06-15 Thread Sean Bruno
Trying to bisect a compile failure on master before I do anything else today. I'm getting a slew of linking failures right now due to unresolved symbols that appear to be needed by block/curl code. http://people.freebsd.org/~sbruno/ssl_fail_qemu.txt Lots of Curl_* functions and lots of SSL/Crypt

Re: [Qemu-devel] [PATCH 05/10 v4] bsd-user: Implement new syscall print_sysarch and add strace support

2014-06-15 Thread Sean Bruno
On Sun, 2014-06-15 at 20:20 +0100, Peter Maydell wrote: > On 15 June 2014 16:33, Sean Bruno wrote: > > I think there's some confusion between the strace support for the new > > print_sysarch() and the existing syscall do_freebsd_sysarch(). > > Only because you'v

Re: [Qemu-devel] bsd-user: master is broken

2014-06-15 Thread Sean Bruno
On Sun, 2014-06-15 at 12:10 -0700, Sean Bruno wrote: > Trying to bisect a compile failure on master before I do anything else > today. I'm getting a slew of linking failures right now due to > unresolved symbols that appear to be needed by block/curl code. > > http://people

Re: [Qemu-devel] bsd-user: master is broken

2014-06-15 Thread Sean Bruno
On Sun, 2014-06-15 at 13:06 -0700, Sean Bruno wrote: > rules.mak: Rewrite unnest-vars Reverting this resolves the primary failure. The logic here is off somehow. sean

[Qemu-devel] [PATCH 2/3] bsd-user: Add patches to fix AES_* link errors

2014-06-15 Thread Sean Bruno
Redefine functions as QEMU_AES_* to avoid conflicts with AES_* in -lcrypto needed (at least) by -lcurl. Take from emulators/qemu-devel/files/patch-include-qemu-aes.h Signed-off-by: Sean Bruno Signed-off-by: Ed Maste --- include/qemu/aes.h | 9 + 1 file changed, 9 insertions(+) diff

[Qemu-devel] [PATCH 1/3] bsd-user: Revert part of update to rules.mk

2014-06-15 Thread Sean Bruno
In c5cb1afc4675bf5ff66e7a149d2a8cffba2eaa9e rules.mk change was causing complete failure on bsd-user when not using --disable-curl Signed-off-by: Sean Bruno --- rules.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.mak b/rules.mak index dde8e00..4a33c27 100644

[Qemu-devel] [PATCH 0/3] bsd-user: Fix linking/dependency issues

2014-06-15 Thread Sean Bruno
Recent changes to master caused complete failures to build bsd-user. Sean Bruno (3): bsd-user: Revert part of c5cb1afc4675bf5ff66e7a149d2a8cffba2eaa9e bsd-user: Add patches to fix AES_* link errors bsd-user: Implement strace support for getcwd syscall bsd-user/freebsd/strace.list | 1

[Qemu-devel] [PATCH 3/3] bsd-user: Implement strace support for getcwd syscall

2014-06-15 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 1 + 1 file changed, 1 insertion(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 2800a2d..f10caaa 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -28,6 +28,7

[Qemu-devel] [PATCH 3/3 v2] bsd-user: Implement strace support for getcwd syscall

2014-06-15 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 1 + 1 file changed, 1 insertion(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 2800a2d..f10caaa 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -28,6 +28,7

[Qemu-devel] [PATCH 1/3 v2] bsd-user: Revert part of update to rules.mk

2014-06-15 Thread Sean Bruno
In c5cb1afc4675bf5ff66e7a149d2a8cffba2eaa9e rules.mk change was causing complete failure on bsd-user when not using --disable-curl Signed-off-by: Sean Bruno --- rules.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.mak b/rules.mak index dde8e00..4a33c27 100644

Re: [Qemu-devel] bsd-user: master is broken

2014-06-15 Thread Sean Bruno
On Sun, 2014-06-15 at 13:12 -0700, Sean Bruno wrote: > On Sun, 2014-06-15 at 13:06 -0700, Sean Bruno wrote: > > rules.mak: Rewrite unnest-vars > > Reverting this resolves the primary failure. The logic here is off > somehow. > > sean > > Ok, sent pat

[Qemu-devel] [PATCH 2/3 v2] bsd-user: Add patches to fix AES_* link errors

2014-06-15 Thread Sean Bruno
Redefine functions as QEMU_AES_* to avoid conflicts with AES_* in -lcrypto needed (at least) by -lcurl. Take from emulators/qemu-devel/files/patch-include-qemu-aes.h Signed-off-by: Sean Bruno Signed-off-by: Ed Maste --- include/qemu/aes.h | 9 + 1 file changed, 9 insertions(+) diff

[Qemu-devel] [PATCH 0/3 v2] bsd-user: Fix linking/dependency issues

2014-06-15 Thread Sean Bruno
v2 Correct email address for Ed Maste Recent changes to master caused complete failures to build bsd-user. Sean Bruno (3): bsd-user: Revert part of c5cb1afc4675bf5ff66e7a149d2a8cffba2eaa9e bsd-user: Add patches to fix AES_* link errors bsd-user: Implement strace support for getcwd syscall

Re: [Qemu-devel] [PATCH 1/3 v2] bsd-user: Revert part of update to rules.mk

2014-06-16 Thread Sean Bruno
> > Sean, could you show the configure command line? > > Also please attach the "make V=1" output and config-host.mak file. > > Paolo > > I'm using: ./configure --static --target-list="i386-bsd-user sparc-bsd-user sparc64-bsd-user x86_64-bsd-user" Log: http://people.freebsd.org/~sbruno/qe

Re: [Qemu-devel] [PATCH 1/3 v2] bsd-user: Revert part of update to rules.mk

2014-06-16 Thread Sean Bruno
On Mon, 2014-06-16 at 06:55 -0700, Sean Bruno wrote: > > > Sean, could you show the configure command line? > > > > Also please attach the "make V=1" output and config-host.mak file. > > > > Paolo > > > > > > I'm using: >

Re: [Qemu-devel] [PATCH 1/3 v2] bsd-user: Revert part of update to rules.mk

2014-06-16 Thread Sean Bruno
On Mon, 2014-06-16 at 16:15 +0200, Paolo Bonzini wrote: > Il 16/06/2014 15:58, Sean Bruno ha scritto: > > On Mon, 2014-06-16 at 06:55 -0700, Sean Bruno wrote: > >>>> Sean, could you show the configure command line? > >>> > >>> Also please attac

[Qemu-devel] [PATCH v3] bsd-user: Add patches to fix AES_* link errors

2014-06-16 Thread Sean Bruno
-qemu-aes.h Signed-off-by: Sean Bruno Signed-off-by: Ed Maste --- include/qemu/aes.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/qemu/aes.h b/include/qemu/aes.h index e79c707..d310411 100644 --- a/include/qemu/aes.h +++ b/include/qemu/aes.h @@ -10,6 +10,15 @@ struct aes_k

[Qemu-devel] [PATCH] bsd-user: Implement strace support for getcwd syscall

2014-06-16 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 1 + 1 file changed, 1 insertion(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 2800a2d..f10caaa 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -28,6 +28,7

Re: [Qemu-devel] [PATCH v3] bsd-user: Add patches to fix AES_* link errors

2014-06-17 Thread Sean Bruno
On Mon, 2014-06-16 at 08:02 -0700, Sean Bruno wrote: > v3 > Drop patch1 as it has been superceeded > Drop patch3 as it doesn't belong in this patchset > > v2 > Correct email address for Ed Maste > > Redefine functions as QEMU_AES_* to avoid conflicts with AES_* i

Re: [Qemu-devel] [PATCH v3] bsd-user: Add patches to fix AES_* link errors

2014-06-19 Thread Sean Bruno
On Tue, 2014-06-17 at 09:48 -0700, Sean Bruno wrote: > On Mon, 2014-06-16 at 08:02 -0700, Sean Bruno wrote: > > v3 > > Drop patch1 as it has been superceeded > > Drop patch3 as it doesn't belong in this patchset > > > > v2 > > Correct email address

[Qemu-devel] [PATCH 0/4] bsd-user: Update Queue

2014-06-19 Thread Sean Bruno
ser update push. It includes the code that uses the #define vaules as to avoid the possibility of commiting dead code. Sean Bruno (2): bsd-user: Implement new syscall print_sysarch and add strace support bsd-user: Rename struct linux_binprm to struct bsd_binprm Stacey Son (2): bsd-user: mo

[Qemu-devel] [PATCH 4/4] bsd-user: move arch/OS dependent code out of syscall.c

2014-06-19 Thread Sean Bruno
d-off-by: Sean Bruno Signed-off-by: Stacey Son --- bsd-user/Makefile.objs | 2 +- bsd-user/bsdload.c | 168 +-- bsd-user/elfload.c | 7 +- bsd-user/freebsd/os-strace.h| 6 - bsd-user/freebsd/os-

[Qemu-devel] [PATCH 3/4] bsd-user: Rename linux_binprm to bsd_binprm

2014-06-19 Thread Sean Bruno
These too similar data structures will be diverging in future updates from my trees. Rename now. Signed-off-by: Sean Bruno --- bsd-user/bsdload.c | 4 ++-- bsd-user/elfload.c | 4 ++-- bsd-user/main.c| 2 +- bsd-user/qemu.h| 8 4 files changed, 9 insertions(+), 9 deletions

[Qemu-devel] [PATCH 1/4] bsd-user: Implement new syscall print_sysarch and add strace support

2014-06-19 Thread Sean Bruno
Signed-off-by: Sean Bruno Signed-off-by: Stacey Son --- bsd-user/freebsd/os-strace.h | 35 +++ bsd-user/freebsd/strace.list | 2 +- bsd-user/i386/syscall.h| 21 + bsd-user/i386/target_arch_sysarch.h| 78

Re: [Qemu-devel] [PATCH] bsd-user: Implement strace support for getcwd syscall

2014-06-19 Thread Sean Bruno
On Mon, 2014-06-16 at 08:05 -0700, Sean Bruno wrote: > Signed-off-by: Sean Bruno > --- > bsd-user/freebsd/strace.list | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list > index 2800a2d..f10caaa 100644 >

Re: [Qemu-devel] [PATCH 0/4] bsd-user: Update Queue

2014-06-21 Thread Sean Bruno
On Thu, 2014-06-19 at 17:19 -0700, Sean Bruno wrote: > This patchset brings us a couple of steps closer to the FreeBSD Development > tree, Stacey Son's bsd-user branch and qemu-devel port maintained out of tree. > > These patches are designed to begin to break apart the archi

Re: [Qemu-devel] [PATCH] bsd-user: Implement strace support for getcwd syscall

2014-06-23 Thread Sean Bruno
On Thu, 2014-06-19 at 18:30 -0700, Sean Bruno wrote: > On Mon, 2014-06-16 at 08:05 -0700, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > --- > > bsd-user/freebsd/strace.list | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/bsd-user

Re: [Qemu-devel] [PATCH 0/4] bsd-user: Update Queue

2014-06-23 Thread Sean Bruno
On Sat, 2014-06-21 at 09:39 -0700, Sean Bruno wrote: > On Thu, 2014-06-19 at 17:19 -0700, Sean Bruno wrote: > > This patchset brings us a couple of steps closer to the FreeBSD Development > > tree, Stacey Son's bsd-user branch and qemu-devel port maintained out of > > tr

Re: [Qemu-devel] [PATCH] bsd-user: Implement strace support for getcwd syscall

2014-06-23 Thread Sean Bruno
Would you prefer a much larger patch set since you'll be delaying review? Something that actually makes bsd-user run ? :-) Original message From: Peter Maydell Date:06/23/2014 7:42 AM (GMT-07:00) To: Sean Bruno Cc: qemu-devel Subject: Re: [Qemu-devel] [PATCH] bsd

Re: [Qemu-devel] QEMU build broken

2014-05-27 Thread Sean Bruno
om the tree; > > the current situation doesn't seem very useful. > > There is some interest from FreeBSD folks to use qemu bsd-user mode in > package cross building. In fact, support was added recently to poudriere to > used qemu to cross build packages for armv6 and mips64

[Qemu-devel] [PATCH 0/1] Refresh FreeBSD System Call Numbers

2014-05-27 Thread Sean Bruno
This is the first step in firing off the bsd-user work done by Stacey Son s...@freebsd.org I have attempted to track head and keep things updated and am submitting these changes in smaller, digestible chunks for everyone's review. Stacey Son (1): bsd-user: refresh freebsd system call numbers

[Qemu-devel] [PATCH 1/1] bsd-user: refresh freebsd system call numbers

2014-05-27 Thread Sean Bruno
From: Stacey Son Update FreeBSD system call numbers in freebsd/syscall_nr.h. Reviewed-by: Ed Maste --- bsd-user/freebsd/syscall_nr.h | 813 +++--- 1 file changed, 445 insertions(+), 368 deletions(-) diff --git a/bsd-user/freebsd/syscall_nr.h b/bsd-user/free

Re: [Qemu-devel] QEMU build broken

2014-05-27 Thread Sean Bruno
On Tue, 2014-05-27 at 19:52 +0100, Peter Maydell wrote: > On 27 May 2014 18:53, Sean Bruno wrote: > > On Fri, 2014-05-09 at 12:26 -0500, Stacey Son wrote: > >> As for restructuring the (25,000+ lines of) patches Sean has agreed > >> to help with that given that I am bus

[Qemu-devel] [PATCH 1/1] bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code

2014-05-28 Thread Sean Bruno
From: Stacey Son This change adds HOST_VARIANT_DIR so the various BSD OS dependent code can be seperated into its own directories rather than using #ifdef's. This may also allow an BSD variant OS to host another BSD variant's executible as a target. --- Makefile.target | 3 ++- configure

[Qemu-devel] [PATCH v2 1/1] bsd-user: refresh freebsd system call numbers

2014-05-28 Thread Sean Bruno
From: Stacey Son Update FreeBSD system call numbers in freebsd/syscall_nr.h. Signed-off bY: Stacey Son Signed-off-by: Sean Bruno Reviewed-by: Ed Maste --- bsd-user/freebsd/syscall_nr.h | 813 +++--- 1 file changed, 445 insertions(+), 368 deletions

Re: [Qemu-devel] [PATCH] bsd-user/mmap.c: Don't try to override g_malloc/g_free

2014-06-04 Thread Sean Bruno
NetBSD seem to have > further issues. > > Signed-off-by: Peter Maydell Reviewed by: Sean Bruno sbr...@freebsd.org > --- > The FreeBSD QEMU bsd-user tree took this same approach. > > Blue, I'm planning to put this together with a few other bsd-user > patches (and furthe

[Qemu-devel] [PATCH 0/3] FreeBSD-user, breakout the BSDs

2014-06-05 Thread Sean Bruno
This is the first patch-set being pulled from current development of FreeBSD user mode code. This work is based on Stacey Son's developement work from Caimbridge. Refresh the syscalls for FreeBSD. This is a resend as I haven't seen it hit the tree yet in my pulls. Breakout the three major BSD f

[Qemu-devel] [PATCH 1/3] bsd-user: refresh freebsd system call numbers

2014-06-05 Thread Sean Bruno
From: Stacey Son Update FreeBSD system call numbers in freebsd/syscall_nr.h. Reviewed-by: Ed Maste Signed-off-by: Stacey Son Signed-off-by: Sean Bruno --- bsd-user/freebsd/syscall_nr.h | 813 +++--- 1 file changed, 445 insertions(+), 368 deletions

[Qemu-devel] [PATCH 2/3] bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code

2014-06-05 Thread Sean Bruno
ned-off-by: Sean Bruno --- Makefile.target | 3 ++- configure | 11 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index 9986047..60c1ca6 100644 --- a/Makefile.target +++ b/Makefile.target @@ -102,7 +102,8 @@ endif #CONFIG_LINUX_USE

[Qemu-devel] [PATCH 3/3] bsd-user: move strace OS/arch dependent code to host/arch dirs

2014-06-05 Thread Sean Bruno
From: Stacey Son This change moves host OS and arch dependent code for the sysarch system call related to the -strace functionality into the appropriate host OS and target arch directories. Signed-off-by: Stacey Son Signed-off-by: Sean Bruno --- bsd-user/arm/syscall.h | 36

[Qemu-devel] [PATCH 0/9 v2] FreeBSD-user, breakout the BSDs

2014-06-05 Thread Sean Bruno
ce OS/arch dependent code to host/arch dirs Sean Bruno (8): No functional changes. GPL v2 attribution update. Cleanup some while space and style fixes. Move struct syscallname into qemu.h Add print_sysctl() to out table of syscalls that are supported. Add print_ioctl() to out table o

[Qemu-devel] [PATCH 2/9 v2] No functional changes. GPL v2 attribution update. Cleanup some while space and style fixes. Move struct syscallname into qemu.h

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/qemu.h | 26 +++ bsd-user/strace.c | 126 +- 2 files changed, 94 insertions(+), 58 deletions(-) diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index ddc74ed..b8a34c7 100644 --- a/bsd-user

[Qemu-devel] [PATCH 6/9 v2] Add __acl_* to the table of syscalls that are supported on FreeBSD

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 12 1 file changed, 12 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 32b3c55..b09b130 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -16,6

[Qemu-devel] [PATCH 3/9 v2] Add print_sysctl() to out table of syscalls that are supported.

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 21 +++-- bsd-user/strace.c| 22 ++ 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 1edf412..3235f16

[Qemu-devel] [PATCH 5/9 v2] Add print_sysarch() to out table of syscalls that are supported and support them on all architectures for freebsd. netbsd and openbsd are not implemented but stubbed out.

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/arm/syscall.h | 36 bsd-user/arm/syscall.h.orig| 0 bsd-user/arm/target_arch_sysarch.h | 78 ++ bsd-user/freebsd/os-strace.h | 29 + bsd-user/freebsd

[Qemu-devel] [PATCH 4/9 v2] Add print_ioctl() to out table of syscalls that are supported.

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 2 +- bsd-user/strace.c| 19 +++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 3235f16..718357b 100644 --- a/bsd-user

[Qemu-devel] [PATCH 7/9 v2] Add extattr_* to the table of syscalls that are supported on FreeBSD

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 13 + 1 file changed, 13 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index b09b130..ab52ca8 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -51,6

[Qemu-devel] [PATCH 9/9 v2] Fix socket, fstat, fstatfs, chown syscalls. Add support for missing syscalls to the table on FreeBSD

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index b2a159e..61d11ca 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd

[Qemu-devel] [PATCH 1/9 v2] bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code

2014-06-05 Thread Sean Bruno
ned-off-by: Sean Bruno --- Makefile.target | 3 ++- configure | 11 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index 9986047..60c1ca6 100644 --- a/Makefile.target +++ b/Makefile.target @@ -102,7 +102,8 @@ endif #CONFIG_LINUX_USE

[Qemu-devel] [PATCH 8/9 v2] Add thr_* to the table of syscalls that are supported on FreeBSD

2014-06-05 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 9 + 1 file changed, 9 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index ab52ca8..b2a159e 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -202,6

[Qemu-devel] [PATCH 1/9 v3] FreeBSD-user: add HOST_VARIANT_DIR for various *BSD dependent code

2014-06-06 Thread Sean Bruno
ned-off-by: Sean Bruno --- Makefile.target | 3 ++- configure | 11 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index 9986047..60c1ca6 100644 --- a/Makefile.target +++ b/Makefile.target @@ -102,7 +102,8 @@ endif #CONFIG_LINUX_USE

[Qemu-devel] [PATCH 6/9 v3] FreeBSD-user: Add __acl_* to the table of syscalls

2014-06-06 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 12 1 file changed, 12 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 32b3c55..b09b130 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -16,6

[Qemu-devel] [PATCH 9/9 v3] FreeBSD-user: Add support for missing syscalls

2014-06-06 Thread Sean Bruno
Fix syscall format for socket, fstat, fstatfs and chown. Add additional syscalls that are missing. Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd

[Qemu-devel] [PATCH 5/9 v3] FreeBSD-user: Implement print_sysarch() syscall

2014-06-06 Thread Sean Bruno
Add strace support for print_sysarch for all architectures for freebsd. NetBSD and OpenBSD are not implemented but stubbed out. Signed-off-by: Sean Bruno --- bsd-user/arm/syscall.h | 36 bsd-user/arm/syscall.h.orig| 0 bsd-user/arm

[Qemu-devel] [PATCH 8/9 v3] FreeBSD-user: Add thr_* to the table of syscalls

2014-06-06 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 9 + 1 file changed, 9 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index ab52ca8..b2a159e 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -202,6

[Qemu-devel] [PATCH 7/9 v3] FreeBSD-user: Add extattr_* to the table of syscalls

2014-06-06 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 13 + 1 file changed, 13 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index b09b130..ab52ca8 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -51,6

[Qemu-devel] [PATCH 4/9 v3] FreeBSD-user: Implement print_ioctl() syscall

2014-06-06 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 2 +- bsd-user/strace.c| 19 +++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 3235f16..718357b 100644 --- a/bsd-user

[Qemu-devel] [PATCH 3/9 v3] FreeBSD-user: Implement print_sysctl() syscall

2014-06-06 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 21 +++-- bsd-user/strace.c| 22 ++ 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 1edf412..3235f16

[Qemu-devel] [PATCH 0/9 v3] FreeBSD-user: breakout the BSDs

2014-06-06 Thread Sean Bruno
or of his code contained in the commit entititled: bsd-user: move strace OS/arch dependent code to host/arch dirs Sean Bruno (8): No functional changes. GPL v2 attribution update. Cleanup some while space and style fixes. Move struct syscallname into qemu.h Add print_sysctl() to ou

[Qemu-devel] [PATCH 2/9 v3] FreeBSD-user: GPL v2 update and sylte/whitespace

2014-06-06 Thread Sean Bruno
Cleanup some while space and style fixes. Move struct syscallname into qemu.h Signed-off-by: Sean Bruno --- bsd-user/qemu.h | 26 +++ bsd-user/strace.c | 126 +- 2 files changed, 94 insertions(+), 58 deletions(-) diff --git a/bsd

Re: [Qemu-devel] [PATCH 6/9 v3] FreeBSD-user: Add __acl_* to the table of syscalls

2014-06-07 Thread Sean Bruno
On Sat, 2014-06-07 at 23:08 +0100, Peter Maydell wrote: > On 6 June 2014 14:49, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > Commit message needs tweaking to be clearer that we're > only adding strace support for syscalls here, not implementing > new syscalls

Re: [Qemu-devel] [PATCH 7/9 v3] FreeBSD-user: Add extattr_* to the table of syscalls

2014-06-08 Thread Sean Bruno
On Sat, 2014-06-07 at 23:10 +0100, Peter Maydell wrote: > On 6 June 2014 14:49, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > Commit message, strace not new implementations, etc etc. > > Otherwise > Reviewed-by: Peter Maydell > > thanks > -- PMM >

Re: [Qemu-devel] [PATCH 8/9 v3] FreeBSD-user: Add thr_* to the table of syscalls

2014-06-08 Thread Sean Bruno
On Sat, 2014-06-07 at 23:19 +0100, Peter Maydell wrote: > On 6 June 2014 14:49, Sean Bruno wrote: > > Signed-off-by: Sean Bruno > > Other than the standard gripe about the commit message, > Reviewed-by: Peter Maydell > > thanks > -- PMM I'm not tagging thi

Re: [Qemu-devel] [PATCH 9/9 v3] FreeBSD-user: Add support for missing syscalls

2014-06-08 Thread Sean Bruno
On Sat, 2014-06-07 at 23:12 +0100, Peter Maydell wrote: > On 6 June 2014 14:49, Sean Bruno wrote: > > Fix syscall format for socket, fstat, fstatfs and chown. > > > > Add additional syscalls that are missing. > > These aren't completely missing syscalls; pl

[Qemu-devel] [PATCH 00/10 v4] bsd-user: update strace syscalls and breakout BSD distros

2014-06-08 Thread Sean Bruno
ork on the bsd-user fork of the FreeBSD port of emulators/qemu-devel. My patches are a refactor of his code contained in the commit entititled: bsd-user: move strace OS/arch dependent code to host/arch dirs Sean Bruno (9): bsd-user: GPL v2 attribution update and style bsd-user: Implem

[Qemu-devel] [PATCH 03/10 v4] bsd-user: Implement strace support for print_sysctl syscall

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 21 +++-- bsd-user/strace.c| 22 ++ 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 1edf412..3235f16

[Qemu-devel] [PATCH 09/10 v4] bsd-user: Fix syscall format, add strace support for more syscalls

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index ef4fa85..55f5ff8 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd

[Qemu-devel] [PATCH 01/10 v4] bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code

2014-06-08 Thread Sean Bruno
From: Stacey Son This change adds HOST_VARIANT_DIR so the various BSD OS dependent code can be separated into its own directories rather than using #ifdef's. This may also allow an BSD variant OS to host another BSD variant's executable as a target. Signed-off-by:

[Qemu-devel] [PATCH 02/10 v4] bsd-user: GPL v2 attribution update and style

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/qemu.h | 26 +++ bsd-user/strace.c | 126 +- 2 files changed, 94 insertions(+), 58 deletions(-) diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index ddc74ed..b8a34c7 100644 --- a/bsd-user

[Qemu-devel] [PATCH 06/10 v4] bsd-user: Implement strace support for __acl_* syscalls

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 12 1 file changed, 12 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 32b3c55..0deff16 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -16,6

[Qemu-devel] [PATCH 05/10 v4] bsd-user: Implement new syscall print_sysarch and add strace support

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/os-strace.h | 29 + bsd-user/freebsd/strace.list | 2 +- bsd-user/i386/syscall.h| 21 + bsd-user/i386/target_arch_sysarch.h| 78 ++ bsd-user/netbsd/os

[Qemu-devel] [PATCH 07/10 v4] bsd-user: Implement strace support for extattr_* syscalls

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 13 + 1 file changed, 13 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 0deff16..ed8ead3 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -51,6

[Qemu-devel] [PATCH 04/10 v4] bsd-user: Implement strace support for print_ioctl syscall

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 2 +- bsd-user/strace.c| 19 +++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 3235f16..718357b 100644 --- a/bsd-user

[Qemu-devel] [PATCH 08/10 v4] bsd-user: Implement strace support for thr_* syscalls

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/freebsd/strace.list | 9 + 1 file changed, 9 insertions(+) diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index ed8ead3..ef4fa85 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -202,6

[Qemu-devel] [PATCH 10/10 v4] bsd-user: Add TARGET_HW_MACHINE TARGET_HW_MACHINE_ARCH for future use

2014-06-08 Thread Sean Bruno
Signed-off-by: Sean Bruno --- bsd-user/i386/syscall.h| 2 ++ bsd-user/sparc/syscall.h | 2 ++ bsd-user/sparc64/syscall.h | 2 ++ bsd-user/x86_64/syscall.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/bsd-user/i386/syscall.h b/bsd-user/i386/syscall.h index 8028fc8..52de302 100644

[Qemu-devel] [FreeBSD] Build Failure, qemu-char.c

2016-01-22 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Started seeing a build failure after the updates to qemu-char.c I think clang is not doing something that gcc does implicitly? qemu-char.c:1843:26: error: use of undeclared identifier 'common' chr = qemu_chr_alloc(common, errp);

Re: [Qemu-devel] [FreeBSD] Build Failure, qemu-char.c

2016-01-22 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/22/16 08:47, Peter Maydell wrote: > This one is just straightforwardly BSD-only code that hasn't been > compile-tested. > >> qemu-char.c:4265:36: warning: incompatible pointer types passing >> 'ChardevCommon *' (aka 'struct ChardevCommon *

Re: [Qemu-devel] [FreeBSD] Build Failure, qemu-char.c

2016-01-22 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/22/16 09:02, Daniel P. Berrange wrote: > On Fri, Jan 22, 2016 at 08:52:36AM -0800, Sean Bruno wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> >> >> >> On 01/22/16 08:47, Peter Maydel

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-31 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This seems to at least allow things to compile, qemu-system seems to be able to boot images on i386, but I may have missed something: diff --git a/cpus.c b/cpus.c index 23cf7aa..11f8bab 100644 - --- a/cpus.c +++ b/cpus.c @@ -338,15 +338,8 @@ static

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-04-06 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/20/16 12:20, Sean Bruno wrote: > aarch64 targets are now failing to build on i386 hosts due to > missing __atomic_load_8() calls since this commit: > > https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in bsd-user/qemu.h

2016-05-03 Thread Sean Bruno
, return; if (len >> > 0) memcpy(g2h(guest_addr), host_ptr, len); - >> free(host_ptr); +g_free(host_ptr); #endif } >> >> -- 1.9.1 >> > > > If this is the only patch needing review for the bsd-user code, please put me down as Reviewed by. Reviewed-by:

[Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 aarch64 targets are now failing to build on i386 hosts due to missing __atomic_load_8() calls since this commit: https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f3a4ba8#diff-c143d686899ae51d7b927d9c682e12fd I'm unsure if Linux

[Qemu-devel] [FreeBSD] Anyone running buildbots or builders?

2016-03-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I'm tempted to fire up a FreeBSD Jenkins job to test commits for myself, but wondering if there's an official project builder or infrastructure bits that's already doing this type of thing. sean -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQF8B

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-21 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/16 02:11, Alex Bennée wrote: > > Peter Maydell writes: > >> On 20 March 2016 at 19:20, Sean Bruno >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >>> >>> aarch64 targe

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-22 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/16 08:56, Paolo Bonzini wrote: > > > On 21/03/2016 16:36, Alex Bennée wrote: >>> 341 /* The icount_warp_timer is rescheduled soon after >>> vm_clock_warp_start 342 * changes from -1 to another >>> value, so the race here is okay

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets

2016-03-28 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This seems to at least allow things to compile, qemu-system seems to be able to boot images on i386, but I may have missed something: diff --git a/cpus.c b/cpus.c index 23cf7aa..11f8bab 100644 - --- a/cpus.c +++ b/cpus.c @@ -338,15 +338,8 @@ static

[Qemu-devel] [PATCH] Call cmp with "-s" instead of "--quiet"

2016-06-11 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 - --quiet isn't available on FreeBSD and doesn't seem to be used in other places. This fixes some non-fatal build errors on FreeBSD. The use of "-s" over "--quiet" seems to be the preferred use in the Makefile. diff --git a/Makefile b/Makefile i

[Qemu-devel] [PATCH] Use "-s" instead of "--quiet" to resolve non-fatal build error on FreeBSD.

2016-06-12 Thread Sean Bruno
The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error see on FreeBSD. Signed-off-by: Sean Bruno --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile

[Qemu-devel] [PATCH] Disable atomic macros which conflict with C++

2016-06-14 Thread Sean Bruno
QEMU's atomic header defines a few macros which conflict with standard C++ function names, namely atomic_fetch_{add,sub,and,or}. Disable these macros when compiling for C++. See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209590 Signed-off-by: Dimitry Andric Signed-off-by:

[Qemu-devel] [PATCH v2] Use "-s" instead of "--quiet" to resolve non-fatal build error on FreeBSD.

2016-06-14 Thread Sean Bruno
The --quiet argument is not available on all operating systems. Use -s instead to match the rest of the Makefile uses. This fixes a non-fatal error seen on FreeBSD. Signed-off-by: Sean Bruno --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile

[Qemu-devel] [PATCH] Unbreak build after optionrom update.

2016-07-25 Thread Sean Bruno
Update the build flags appropriately for FreeBSD and add the correct LD_EMULATION type for the FreeBSD build case. Signed-off-by: Sean Bruno --- pc-bios/optionrom/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom

Re: [Qemu-devel] [PATCH] Unbreak build after optionrom update.

2016-07-25 Thread Sean Bruno
On 07/25/16 12:53, Peter Maydell wrote: > On 25 July 2016 at 18:57, Sean Bruno wrote: >> Update the build flags appropriately for FreeBSD and add the correct >> LD_EMULATION type for the FreeBSD build case. >> >> Signed-off-by: Sean Bruno >> --- &

[Qemu-devel] [PATCH v2] Unbreak FreeBSD build after optionrom update.

2016-07-25 Thread Sean Bruno
Update the build flags appropriately for FreeBSD and add the correct LD_EMULATION type for the FreeBSD build case. Signed-off-by: Sean Bruno --- pc-bios/optionrom/Makefile | 8 1 file changed, 8 insertions(+) diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index

[Qemu-devel] [PATCH] Unbreak FreeBSD build after optionrom update.

2016-07-26 Thread Sean Bruno
: linuxboot_dma.img] Error 1 gmake: *** [Makefile:229: romsubdir-optionrom] Error 2 Signed-off-by: Sean Bruno --- pc-bios/optionrom/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index d88ce11..8c8d7cd 100644 --- a/pc-bios

Re: [Qemu-devel] R: [PATCH v2] Unbreak FreeBSD build after optionrom update.

2016-07-26 Thread Sean Bruno
On 07/26/16 03:32, Paolo Bonzini wrote: > >> Update the build flags appropriately for FreeBSD and add the correct >> LD_EMULATION type for the FreeBSD build case. >> >> Signed-off-by: Sean Bruno > > I posted the right fix a couple days ago, but didn't m

[Qemu-devel] [PATCH] optionrom: fix detection of -Wa,-32

2016-07-28 Thread Sean Bruno
http://lists.nongnu.org/archive/html/qemu-devel/2016-07/msg04839.html If there is any way this can be pulled in, we FreeBSD nerds would appreciate it. sean signature.asc Description: OpenPGP digital signature

[Qemu-devel] [PATCH] Fix bsd-user build errors after 8642c1b81e0418df066a7960a7426d85a923a253

2016-07-29 Thread Sean Bruno
invocation) gmake[1]: *** [Makefile:197: qemu-i386] Error 1 gmake: *** [Makefile:204: subdir-i386-bsd-user] Error 2 Signed-off-by: Sean Bruno --- bsd-user/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 315ba1d..bbba43f 100644 --- a/bsd-u

[Qemu-devel] Unreviewable bsd-user code bomb

2016-08-08 Thread Sean Bruno
I've forked a branch of master in my github repo and only merged in the needed bsd-user changes (or at least what I think are the needed changes). https://github.com/seanbruno/qemu-bsd-user/tree/qemu-merge-bsd-user The diffstat is still out of control, but the damage is contained to bsd-user dirs

  1   2   >