Commit graph

101 commits

Author SHA1 Message Date
Juergen Lock
fcc2b18cb3 - Add patch to fix mips-softmmu target crashes with clang. [1]
- Remove USE_GCC.
- Bump PORTREVISION.

Submitted by:	dim [1]
2013-10-03 13:10:13 +00:00
Juergen Lock
119a4c1a03 - Add patch to fix pcnet-pci NIC big endian guests like MIPS Malta: [1]
http://lists.nongnu.org/archive/html/qemu-stable/2013-08/msg00217.html

  See also gonzo's blog post:

	http://kernelnomicon.org/?p=401

- Bump PORTREVISION.

Submitted by:	gonzo (via irc) [1]
Obtained from:	qemu upstream [1]
2013-09-05 17:39:25 +00:00
Juergen Lock
f2f3e3e60a - Update to 1.6.0 - announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-08/msg02245.html

- Remove bsd-user support as sson's patches no longer apply, you can still
  use his (older) git tree or my port of it on redports as described here:

	https://wiki.freebsd.org/QemuUserModeHowTo
2013-08-20 22:03:10 +00:00
Juergen Lock
ec69b9504e - Update to 1.5.1, announce message is here:
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]
2013-07-06 17:09:57 +00:00
Juergen Lock
b179b768b4 - Update to 1.5.0, announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg02557.html

  Full changelog:

	http://wiki.qemu.org/ChangeLog/1.5

  The new libusb host code needs recent 10-current; for older releases you
  can still try the net/usbredir support knob, see pkg-message for details.

- Update pkg-message a bit.

Thanx to:	emaste for some suggestions
2013-05-29 18:01:53 +00:00
Juergen Lock
56931a5c0c - Update to 1.4.1, announce posting is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg02956.html

- Update to sson's latest bsd-user patches.
- Add bugfix for mips64 target uncovered by --enable-debug. [1]

Obtained from:	qemu-devel mailinglist [1]
2013-05-05 20:27:15 +00:00
Juergen Lock
80750a345d - Update to sson's latest bsd-user patches.
- 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]
2013-04-25 19:34:20 +00:00
Jung-uk Kim
6c85d3bc3f Correct Subversion properties to fix patch. 2013-03-29 23:58:11 +00:00
Juergen Lock
45aa9370f0 - Update net/usbredir to 0.6 .
- 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
2013-03-29 17:40:38 +00:00
Juergen Lock
22ed0bf0be - Update to 1.1.1, announce message is here:
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)
2012-07-19 20:15:43 +00:00
Juergen Lock
b4d7f46da9 - Update net/usbredir to 0.4.3 .
- Update emulators/qemu-devel to 1.1.0 - announce posting is here:

	http://lists.nongnu.org/archive/html/qemu-devel/2012-06/msg00072.html
2012-06-09 16:19:05 +00:00
Juergen Lock
9069234177 - Add patch to improve e1000 rx performance especially with netmap to
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)
2012-06-01 20:49:50 +00:00
Juergen Lock
743f1c15fc Update to 1.0.1 - announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-02/msg02458.html
2012-02-17 22:31:17 +00:00
Juergen Lock
188ce96b32 Update to 1.0, announce message is here:
http://lists.nongnu.org/archive/html/qemu-devel/2011-12/msg00121.html

Feature safe:	yes
2011-12-02 19:28:07 +00:00
Juergen Lock
f0a083fe05 Update to 0.15.1 - Changelog:
http://wiki.qemu.org/ChangeLog/0.15
2011-10-13 19:08:30 +00:00
Juergen Lock
78889e9c76 - Add ahci emulation fix for FreeBSD guests. [1]
- Add OPTION to build a seabios git snapshot that add ahci boot disk
  emulation. [2]
- Bump PORTREVISION.

Submitted by:	avg [1]
Suggested by:	avg [2]
2011-09-16 19:17:12 +00:00
Juergen Lock
4a44907122 - Update to 0.15.0 - Changelog:
http://wiki.qemu.org/ChangeLog/0.15
2011-08-21 15:49:39 +00:00
Juergen Lock
85c8cc458d - Add patches and knob (defaulted to off) to support udp networking
and a patch for promiscuous multicast for the emulated e1000 nic,
  both to support using qemu with the (also to be updated)
  emulators/gns3 port.
- Change DIST_SUBDIR to qemu/${PORTVERSION} because PATCHFILES names
  are not versioned.

