From: Sean Bruno <sbruno@freebsd.org>
To: qemu-devel@nongnu.org
Cc: Sean Bruno <sbruno@freebsd.org>
Subject: [Qemu-devel] [PATCH 0/9 v3] FreeBSD-user: breakout the BSDs
Date: Fri, 6 Jun 2014 06:49:30 -0700 [thread overview]
Message-ID: <1402062579-28716-1-git-send-email-sbruno@freebsd.org> (raw)
v3:
Fixup subject strings for easier reading (Eric Blake)
v2:
At the advice of Peter Maydell, break out these patches to inplement new
syscalls into substantially smaller, bite sized chunks for review. These
patches are based off a tree that Peter has kindly setup at:
git://git.linaro.org/people/peter.maydell/qemu-arm.git bsd-user.next
I've made clear breaks in what is cleanup and what is new functionality
in this changeset.
My changes are directly taken from Stacey Son's work 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 (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 of syscalls that are supported.
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.
Add __acl_* to the table of syscalls that are supported on FreeBSD
Add extattr_* to the table of syscalls that are supported on FreeBSD
Add thr_* to the table of syscalls that are supported on FreeBSD
Fix socket, fstat, fstatfs, chown syscalls. Add support for missing
syscalls to the table on FreeBSD
Stacey Son (1):
bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code
Makefile.target | 3 +-
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/strace.list | 77 +++++++++++++--
bsd-user/i386/syscall.h | 23 +++++
bsd-user/i386/target_arch_sysarch.h | 78 +++++++++++++++
bsd-user/mips/syscall.h | 52 ++++++++++
bsd-user/mips/syscall.h.orig | 0
bsd-user/mips/target_arch_sysarch.h | 69 +++++++++++++
bsd-user/mips64/syscall.h | 53 ++++++++++
bsd-user/mips64/syscall.h.orig | 0
bsd-user/mips64/target_arch_sysarch.h | 69 +++++++++++++
bsd-user/netbsd/os-strace.h | 1 +
bsd-user/openbsd/os-strace.h | 1 +
bsd-user/qemu.h | 26 +++++
bsd-user/sparc/syscall.h | 29 +++++-
bsd-user/sparc/target_arch_sysarch.h | 52 ++++++++++
bsd-user/sparc64/syscall.h | 28 +++++-
bsd-user/sparc64/target_arch_sysarch.h | 52 ++++++++++
bsd-user/strace.c | 175 ++++++++++++++++++++++-----------
bsd-user/x86_64/syscall.h | 26 ++++-
bsd-user/x86_64/target_arch_sysarch.h | 76 ++++++++++++++
configure | 11 +++
25 files changed, 975 insertions(+), 69 deletions(-)
create mode 100644 bsd-user/arm/syscall.h
create mode 100644 bsd-user/arm/syscall.h.orig
create mode 100644 bsd-user/arm/target_arch_sysarch.h
create mode 100644 bsd-user/freebsd/os-strace.h
create mode 100644 bsd-user/i386/target_arch_sysarch.h
create mode 100644 bsd-user/mips/syscall.h
create mode 100644 bsd-user/mips/syscall.h.orig
create mode 100644 bsd-user/mips/target_arch_sysarch.h
create mode 100644 bsd-user/mips64/syscall.h
create mode 100644 bsd-user/mips64/syscall.h.orig
create mode 100644 bsd-user/mips64/target_arch_sysarch.h
create mode 100644 bsd-user/netbsd/os-strace.h
create mode 100644 bsd-user/openbsd/os-strace.h
create mode 100644 bsd-user/sparc/target_arch_sysarch.h
create mode 100644 bsd-user/sparc64/target_arch_sysarch.h
create mode 100644 bsd-user/x86_64/target_arch_sysarch.h
--
1.9.3
next reply other threads:[~2014-06-06 13:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 13:49 Sean Bruno [this message]
2014-06-06 13:49 ` [Qemu-devel] [PATCH 1/9 v3] FreeBSD-user: add HOST_VARIANT_DIR for various *BSD dependent code Sean Bruno
2014-06-07 22:00 ` Peter Maydell
2014-06-06 13:49 ` [Qemu-devel] [PATCH 2/9 v3] FreeBSD-user: GPL v2 update and sylte/whitespace Sean Bruno
2014-06-07 22:03 ` Peter Maydell
2014-06-06 13:49 ` [Qemu-devel] [PATCH 3/9 v3] FreeBSD-user: Implement print_sysctl() syscall Sean Bruno
2014-06-07 21:58 ` Peter Maydell
2014-06-06 13:49 ` [Qemu-devel] [PATCH 4/9 v3] FreeBSD-user: Implement print_ioctl() syscall Sean Bruno
2014-06-07 22:01 ` Peter Maydell
2014-06-06 13:49 ` [Qemu-devel] [PATCH 5/9 v3] FreeBSD-user: Implement print_sysarch() syscall Sean Bruno
2014-06-07 22:18 ` Peter Maydell
2014-06-06 13:49 ` [Qemu-devel] [PATCH 6/9 v3] FreeBSD-user: Add __acl_* to the table of syscalls Sean Bruno
2014-06-07 22:08 ` Peter Maydell
2014-06-07 22:36 ` Sean Bruno
2014-06-06 13:49 ` [Qemu-devel] [PATCH 7/9 v3] FreeBSD-user: Add extattr_* " Sean Bruno
2014-06-07 22:10 ` Peter Maydell
2014-06-08 16:55 ` Sean Bruno
2014-06-06 13:49 ` [Qemu-devel] [PATCH 8/9 v3] FreeBSD-user: Add thr_* " Sean Bruno
2014-06-07 22:19 ` Peter Maydell
2014-06-08 16:55 ` Sean Bruno
2014-06-06 13:49 ` [Qemu-devel] [PATCH 9/9 v3] FreeBSD-user: Add support for missing syscalls Sean Bruno
2014-06-07 22:12 ` Peter Maydell
2014-06-08 16:56 ` Sean Bruno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402062579-28716-1-git-send-email-sbruno@freebsd.org \
--to=sbruno@freebsd.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).