- target-mips: Status.UX/SX/KX enable 32-bit address wrapping. [1]
- target-mips: define ISA_MIPS64R6. [1]
- Change UX/AWRAP to allow compile. Probably, this is part of the
problem. [2]
- Fix the pipe(2) and pipe2(2) syscalls so the file descriptors are
returned correctly. [3]
- Add sched_yield(2) and sched_get_priority_{max,min}(2) syscall
handlers. [3]
- Add missing setresgid(2) and setresuid(2) system call handlers. [3]
- Eliminate "Qemu unsupported ioctl" warnings for cryptodev. [3]
- Bump PORTREVISION.
Submitted by: Leon Alrae <leon.alrae@imgtec.com> [1], sbruno [2], sson [3]
Obtained from: https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
- Add support for the wait6(2) system call. [1]
- Add stubs for the new cap_*() system calls. [1]
- Add support for new socket system calls. [1]
- Add support for pipe2(2) and chflagsat(2) system calls. [1]
- Add stubs for the new aio_*() system calls. [1]
- Add stub for the new procctl(2) system call. [1]
- Add JHB's ioctl decoding to unknown ioctl message. [1]
- Disable shebang script handling in qemu for head now that the
the kernel image activators can be run independantly there;
this allows /bin/sh to be used as a static amd64 binary on head
poudriere jails. [2]
- Some other small non-user-visible fixes.
- Bump PORTREVISION.
Submitted by: sson [1], sbruno [2]
Obtained from: https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
and sparc64 dynamic exectuables get a little further:
- Fix crashes with long argv invocations. [1]
- Fix ARMv6 stack alignment in a new thread. [1]
- sparc64: sync ccr before changing carry flag.
- Writing to readonly page can cause trap 0xc on FreeBSD too.
- Bump PORTREVISION.
Submitted by: sson [1]
https://lists.gnu.org/archive/html/qemu-devel/2013-06/msg04798.html
- Simplify bsd-user ld script handling. [1]
- Make STATIC_LINK work again.
- Add GTK knob.
- Neither graphical UI can be built static, set IGNORE in that case.
- Properly fix AES_* link errors by #defining those functions as
QEMU_AES_* to avoid conflicts with AES_* in -lcrypto needed (at
least) by -lcurl.
- Add back CURL knob in the process.
- Fix "Warning: vlan %d is not connected to host network" when using
pcap.
- Switch to USES= gmake.
- Note: I did not backport sson's latest bsd-user patches which he has
now in a github tree based on qemu git head, tho I have a seperate
port of that tree on redports:
svn co https://svn.redports.org/nox/emulators/qemu-devel-sson/
See also:
https://wiki.freebsd.org/QemuUserModeHowTo
Submitted by: emaste [1]
- Turns out qemu 1.4.x now builds with clang (almost) as is, so remove
CLANG_HACK. [1]
- Add workaround for clang/i386 that doesn't define bit_CMOV in <cpuid.h>.
Submitted by: Brad Smith <brad@comstyle.com> [1]
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches.
Thanx to: sson, cognet, and others for much improved bsd-user support -
it now runs at least quite a few mips64 and single-threaded
arm binaries, see:
https://wiki.freebsd.org/QemuUserModeHowTo
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg01626.html
- Rename CLANG workaround knob to CLANG_HACK to avoid it being
inadvertently triggered by WITH_CLANG in make.conf etc.
- Change USE_BZIP2=yes to EXTRACT_SUFX=.tar.bz2 because the
1.1.1 distfile is in fact compressed with gzip not bzip2 despite
the extension.
- Add preliminary arm-bsd-user support, this still will only run
very simple executables like a static echo (the same as the rest
of the bsd-user targets) due to lots of syscall handling still
missing. Help welcome there! :)
This work was started by bapt and cognet, I fixed syscall arg
passing (only the first four are passed in registers, the rest
on the stack) as well as errno and carry handling at syscall
return among other things and cleaned up cognet's version a bit.
(The OpenBSD case is untested and probably wrong.) [1]
Some notes in this post:
http://lists.freebsd.org/pipermail/freebsd-emulation/2012-July/009901.html
Submitted by: cognet [1] (initial version of the patch)
emulators/qemu-devel. [1]
- Convert both qemu ports to OPTIONng.
Submitted by: luigi [1] (original version of the patch)
Optained from: qemu-devel mailinglist [1] (improved version of the patch)