Requested by:	Benjamin Epitech <mlspirat42@gmail.com>
		(via private email)
Obtained from:	http://code.gns3.net/qemu-patches/
2011-07-13 20:01:41 +00:00
Juergen Lock
b7e9b8d7f4 - Update to 0.14.0 .
- Update amd64 host bsd-user linker script to fix build on
  -current/amd64. [1]
- Some updates to the pkg-message.

PR:		ports/155558 [1]
Submitted by:	Garrett Cooper <yanegomi@gmail.com> [1]
2011-04-01 19:30:21 +00:00
Juergen Lock
531ab2bba4 - (Attempt to) fix build on head.
- No PORTREVISION bump since this is a build fix.

PR:		ports/155558
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2011-03-15 18:30:02 +00:00
Juergen Lock
1677e361b4 Fix a make -j race. (At least this time the bug was upstream...)
Submitted by:	QAT
2010-10-22 19:07:24 +00:00
Juergen Lock
5269a286ff Update to 0.13.0 2010-10-21 20:16:45 +00:00
Juergen Lock
1ecc2331f0 Update to 0.12.5, announce message is here:
http://lists.gnu.org/archive/html/qemu-devel/2010-07/msg01402.html
2010-07-24 12:08:22 +00:00
Juergen Lock
b418f601b3 - Update to 0.12.4, announce message is here:
http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg00465.html

- Add patch that allows running the resulting qemu{,-system-*} from the
  build dir without having to pass the pc-bios dir with -L if no qemu port
  or another version is installed.
2010-05-10 20:03:56 +00:00
Juergen Lock
a1e19f5eda Update to 0.12.3, announce message is here:
http://lists.gnu.org/archive/html/qemu-devel/2010-02/msg01594.html
(Subject says 0.12.2, but in fact the message is about 0.12.3.)

Feature safe:	yes
2010-03-01 20:05:17 +00:00
Juergen Lock
2a658a958c - Welcome emulators/qemu-devel ppc host support! :) [1]
- Attempt to make the pkg-message.s a little more readable. [2]
- Bump PORTREVISIONs.

Submitted by:	Andreas Tobler <andreast@fgznet.ch> [1]
Submitted by:	wkoszek [2]  (with modifications)
2010-02-08 22:19:29 +00:00
Juergen Lock
47de8e10d8 - Welcome usable qemu pcap networking! :)
1. Fix packet delays. [1]
  2. Truncate oversize packets according to host interface's MTU
     to avoid e.g. Linux guests panic'ing.
     Note:  This is only necessary as a stopgap measure for cases like
     host inferfaces using TSO (it still causes retransmissions),
     the better workaround is to disable the feature on the host
     interface while using qemu's pcap code.
- Add note about pcap to pkg-message.s
- Bump PORTREVISIONs.

Submitted by:	jkim [1]
2010-02-04 20:27:30 +00:00
Juergen Lock
d4e5177000 Finally bring qemu 0.12.1 into ports as the new emulators/qemu-devel,
release announcement is here:
	http://lists.gnu.org/archive/html/qemu-devel/2009-12/msg02151.html

Quoting from pkg-message:

- kqemu is no longer supported in qemu upstream after the 0.11 branch
was created, which means also not in this version.  (Linux has moved
on to kvm now for qemu(-like) virtualization needs, so if you want qemu
to go faster and don't want to switch to virtualbox or stick to the older
emulators/qemu port which is at 0.11.1 atm and as such still supports
kqemu you should help getting the FreeBSD kvm port updated and
completed:
	http://wiki.freebsd.org/FabioChecconi/PortingLinuxKVMToFreeBSD
)
2010-01-17 16:20:56 +00:00
Juergen Lock
510273c0b6 Fix build on head (doh!)
Submitted by:	pointyhat via pav
2009-06-13 19:26:28 +00:00
Juergen Lock
1f349f20c2 - Update pkg-message, adding a note about this currently being at an older
version than the main port among other things
- Add MAKE_JOBS_SAFE fix and mark as such
- Bump PORTREVISION
2009-03-24 19:39:02 +00:00
Juergen Lock
b1281b8d4e Rename band-aid build fix patch so it gets applied after the file it
patches (duh!)

Pointyhat to:	nox
2009-02-28 17:31:36 +00:00
Juergen Lock
16526aaf38 Add band-aid build fix for -current (usb host support still wont work with
the new stack - helpful hands wanted there!)

