Commit graph

107 commits

Author SHA1 Message Date
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
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
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
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
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
7d720684c9 Update to 0.9.0:
- Mouse relative offset VNC extension (Anthony Liguori)
- info vnc command (Anthony Liguori)
- gdbserver fix

NOTES: Please read UPDATING!

Approved by:	miwi (mentor)
2007-02-06 23:49:01 +00:00
Juergen Lock
3c8cb897ad Update to 2007-02-03 snapshot:
- Fix `could not open hard disk image '/dev/ad0'' (e.g.) when open(2)
fails with EPERM instead of EACCES for ro devices.
- PIIX4 support, by Aurelien Jarno.
- Gallileo GT64xxx support, by Aurelien Jarno.
- MIPS Malta system and devices support, by Aurelien Jarno and Stefan Weil.
- ARM ELF loader.
- Improved console handling, thanks Stefan Weil.
- Disable Malta floppy controller for now, by Aurelien Jarno.
- Big endian support for Gallileo, by Aurelien Jarno.
- Add more ATAPI CDROM DMA support, by Juergen Keil.
- Add ARM Angel semihosting to system emulation.
- Don't resume guest when gdb connection terminates and -S specified.
- mips: Implementing dmfc/dmtc.
- Fix DMA timeouts on FreeBSD, by Carlo Marcelo Arenas Belon.
- New multiple snapshot support for VMDK, by Igor Lvovsky.
- Add support for 82371FB (Step A1) and Improved support for 82371SB
(Function 1), by Carlo Marcelo Arenas Belon.
- Accept -help.
- Accept --foo as an alias for -foo.
- Add nodelay option for TCP character devices.
- Use standard character device interface for gdbstub.
- GDB hosted syscalls.
- Upgrade the apic version_id, by Don Laor.
- Save some vm space for the regular program loading zone, by
Pierre d'Herbemont
- script=no for the TUN/TAP net option, by Jean-Christian de Rivaz
- Sparc arm/mips/sparc register patch, by Martin Bochnig.
- PIIX4 SMBus host, EEPROM device emulation, by Ed Swierk.
- sem* and msg* for qemu, by Kirill Shutemov.
- And some more bugfixes.

Approved by:	miwi (mentor, implicit)
2007-02-03 22:15:28 +00:00
Juergen Lock
50ae7e59e8 Fix crashes on -current/amd64 hosts
Submitted by:	jkim
Approved by:	miwi (mentor, implicit)
2007-01-31 23:20:54 +00:00
Juergen Lock
8598b8520e Update qemu to 2007-01-11 snapshot:
- add slirp udp fix
  [this should fix the dns problems with some guests]
- document slirp problems on recent -current (I don't have a -current box
  so if someone wants to help debug this you are most welcome!)
- memsave monitor command
- Dynamic handling of guest mice, by Lonnie Mendez.
- PPC32 Trace Exception and Trap instruction, by Jason Wessel.
- Add -option-rom option to allow loading of PCI option ROMs, by
  Anthony Liguori.
- Add -boot n option for x86 using PXE, by Anthony Liguori.
  [for use with tuntap]
- Support for Bochs "growing" images, by Volker Ruppert.
- Japanese keyboard patch (kazu)
- Revert -disk patch, as requested by Fabrice. The general idea of this
  patch is sound, but the implementation is just too ugly.
  [this should fix the hanging linux guests]
- Devfn number for the PIIX3 southbridge, by Aurelien Jarno.
- Increase MIPS BIOS from 128kB to 4MB, by Aurelien Jarno.
- And some more bugfixes.

Approved by:	miwi (mentor)
2007-01-12 00:13:58 +00:00
Juergen Lock
cc20143e5b Add patch to pass windows keys to qemu guests
PR:		ports/107216
Submitted by:	Scott Robbins <scottro@nyc.rr.com>
Approved by:	miwi (mentor)
2006-12-26 22:41:13 +00:00
Juergen Lock
332215d971 update qemu to 20061225 snapshot:
- Enable TCP_NODELAY, by Daniel Jacobowitz. [speeding up slirp]
- Run monitor over unix domain sockets, by Anthony Liguori.
- Unix domain socket support for VNC, by Anthony Liguori.
- Daemonize option, by Anthony Liguori.
- SCSI emulation improvements, by Chuck Brazie.
[adding scsi disk/cdrom emulation to i386/amd64 guests using new -disk
syntax - quoting /usr/local/share/doc/qemu/qemu-doc.html:

 "-disk scsi,img=file[,sdx=a..g][,type=disk|cdrom][,id=n]"

    Use file as the SCSI disk/CD-ROM image. The defaults are: sdx=a,type=
    disk,id='auto assign'

doing a quick test with a FreeBSD guest I was able to mount and look at
a ufs partition; doesn't seem to quite work with (some?) linux guests
yet tho, will post about this on the qemu list...]
- and a few bug fixes.

Approved by:	miwi (mentor)
2006-12-25 19:49:52 +00:00
Martin Wilke
19aaa9ef71 - Update to 20061216
- Fix usb host support

PR:		ports/106820
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-12-17 00:22:36 +00:00
Martin Wilke
805b398386 - Update to 20061214
- Fix physical device access

PR:		ports/106727
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-12-15 08:17:38 +00:00
Martin Wilke
4d356ed643 - Update to 20061102
PR:		ports/105086
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 18:29:35 +00:00
Pav Lucistnik
4a45abe094 - update to 20061031 cvs snapshot (now uses aio and supports acpi and a new
qcow2 image format)
- properly respect NOPORTDOCS
- make -serial /dev/cuadX work (modified patch from this post:
  http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00201.html , and hi
  Michael! :)
- add WITHOUT_SDL (hi joshe! :) and WITHOUT_CDROM_DMA knobs (the latter to work
  around atapicam problems in FreeBSD guests with the now by default enabled
  ide cdrom dma patch)
- use OPTIONS

PR:		ports/104989
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-10-31 22:55:34 +00:00
Shaun Amott
daf9bed6c4 - Fix build on 4.x [1]
- Respect CFLAGS [2]
- Support parallel port under FreeBSD [3]

PR:		ports/102154 [1], ports/102188 [2]
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> [1],
		Stanislav Sedov <ssedov@mbsd.msk.ru> [2],
		Robert Jenssen (via freebsd-ports) [3]
Approved by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer) [2] [3]
2006-08-21 23:02:01 +00:00
Norikatsu Shigemura
abffcb30ec Update to 0.8.2.
PR:		ports/101381
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-08-07 16:10:27 +00:00
Shaun Amott
b8cd95d65e - Add a fix by Anthony Liguori for the 'invisible wall' problem:
http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html

- Update pkg-message (linux 2.6 default HZ)

PR:		ports/100722
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Approved by:	ahze (mentor, implicit)
2006-07-23 00:04:01 +00:00
Norikatsu Shigemura
a61ec5194a Update to 0.8.1.
PR:		ports/96876
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-05-06 16:15:41 +00:00
Pav Lucistnik
fef8509c79 - Update to 2006-04-26 snapshot
PR:		ports/96426
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-04-29 09:15:50 +00:00
Volker Stolz
1039465e55 Fix build on 4.x
PR:		ports/95887
Submitted by:	maintainer
2006-04-23 17:33:29 +00:00
Norikatsu Shigemura
4ec773e477 Update to 2006-04-14 snapshot.
o no longer needs 3-wire configs when using the emulated serial port.
o update patch-libmath to match this commit: [1]
	http://docs.freebsd.org/cgi/mid.cgi?200512021345.jB2Dj6D3057000
o Allow multiple graphics devices.
o ARM Versatile Platform Baseboard emulation.
o Thumb prefetch abort fix.
o simulate a null modem cable.
o 64 bit disassembly.
o USB tablet support (Brad Campbell, Anthony Liguori).
o mouse API changes.

Suggested by:	jkim [1]
PR:		ports/95826
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-04-16 02:38:02 +00:00
Norikatsu Shigemura
8c52a70b64 Update to 2006-04-08 snapshot.
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-04-09 17:09:42 +00:00
Pav Lucistnik
66a6dd30c3 - Lonnie sent me updates to 2 of his usb fixes,
- and posted another usb bugfix affecting FreeBSD guests
- (optionally) seperate out the two WITH_HACKS patches after I learned the
  cirrus patch can cause problems with xp guests too

PR:		ports/94949
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-03-26 15:11:36 +00:00
Pav Lucistnik
b56ad1448d - Add Lonnie's usb host support patches and a bunch of other fixes mostly from
cvs, including a workaround for the -nographic crash.

PR:		ports/94654
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-03-18 21:23:42 +00:00
Edwin Groothuis
ff251aa40f two additional slirp patches for emulators/qemu
Apply two additional slirp patches from the mailing list
	(and quiet WITH_HACKS patching):

	http://lists.gnu.org/archive/html/qemu-devel/2005-12/msg00277.html
	(-> files/patch-slirp-nat)

	http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00228.html
	(-> files/patch-slirp-mbuf.c)

PR:		ports/91358
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
2006-01-05 22:21:14 +00:00
Pav Lucistnik
762aa1d96a - Fix patch from previous revision
PR:		ports/90778
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-12-21 23:46:31 +00:00
Pav Lucistnik
a5136c5d65 - add slirp speedup patch by Paul Brook (avoiding host -> guest packet loss)
PR:		ports/90763
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-12-21 22:12:46 +00:00
Sam Lawrance
53d4bbec5b Update to 2005-11-30 snapshot.
PR:		ports/ports/89816
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-12-03 03:18:40 +00:00
Sam Lawrance
67b8cfeeef Update to 2005-11-12 snapshot.
PR:		ports/88952
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-11-14 05:17:09 +00:00
Norikatsu Shigemura
b4846334d0 Fix build on 4.x.
PR:		ports/88522
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-11-05 14:00:44 +00:00
Norikatsu Shigemura
6561fa6425 Update to 0.7.2s.2005.1030.
o separate kqemu build phase to emulators/kqemu-kmod port.
o cleanup kqemu support.
o cleanup MASTER_SITES.

Discussed with:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Reviewed by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-10-31 13:43:13 +00:00
Pav Lucistnik
edfcbac53b - Now compiles with system compiler on amd64 again (Klaus-J. Wolf)
- Fix bogus EBUSY with /dev/kqemu on 5+ (Manuel Stuehn)

PR:		ports/86617, ports/87086
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-10-07 19:26:21 +00:00
Pawel Jakub Dawidek
e3f4531d51 Fix a panic on qemu process close (when kqemu is used).
Structure 'ks' was used after it has been freed.

Reviewed by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-10-01 17:03:03 +00:00
Marcus Alves Grando
0059228c1d Fix build in 4.x
Make portlint happier

PR:		86686
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Approved by:	pav (mentor)
2005-10-01 13:25:09 +00:00
Norikatsu Shigemura
21c9816960 Update to 0.7.2s.20050909.
PR:		ports/85947
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-09-10 17:04:42 +00:00
Jeremy Messenger
675507535e Update to 20050717 snapshot, short ChangeLog:
Merge /dev/kqemu cloning support to kmod_bsd.c (Craig Boston),
	Giant-lock kqemu (Bakul Shah), Utilize BSDMakefile to compile
	kqemu.ko, and cosmetic change (Norikatsu Shigemura)

	See more info in ports/83691 for full ChangeLog.

PR:		ports/83691
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-07-19 06:06:56 +00:00
Norikatsu Shigemura
4a9e32b0cc Update to 2005-05-28 snapshot.
PR:		ports/81633
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-05-30 14:56:51 +00:00
Pav Lucistnik
8ca48ff897 - Update to 2005-05-02 snapshot
- Add kqemu support

PR:		ports/80595
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2005-05-05 12:41:10 +00:00
Norikatsu Shigemura
230fca0f1f o Oops, I forgot to commit 2 patches.
o In some environment, qemu missing 2 patches might be able
  to compiled.  So I bump PORTREVISION.

Pointed out by:	Jung-uk Kim <jkim@niksun.com>
		Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
		Mark Treacy <mark.treacy@gmail.com>
		pointyhat via kris
2005-05-03 04:02:46 +00:00
Norikatsu Shigemura
12b9c1f2e3 o Update to 0.7.0. [1]
o Remove hard samba dependency. [2]

PR:		ports/80486
Submitted by:	Jung-uk Kim <jkim@niksun.com> [1]
		Juergen Lock <nox@jelal.kn-bremen.de> (maintainer) [1]
Suggested by:	des [2]
2005-05-01 07:39:11 +00:00
Norikatsu Shigemura
34f7a66b4e o Update to 0.6.1(2004/11/15 snapshot).
FreeBSD related changes: physical cdrom fix, audio merge

PR:		ports/74015
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2004-11-17 09:47:38 +00:00
Norikatsu Shigemura
d605d852ce Add support raw disk device access.
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2004-11-04 14:26:08 +00:00
Norikatsu Shigemura
e38b4b346b Fix build error on 4-stable.
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Pointed out by:	pointy via kris
2004-10-28 15:42:48 +00:00
Norikatsu Shigemura
96866477a3 Update to 0.6.0s.20041020.
PR:		ports/72945
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2004-10-25 14:57:30 +00:00
Kirill Ponomarev
4b72bc7fe2 Update to 0715 snapshot
PR:		ports/69132
Submitted by:	maintainer
2004-07-17 12:24:33 +00:00