===> The following configuration options are available for kqemu-kmod-1.3.0.p11_12:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
====
Notice:
If you installed this from a package and your kernel configuration
differs from the one on the package build machine (or your kernel source
is newer than the package), then the kld may not work, or even panic.
Consider building it from ports in that case.
====
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr
Mark BROKEN on 10+: KPI changes in 10 and up, use bhyve or vbox.
(If someone wants to fix it: patches welcome! :)
PR: ports/184984
Submitted by: Alex <alex323@gmail.com>
Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.
There are no user-visible changes. The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.
PR: ports/183625
Submitted by: myself
Approved by: portmgr (bdrewery)
Exp-run by: bdrewery
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
(Only the first 15 lines of the commit message are shown above )
- Switch to new header style. [1]
- Add LICENSE. [1]
- Remove 7.x bug workarounds, FreeBSD 7 is no more supported. [1]
- Respect ${CC} instead of using 'gcc'. [1]
- Switch to optionsng. [1]
- Fix build with gcc46 (it doesn't like -fformat-extensions in CWARNFLAGS.)
- Sync kqemu-kmod with these -devel updates.
PR: ports/179952 [1]
Submitted by: r4721@tormail.org
(Attempt to) fix build on head.
Note: setting CC=clang fails with
"interp.c:20:24: error: global register variables are not supported"
PR: ports/177279
Submitted by: Beeblebrox <zaphod@berentweb.com>
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Only add the tss fixup code on OSVERSIONs where its still needed.
(It _should_ do nothing elsewhere but still would be unnecessary cycles...)
- Bump PORTREVISIONs.
- Call the tss fixup code before entering the monitor instead of after.
(This fixes the problems that one user saw which I couldn't reproduce.)
- Bump PORTREVISION
- Fix wrong userland fsbase load after gdt move that caused qemu to
segfault sometimes on first invocation
- Get rid of redundant & in two places
- Bump PORTREVISION
There still is the unresolved issue of (likely) the gdt move causing the
host to hang for one guy, if this happens to you you can try the following
kernel patch that sets up seperate gdts at boot so kqemu doesn't have to
do the move:
http://people.freebsd.org/~nox/qemu/patch-sys-amd64-seperate-gdt.txt
Thanx to: Yamagi for testing
- Get rid of the infamous "fpudna in kernel mode" messages on amd64 by
calling fpudna()/npxdna() directly instead of programmatically invoking
int 7 (should also speed up the i386 case a tiny little bit that didn't
print a message) [1]
- Rename kqemu_tss_workaround to kqemu_tss_fixup [2]
- Bump PORTREVISION
Looked over by: bde [1]
Prodded by: jhb [2]
- Add a workaround for the amd64 SMP shared gdt issue that caused the
host panics - longer explanation in this post:
http://docs.freebsd.org/cgi/mid.cgi?20080501101951.GA30274 [1]
- Get rid of superfluous "kqemu " in IGNORE message when kernel source
is missing
- Pass down DEBUG_FLAGS to the build
- Bump PORTREVISION
PR: ports/113430 [1]
- Try and fix for real the issue of exiting qemu processes sometimes
stuck in devdrn
- Remove the -DSMP magic, it didn't help the amd64 SMP panics and was
useless anyway (the panics still exist, the only good workaround I've
found so far is forcing qemu onto cpu 1 and that is only possible on
HEAD using the new cpuset feature)
- Only bother with the -DKSE magic for OSVERSIONs where it matters
- Bump PORTREVISION
- add patch for recent -current that no longer uses sched_lock
- fix KERNCONF detection
- bump PORTREVISION
(There sill is that unresolved issue of the KSE/SMP CFLAGS not being
passed down to the build for one guy tho, even tho they do appear in
make -V CFLAGS...)
- Try and pass appropriate -DKSE and/or -DSMP to the compilation
(missing -DKSE is what caused the panics on -current)
- bump PORTREVISION
- Update WWW (qemu.org still seems to be down)
update emulators/kqemu-kmod to 1.3.0pre6
kqemu version 1.3.0pre6:
- compile fix for Linux kernel version >= 2.6.16
- better null LDT handling (aka Plan9 and ReactOS bug)
- moved monitor code to another address (aka win2k 256 MB bug)
oh and FreeBSD guests have been working with -kernel-kqemu
since 1.3.0pre5! (tested with 6.1RC1)
PR: ports/96337
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>