Commit graph

126 commits

Author SHA1 Message Date
Juergen Lock
d192ad85aa - Avoid using mmap MAP_ANON with a non-zero offset. [1]
- Bump PORTREVISION.

PR:		kern/71258 [1]
2010-05-30 19:22:32 +00:00
Juergen Lock
f127886266 - These only need perl as build dep so change them to USE_PERL5_BUILD.
- Some whitespace fixes.
- Bump PORTREVISION.

PR:		ports/145838 ports/145839
Submitted by:	Bapt <baptiste.daroussin@gmail.com>
2010-04-19 21:07:37 +00:00
Juergen Lock
7052bc7d68 - Fix libcurl probe for emulators/qemu and add proper dependencies and knobs.
- Bump PORTREVISIONs.

PR:		ports/145591
Submitted by:	gcooper
2010-04-11 11:42:38 +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
7f1ce3a82d Fix NOPORTDOCS.
Submitted by:	QAT
2009-12-06 22:49:50 +00:00
Juergen Lock
b987bd37c9 - Update to 0.11.1 - from the official announcement:
- fix I2C slave addressing (Juha Riihimaki)
  - Revert "vga: do not resize the screen on hw_invalidate" (Aurelien Jarno)
  - slirp: fix use-after-free (Mark McLoughlin)
  - Fix sparc.ld (Blue Swirl)
  - ELF codedump build failures (Laurent Desnogues)
  - kvm: Move KVM mp_state accessors to i386-specific code (Hollis Blanchard)
  - fix configure script with armv4l cpu (Laurent Desnogues)
  - net: disable draining tap queue in one go (Mark McLoughlin)
  - pcnet: Restart poll timer on pcnet_start (Jan Kiszka)
  - Sparc32: Fix lance (Blue Swirl)
  - mac99: fix segmentation fault on startup (Aurelien Jarno)
  - usb-linux.c: fix buffer overflow (Jim Paris)
  - ARM host: fix generated blocks linking (Laurent Desnogues)
  - qemu serial: lost tx irqs (affecting FreeBSD's new uart(4) driver)
    (Juergen Lock)
  - exec-all.h: increase MAX_OP_PER_INSTR to 96 from 64 (Aurelien Jarno)

- Added a cherry picked commit from stable branch that fixes qcow2.
2009-12-06 19:37:46 +00:00
Juergen Lock
c7acb4aa30 - Fix a serial emulation bug affecting (at least) FreeBSD 8's new
uart(4) driver.
- Bump PORTREVISION.

Reported by:	Olivier Cochard-Labbé <olivier@cochard.me>
Feature safe:	yes
2009-09-18 19:29:24 +00:00
Juergen Lock
d5169e4d2c - Remove the dynticks patch for now, it seems to cause even worse timing
behavoiur than the default -clock unix, see this post:
	http://lists.gnu.org/archive/html/qemu-devel/2009-09/msg00049.html
- Add a patch to close the tap fd before invoking the ifdown script
instead of after, this avoids triggering a KASSERT when doing things
like `ifconfig tap0 destroy' from in there.  Inspired by this post:
	http://lists.freebsd.org/pipermail/freebsd-emulation/2009-August/006700.html [1]
- Updated version of the pcap patch. [2]
- Bump PORTREVISION.

Submitted by:	gamato@users.sf.net (martinko) [1]
Submitted by:	jkim [2]
2009-09-05 14:18:17 +00:00
Roman Bogorodskiy
f32c11d872 Bump PORTREVISIONs of the gnutls dependant ports to chase gnutls update. 2009-08-16 18:04:40 +00:00
Juergen Lock
9de1013d98 Update to 0.10.6 - from the official announcement:
- e1000: ignore reset command (Kevin Wolf)
  - fix VNC memory allocation (Stefan Weil)
  - fix raw_pread_aligned return value (Christoph Hellwig)
  - allow monitor interaction when using -incoming exec: (Chris Lalancette)
  - fix -net socket,listen (Jan Kiszka)
  - live migration: don't send gratuitous packets all at once (Gleb Natapov)
  - serial: fix lost characters after sysrq (Jason Wessel)
  - Fix prototype of zfree (Stefan Weil)
  - Handle EINTR with exec: migration (Uri Lublin)
  - Delete io-handler before closing fd after migration (Uri Lublin)
  - Fix qemu_aio_flush (Andrea Arcangeli)
  - lsi53c895a: Implement additional registers (Sebastian Herbszt)
  - virtio-blk: fix warning (Gerd Hoffman)
  - i386: fix cpu reset (Nitin Kamble)
  - kvm: fix irq injection into full queue (Jan Kiszka)
  - Prevent CD-ROM eject while device is locked (Mark McLoughlin)
  - Fix screen dump with blank screen (Eduardo Habkost)
  - Fix memory leak with cpu_unregister_map_client (Isaku Yamahata)
  - Fix memory leak in SDL (Jan Kiszka)
  - Fix build on OS X 10.4 (John Arbuckle)
  - Fix leak of vlan clients after hot remove (Mark McLoughlin)
  - Fix migration after hot remove with eepro100 (Mark McLoughlin)
  - Don't start a VM after failed migration if stopped (Anthony Liguori)
  - Fix live migration under heavy IO load (Glauber Costa)
  - Honor -S on incoming migration (Paolo Bonzini)
  - Reset HPET config register on reset (Beth Kon)
  - Reset PS2 keyboard/mouse on reset (Dinesh Subraveti)
2009-07-18 16:56:07 +00:00
Juergen Lock
952f424c63 - (Attempt to) fix build on head by entirely disabling the usb host code
which is still not ported to the new usb stack yet.  (qemu could really
use some help here, the author of the old usb host code is busy with
other stuff now...)
- No PORTREVISION bump since this is a build fix.
2009-06-01 19:02:37 +00:00
Juergen Lock
a77a39e475 Update to 0.10.5 - from the official announcement:
- kvm: trim unsupported cpu features from cpuid (Avi Kivity)
   - kvm: provide a better error message for -smp > 1 (Mark McLoughlin)
   - Remove initrd printfs (Richard Jones)
   - Initial variables found by valgrind (Jean-Christophe Dubois)
   - Fix -initrd with > 4GB guests (Glauber Costa)
   - Fix busy loop on live migration for certain platforms (Uri Lublin)
   - Remove GCC 3.x requirements from docs (Hollis Blanchard)
   - ETRAX: fixes for kernel command line, ethernet address, bmi (Edgar
     Iglesias)
   - CRIS: Fix bmi (Edgar Iglesias)
   - Fix bounce buffer errors (Avi Kivity)
   - Fix regression in -kernel (Anthony Liguori)
2009-05-21 16:28:27 +00:00
Juergen Lock
634591c0bc - Update to 0.10.4 - from the official announcement:
N.B. This release contains a qcow2 corruption fix.  If you use qcow2
  disk images, it's strongly advised that you upgrade to 0.10.4.

   - Improve block range checks to remove integer overflow (Kevin Wolf)
   - e1000: do not re-init PCI config space 0 (Amit Shah)
   - fix AIO deletion race (Alex Graf)
   - reset option roms on reboot (Glauber Costa)
   - fix qcow2 corruption in cluster freeing (Gleb Natapov)
   - Enable power button event generation (Gleb Natapov)

- Added a cherry picked commit from stable branch that fixes -kernel.
2009-05-13 20:41:48 +00:00
Juergen Lock
356555b4a9 Update to 0.10.3 - from the official changelog:
- fix AIO cancellations (Avi Kivity)
  - fix live migration error path on incoming
  - avoid SEGV on pci hotplug failure (Chris Wright)
  - fix serial option in -drive
  - support DDIM for option roms (Glauber Costa)
  - avoid fork/exec on pre-2.6.27 kernels with KVM (Jan Kiszka)
  - block-vpc: don't silently create smaller images than requested (Kevin Wolf)
  - Fix non-ACPI timer interrupt routing (Beth Kon)
  - hpet: fix emulation of HPET_TN_SETVAL (Jan Kiszka)
  - kvm: fix cpuid initialization (Jan Kiszka)
  - qcow2: fix corruption on little endian hosts (Kevin Wolf)
  - avoid leaing memory on hot unplug (Mark McLoughlin)
  - fix savevm/migration after hot unplug (Mark McLoughlin)
  - Fix keyboard mapping on newer Xords with non-default keymaps (balrog)
  - Make PCI config status register read-only (Anthony Liguori)
  - Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity)
2009-05-01 18:47:10 +00:00
Juergen Lock
8899c2d0a9 Update to 0.10.2 - from the official changelog:
- fix savevm/loadvm (Anthony Liguori)
  - live migration: fix dirty tracking windows (Glauber Costa)
  - live migration: improve error propogation (Glauber Costa)
  - qcow2: fix image creation for > ~2TB images (Chris Wright)
  - hotplug: fix error handling for if= parameter (Eduardo Habkost)
  - qcow2: fix data corruption (Nolan Leake)
  - virtio: fix guest oops with 2.6.25 kernels (Rusty Russell)
  - SH4: add support for -kernel (Takashi Yoshii, Aurelien Jarno)
  - hotplug: fix closing of char devices (Jan Kiszka)
  - hotplug: remove incorrect check for device name (Eduardo Habkost)
  - enable -k on win32 (Herve Poussineau)
  - configure: use LANG=C for grep (Andreas Faerber)
  - fix VGA regression (malc)
2009-04-07 21:02:09 +00:00
Juergen Lock
b33c98dd75 - pkg-message updates:
- remove obsolete note about slirp on 64 bit hosts (this should work now.)
  - clarify the note about kern.maxdsiz on i386 (only affects 6.x)
- Bump PORTREVISION
2009-03-24 18:54:18 +00:00
Juergen Lock
5c6fe2453b - Update to 0.10.1 - from the official changelog:
- virtio-net: allow masking of notifications on empty queue (Alex Williamson)
  - e1000: fix rx descriptor low threshold logic (Alex Willaimson)
  - x86 tcg: add NULL checks to lsl instruction (Jan Kiszka)
  - kvm vga: fix screen corruption with -std-vga and Windows (Avi Kivity)
  - kvm vga: fix screen corruption with Ubuntu installations (Glauber Costa)
  - virtio-net: check right return size on sg list (Alex Williamson)
  - Make qemu_announce_self handle holes (live migration after hotplug)
    (Marcelo Tosatti)
  - Revert r6804-r6808 (qcow2 allocation info).  This series of changes added
    a high cost to startup for large qcow2 images (Anthony Liguori)
  - qemu-img: fix help message (Aurelien Jarno)
  - Fix build for non-default installs of SDL (Anthony Liguori)
  - Fix race condition in env->interrupt_request.  When using TCG and a dynticks
    host timer, this condition could cause TCG to get stuck in an infinite
    loop (Aurelien Jarno)
  - Fix reading encrypted hard disk passwords during early startup (Jan Kiszka)
  - Fix encrypted disk reporting in 'info block' (Jan Kiszka)
  - Fix console size with tiny displays (MusicPal) (Jan Kiszka)
  - Improve error handling in bdrv_open2 (Jan Kiszka)
  - Avoid leaking data in mux'ed character devices (Jan Kiszka)
  - Fix initial character device reset (no banner in monitor) (Jan Kiszka)
  - Fix cpuid KVM crash on i386 host (Lubomir Rintel)
  - Fix SLES10sp2 installation by adding ISTAT1 register to LSI SCSI emulation
    (Ryan Harper)

- Add physical CDROM fixes (still not perfect tho, see pkg-message)
- Add MAKE_JOBS_SAFE fix and mark as such
2009-03-23 20:54:07 +00:00
Juergen Lock
abac9e8ce1 - Add notes about reports of qcow(2) corruption and about (in)security
of raw image format autodetection to pkg-message
- Bump PORTREVISION
2009-03-08 23:34:55 +00:00
Juergen Lock
3bcf696322 Update WWW. 2009-03-08 18:59:00 +00:00
Juergen Lock
31f27fb3f8 Fix NOPORTDOCS. (doh!) 2009-03-08 18:28:26 +00:00
Juergen Lock
e332617a7d Update to 0.10.0 - from the official changelog:
- TCG support (No longer requires GCC 3.x)
  - Kernel Virtual Machine acceleration support [kernel bits not ported
    to FreeBSD yet]
  - BSD userspace emulation [untested on FreeBSD, probably doesn't work
    at least for i386 hosts]
  - Bluetooth emulation and host passthrough support [not ported to
    FreeBSD yet]
  - GDB XML register description support
  - Intel e1000 emulation
  - HPET emulation
  - VirtIO paravirtual device support
  - Marvell 88w8618 / MusicPal emulation
  - Nokia N-series tablet emulation / OMAP2 processor emulation
  - PCI hotplug support
  - Live migration and new save/restore formats
  - Curses display support
  - qemu-nbd utility to mount supported block formats [not ported to
    FreeBSD yet]
  - Altivec support in PPC emulation and new firmware (OpenBIOS)
  - Multiple VNC clients are now supported
  - TLS encryption is now supported in VNC
  - MIPS Magnum R4000 machine (Herve Poussineau)
  - Braille support (Samuel Thibault)
  - Freecom MusicPal system emulation (Jan Kiszka)
  - OMAP242x and Nokia N800, N810 machines (Andrzej Zaborowski)
  - EsounD audio driver (Frederick Reeve)
  - Gravis Ultrasound GF1 sound card (Tibor "TS" Schuetz)
  - Many, many, bug fixes and new features
2009-03-08 17:09:43 +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
Pav Lucistnik
d095d4a965 - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 19:44:02 +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
8a13eaf0cc Fix build in unusual environments:
- CFLAGS containing commas [1]
- Missing /usr/bin/perl symlink [2]

Requested by:	Denis Kozadaev <denis@tambov.ru> [1]
Requested by:	Michal Bartkowiak <michal@bartkowiak.biz> [2]
2008-11-18 20:07:53 +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
Pav Lucistnik
acacd0d015 - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 09:38:45 +00:00
Juergen Lock
5b5db960b8 Chase moved MASTER_SITE 2008-06-20 22:14:55 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +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
ea0a91f50e - Add notes about how to autoload kqemu at boot and about the fact that
kqemu only accellerates qemu-system-x86_64 on amd64 that were missing
  in qemu's pkg-message [1]
- Update the note about kqemu on amd64 SMP, and add a reminder to keep
  kqemu in sync with the kernel while I'm at it
- Bump PORTREVISION

Noticed by:	bakul [1]
2008-05-13 18:29:38 +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
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
Pav Lucistnik
9fc1c4fe89 - Remove USE_GETOPT_LONG which is a no-op since March 2007 2008-03-20 09:56:52 +00:00
Martin Wilke
2d73db3533 - Chase devel/sdl12 shlib version bump 2008-03-13 14:28:35 +00:00
Juergen Lock
710a65a0c4 Fix unchecked block read/write vulnerability
Obtained from:	qemu cvs
Security:	http://www.vuxml.org/freebsd/9cfbca7f-efb7-11dc-be01-0211060005df.html
2008-03-11 23:22:24 +00:00
Juergen Lock
b2117034c8 Add knob to explicitly add/remove gnutls dependency
Noticed by:	jkim
2008-03-04 22:22:56 +00:00
Juergen Lock
4a1b551d40 Disable HACKS_CIRRUS while it's not working
PR:		ports/119864
Submitted by:	Kyryll A Mirnenko <mirya@zoc.com.ua>
2008-01-21 22:44:33 +00:00
Juergen Lock
5eb7c371b5 Actually remove removed patches (oops!)
Pointyhat to:	nox
2008-01-21 01:00:52 +00:00
Juergen Lock
12150beb71 Update to 0.9.1
Changelog at http://fabrice.bellard.free.fr/qemu/changelog.html
2008-01-20 17:16:05 +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
3c0080f3fd Add another MASTER_SITE while qemu.org is down.
Submitted by:	fenner@ (portsurvey)
2007-06-07 19:12:11 +00:00
Juergen Lock
7cd4402a2b Merge qcow2 fixes from qemu-devel (cvs):
- Qcow2 corruption fix, by Juergen Keil.
- Qcow2: Release refcount table clusters after growing the refcount table,
  by Juergen Keil.
2007-05-26 16:08:17 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Juergen Lock
a9da25a9a9 Add security fixes from debian etch (slightly adapted to this version)
Obtained from:	debian
Security:	http://www.vuxml.org/freebsd/0ac89b39-f829-11db-b55c-000e0c6d38a9.html
2007-05-02 19:54:05 +00:00
Juergen Lock
db495b5554 Add CONFLICTS for qemu-devel
Approved by:	miwi (mentor, implicit)
2007-03-10 17:05:00 +00:00