PR:		ports/132126
Submitted by:	Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
2009-02-28 16:50:44 +00:00
Juergen Lock
d6764fe00e Attempt to fix savevm that was broken by the original patch-CVE-2008-0928
by allowing writes outside the disk image boundaries if the guest isn't
running.

PR:		ports/129417
Submitted by:	Nate Eldredge <neldredge@math.ucsd.edu>
Obtained from:	debian (sid kvm_72+dfsg-3.diff.gz, adapted)
2008-12-04 22:36:46 +00:00
Juergen Lock
6bc005ce59 Fix heap overflow in Cirrus emulation
Obtained from:	qemu svn
Security:	http://www.vuxml.org/freebsd/07bb3bd2-a920-11dd-8503-0211060005df.html
2008-11-02 22:59:10 +00:00
Juergen Lock
4cbdac07e0 - Add pcap patch as an OPTION
- Bump PORTREVISION

Submitted by:	jkim
2008-08-02 18:29:39 +00:00
Juergen Lock
54b840b37a - Update to 20080620 svn snapshot, which uses the new kqemu-kmod-devel
port that now also works for the 32 bit "qemu" executable on amd64
  (if you build with the KQEMU knob on, you have to deinstall the old
  kqemu-kmod first if it is installed)
- Add an ALL_TARGETS knob that, if turned off, omits the remaining dyngen
  targets, eliminating the need for gcc 3.4 (everything but ppc and sh4
  has been converted to tcg in this snapshot)
- Add tcg fixes for amd64 guests on i386 hosts (two of three have been
  committed to qemu svn in the meantime) [1]
- Update the pkg-message about kqemu on amd64, and add a note about using
  nfs with slirp, the latter [2]
- Homepage now at http://bellard.org/qemu/ - update links

Submitted by:	nox [1]
Submitted by:	joerg [2]
2008-07-08 18:42:09 +00:00
Juergen Lock
de9d1ceb0a Fix NOPORTDOCS when texi2html is not installed
Found by:	itetcu
2008-06-03 18:39:51 +00:00
Juergen Lock
686e3757f3 - Add note about network boot issues to pkg-message.s
- Remove obsolete dhcp patch
- Bump PORTREVISION
2008-05-17 18:53:44 +00:00
Juergen Lock
bac358a249 Fix "drive_init()" Disk Format Security Bypass
Obtained from:	qemu cvs
Security:	http://www.vuxml.org/freebsd/8950ac62-1d30-11dd-9388-0211060005df.html
2008-05-08 20:45:10 +00:00
Juergen Lock
c291820c82 - Use PREFIX for qemu-ifup, install default scripts, bump PORTREVISION [1]
- Patch a pointer to pkg-message into the manpage

Submitted by:	bms [1]
2008-04-03 20:18:40 +00:00
Juergen Lock
a0b37a1336 - Fix -curses typo concerning ctrl-d and ctrl-t handling
- Bump PORTREVISION

Obtained from:	qemu cvs
2008-03-21 22:20:07 +00:00
Juergen Lock
e2f267539d - Add runtime warning when aio is not loaded
- Bump PORTREVISION

Requested by:	several people on freebsd-emulation@
2008-03-21 17:31:52 +00:00
Juergen Lock
36d9a676be - Add tcg bugfix that went missing in the security rush [1]
- Change the e1000 mmio addr space according to spec [2]
- Update pkg-message
- Bump PORTREVISION

Submitted by:	nox [1]
Obtained from:	qemu cvs [2]
2008-03-12 20:01:31 +00:00
Juergen Lock
cf1bcdae1c - Update to 2008-03-02 snapshot [1]
- Fix unchecked block read/write vulnerability [2]

Submitted by:	nox [1]
Obtained from:	qemu cvs [2]
Security:	http://www.vuxml.org/freebsd/9cfbca7f-efb7-11dc-be01-0211060005df.html
2008-03-11 23:34:14 +00:00
Juergen Lock
62d040db7a Fix translation block local denial of service vulnerability
Obtained from:	qemu cvs
Security:	http://www.freebsd.org/ports/portaudit/30f5ca1d-a90b-11dc-bf13-0211060005df.html
2007-12-13 01:10:53 +00:00
Juergen Lock
d79579befe - Update to 20070802 snapshot
(longer) log is at:
  http://people.freebsd.org/~nox/qemu/qemu-devel-log-20070802.txt
