[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 6b2411: bsd-user: refresh freebsd system call
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 6b2411: bsd-user: refresh freebsd system call numbers |
Date: |
Wed, 11 Jun 2014 14:00:10 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 6b24119b7f5b250119b67d93ea6d044500483e82
https://github.com/qemu/qemu/commit/6b24119b7f5b250119b67d93ea6d044500483e82
Author: Stacey Son <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/syscall_nr.h
Log Message:
-----------
bsd-user: refresh freebsd system call numbers
Update FreeBSD system call numbers in freebsd/syscall_nr.h.
Signed-off-by: Stacey Son <address@hidden>
Reviewed-by: Ed Maste <address@hidden>
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 591b320ad046b2780c1b2841b836b50ba8192f02
https://github.com/qemu/qemu/commit/591b320ad046b2780c1b2841b836b50ba8192f02
Author: Peter Maydell <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M util/hbitmap.c
Log Message:
-----------
util/hbitmap.c: Use ctpopl rather than reimplementing a local equivalent
The function popcountl() in hbitmap.c is effectively a reimplementation
of what host-utils.h provides as ctpopl(). Use ctpopl() directly; this fixes
a failure to compile on NetBSD (whose strings.h erroneously exposes a
system popcountl() which clashes with this one).
Reported-by: Martin Husemann <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: b7b5233ad7fdd9985bb6d05b7919f3a20723ff2c
https://github.com/qemu/qemu/commit/b7b5233ad7fdd9985bb6d05b7919f3a20723ff2c
Author: Peter Maydell <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/mmap.c
Log Message:
-----------
bsd-user/mmap.c: Don't try to override g_malloc/g_free
Trying to override the implementations of g_malloc and g_free is
a really bad idea -- it means statically linked builds fail to
link (because of the multiple definitions provided by this file
and by glib), and non-statically linked builds segfault as soon
as they try to do anything more complicated than printing the
usage message. Remove these overridden versions and just use
the glib ones.
This is sufficient that bsd-user can run basic x86-64
binaries on OpenBSD again; FreeBSD and NetBSD seem to have
further issues.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Sean Bruno <address@hidden>
Reviewed-by: Ed Maste <address@hidden>
Commit: 6ad3f09bd457275f534810c2fce90fb03305a91a
https://github.com/qemu/qemu/commit/6ad3f09bd457275f534810c2fce90fb03305a91a
Author: Natanael Copa <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M util/qemu-openpty.c
Log Message:
-----------
util/qemu-openpty: fix build with musl libc by include termios.h as fallback
Include termios.h as POSIX fallback when not glibc, bsd or solaris.
POSIX says that termios.h should define struct termios and TCAFLUSH.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html
This fixes the following compile errors with musl libc:
util/qemu-openpty.c: In function 'qemu_openpty_raw':
util/qemu-openpty.c:112:20: error: storage size of 'tty' isn't known
struct termios tty;
^
...
util/qemu-openpty.c:128:24: error: 'TCSAFLUSH' undeclared (first use in this
function)
tcsetattr(*aslave, TCSAFLUSH, &tty);
^
Signed-off-by: Natanael Copa <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: adf9d70b0dd754b4626fd0ae2b52014060cf7ba4
https://github.com/qemu/qemu/commit/adf9d70b0dd754b4626fd0ae2b52014060cf7ba4
Author: Natanael Copa <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M xen-hvm.c
Log Message:
-----------
xen: replace ffsl with ctzl
ffsl is a GNU extension and not available in musl libc.
See also commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
Signed-off-by: Natanael Copa <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
[PMM: rebased to accommodate file rename to xen-hvm.c]
Signed-off-by: Peter Maydell <address@hidden>
Commit: 747eb78baa8803c58a1063e5da5b7f1e11b20eeb
https://github.com/qemu/qemu/commit/747eb78baa8803c58a1063e5da5b7f1e11b20eeb
Author: Natanael Copa <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M hw/virtio/vhost.c
Log Message:
-----------
vhost: replace ffsl with ctzl
Avoid using the GNU extesion ffsl which is not implemented in musl libc.
The atomic_xchg() means we know that vhost_log_chunk_t will never be
larger than the 'long' type, so ctzl() is always sufficient.
See also commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
Signed-off-by: Natanael Copa <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 7224f66ec3c5a51bdfa96a6686efba917b289fc7
https://github.com/qemu/qemu/commit/7224f66ec3c5a51bdfa96a6686efba917b289fc7
Author: Natanael Copa <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M include/exec/ram_addr.h
Log Message:
-----------
exec: replace ffsl with ctzl
See commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.
This is also needed for musl libc which does not implement ffsl.
Signed-off-by: Natanael Copa <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: adfc3e91e2e2293ae667f606d3449b855940fe41
https://github.com/qemu/qemu/commit/adfc3e91e2e2293ae667f606d3449b855940fe41
Author: Stacey Son <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M Makefile.target
M configure
Log Message:
-----------
bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code
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: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 88dae46d1898e8ed65633f1bd6d0753f303bc3a1
https://github.com/qemu/qemu/commit/88dae46d1898e8ed65633f1bd6d0753f303bc3a1
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/qemu.h
M bsd-user/strace.c
Log Message:
-----------
bsd-user: GPL v2 attribution update and style
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 80b346040d23c7e409949bef578ef4ef2c679e49
https://github.com/qemu/qemu/commit/80b346040d23c7e409949bef578ef4ef2c679e49
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
M bsd-user/strace.c
Log Message:
-----------
bsd-user: Implement strace support for print_sysctl syscall
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: b85159a3a325b1b3257482d52ce52225944dbcdd
https://github.com/qemu/qemu/commit/b85159a3a325b1b3257482d52ce52225944dbcdd
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
M bsd-user/strace.c
Log Message:
-----------
bsd-user: Implement strace support for print_ioctl syscall
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 605474815dd9d12a1b24828457cc7cfcf3c35398
https://github.com/qemu/qemu/commit/605474815dd9d12a1b24828457cc7cfcf3c35398
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
Log Message:
-----------
bsd-user: Implement strace support for __acl_* syscalls
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 1e501653ab866b11cc2d409978843884f291e62c
https://github.com/qemu/qemu/commit/1e501653ab866b11cc2d409978843884f291e62c
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
Log Message:
-----------
bsd-user: Implement strace support for extattr_* syscalls
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: f35f961ac929d8c045be03baa03a4c046a61237d
https://github.com/qemu/qemu/commit/f35f961ac929d8c045be03baa03a4c046a61237d
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
Log Message:
-----------
bsd-user: Implement strace support for thr_* syscalls
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: c4af6d4b13cc263b20133096f4de7b48e0aa7b46
https://github.com/qemu/qemu/commit/c4af6d4b13cc263b20133096f4de7b48e0aa7b46
Author: Sean Bruno <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M bsd-user/freebsd/strace.list
Log Message:
-----------
bsd-user: Fix syscall format, add strace support for more syscalls
Signed-off-by: Sean Bruno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 706808585a49bfd266e00b1c7723b6e1b0f4ff35
https://github.com/qemu/qemu/commit/706808585a49bfd266e00b1c7723b6e1b0f4ff35
Author: Peter Maydell <address@hidden>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Changed paths:
M Makefile.target
M bsd-user/freebsd/strace.list
M bsd-user/freebsd/syscall_nr.h
M bsd-user/mmap.c
M bsd-user/qemu.h
M bsd-user/strace.c
M configure
M hw/virtio/vhost.c
M include/exec/ram_addr.h
M util/hbitmap.c
M util/qemu-openpty.c
M xen-hvm.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-bsd-user-20140611'
into staging
bsd-user queue:
* build fixes
* improvements to strace
# gpg: Signature made Wed 11 Jun 2014 15:23:40 BST using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"
* remotes/pmaydell/tags/pull-bsd-user-20140611:
bsd-user: Fix syscall format, add strace support for more syscalls
bsd-user: Implement strace support for thr_* syscalls
bsd-user: Implement strace support for extattr_* syscalls
bsd-user: Implement strace support for __acl_* syscalls
bsd-user: Implement strace support for print_ioctl syscall
bsd-user: Implement strace support for print_sysctl syscall
bsd-user: GPL v2 attribution update and style
bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code
exec: replace ffsl with ctzl
vhost: replace ffsl with ctzl
xen: replace ffsl with ctzl
util/qemu-openpty: fix build with musl libc by include termios.h as fallback
bsd-user/mmap.c: Don't try to override g_malloc/g_free
util/hbitmap.c: Use ctpopl rather than reimplementing a local equivalent
bsd-user: refresh freebsd system call numbers
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/c5cb1afc4675...706808585a49
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 6b2411: bsd-user: refresh freebsd system call numbers,
GitHub <=