2007-08-09 20:03:30 +00:00
Juergen Lock
af3dea9281 - Update to 20070702 snapshot
(longer) log is at:
  http://people.freebsd.org/~nox/qemu/qemu-devel-log-20070702.txt
- Point WWW back at fabrice.bellard.free.fr, qemu.org still seems to be down
2007-07-10 20:24:59 +00:00
Juergen Lock
2e8303dd61 - Add security fixes from debian etch (slightly adapted to this version)
- Disable -vmwarevga acceleration code for now (missing range checks)

Obtained from:	debian
Security:	http://www.vuxml.org/freebsd/0ac89b39-f829-11db-b55c-000e0c6d38a9.html
2007-05-02 19:55:07 +00:00
Juergen Lock
f3cb5f8aa1 Add patch to avoid eepro100 crashes
Approved by:	miwi (mentor, implicit)
Obtained from:	Stefan Weil on qemu-devel mailinglist
2007-04-09 20:24:44 +00:00
Juergen Lock
1b0229c179 Update to 2007-04-05 snapshot:
- PowerPC bugfixes:
  - must clear carry bit when doing addic with a zero immediate value
  - fix missing RETURN in micro-operation that would lead to random failures
    and crashes
  - add USE_PRECISE_EMULATION compilation-time option to choose between
    getting exact floating point results and fast but less accurate computation.
- PowerPC improvments:
  - add missing 64 bits rotate instructions
  - safely define TARGET_PPCSPE when 64 bits registers are used
    a separate target will be needed to use it in 32 bits mode on 32 bits hosts.
- MIPS: Fix enough FPU/R2 support to get 24Kf going.
- Add missing PowerPC 64 instructions
  PowerPC 64 fixes.
- Upgrade Sparc FPU version (based on patch by Aurelien Jarno)
- One more bit of mips CPU configuration, and support for early 4KEc
  which implemented only MIPS32R1. Thanks to Stefan Weil to insist he's
  right on that. :-)
- Sparc32/64 CPU selection
- Fix segfault with -nographic, by Enache Adrian.
- New model for PowerPC CPU hardware interrupt events:
  move all PowerPC specific code into target-ppc/helper.c to avoid polluting
  the common code in cpu-exec.c. This makes implementation of new features
  (ie embedded PowerPC timers, critical interrupts, ...) easier.
  This also avoid hardcoding the IRQ callback in the OpenPIC controller,
  making it more easily reusable and allowing cascading.
- Fix / update PowerPC BookE definitions.
- PPC: Fix rfi instruction: do not depend on current execution mode
   but on the execution mode that will be effective after the return.
  Add rfci, rfdi and rfmci for BookE PowerPC.
  Extend mfdcr / mtdcr and implement mfdrcx / mtdcrx.
- Sanitize mips exception handling.
- Better fix for OpenPIC: should not depend on PowerPC.
- As embedded PowerPC TLB model is very different from PowerPC 6xx ones,
  define ppc_tlb_t as an union of the two.
- Merge PowerPC 405 MMU model.
- Embedded PowerPC timers support.
- Support for PowerPC BookE exception model.
  No need to requeue timer exceptions.
  Fix nip saving for 64 bits PowerPC.
- Malta CBUS UART support.
- Fix usb hid and mass-storage protocol revision, by Juergen Keil.
- Update for binfmt_misc handler, by Stefan Weil.
- Large kernel initrd fix (initial patch by Daniel Jacobowitz).
- x86: Generate double and triple faults, by Bernhard Kauer.
- MIPS64 configurations.
- Actually enable 64bit configuration.
- Reorganise Sun4m to allow other machine types
- Add SparcStation-10 machine
- Improved initrd support for mips.
- Single mode for PIC i8259, by Bernhard Kauer.
- Qcow2 corruption fix, by Juergen Keil.
- VMware SVGA II emulation, by Andrzej Zaborowski.
- ne2k buffer full bug fix, by Marcel Block.
- Eepro100 emulation, by Stefan Weil.
- Qcow2: Release refcount table clusters after growing the refcount table,
  by Juergen Keil.
- MIPS32R2 needs RDPGPR/WRPGPR instructions even when no shadow registers
  are implemented.
- i386 return APIC ID with cpuid, by Bernhard Kauer.
- Infrastructure to support more than 2 MMU modes.
  Add example for Alpha and PowerPC hypervisor mode.
- And some more bugfixes

Approved by:	miwi (mentor, implicit)
2007-04-07 19:14:42 +00:00