head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.2.0.2 pkgsrc-2009Q3-base:1.2; locks; strict; comment @# @; 1.4 date 2010.02.27.23.21.13; author tnn; state dead; branches; next 1.3; 1.3 date 2009.10.11.16.04.13; author asau; state Exp; branches; next 1.2; 1.2 date 2009.08.31.14.34.07; author tnn; state Exp; branches; next 1.1; 1.1 date 2009.08.31.10.18.49; author hasso; state Exp; branches; next ; desc @@ 1.4 log @Update to qemu-0.12.3. Changes: assorted bugfixes @ text @$NetBSD: patch-dg,v 1.3 2009/10/11 16:04:13 asau Exp $ --- osdep.c.orig 2009-09-23 23:01:32.000000000 +0400 +++ osdep.c 2009-09-30 14:05:39.000000000 +0400 @@@@ -110,7 +110,7 @@@@ void *ptr; /* no need (?) for a dummy file on OpenBSD/FreeBSD */ -#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) int map_anon = MAP_ANON; #else int map_anon = 0; @@@@ -181,7 +181,7 @@@@ } size = (size + 4095) & ~4095; ftruncate(phys_ram_fd, phys_ram_size + size); -#endif /* !(__OpenBSD__ || __FreeBSD__ || __DragonFly__) */ +#endif /* !(__OpenBSD__ || __FreeBSD__ || __DragonFly__ || __NetBSD__) */ ptr = mmap(NULL, size, PROT_WRITE | PROT_READ, map_anon | MAP_SHARED, @ 1.3 log @Update to qemu 0.11.0. With input from Hasso Tepper (Dragonfly). Changes since previous package: version 0.11.0 - fix rtc polling mode (Bernhard Kauer) - qcow2: order concurrent aio requests (Kevin Wolf) - qemu-io: port to win32 (Stefan Weil) - alpha: fix extlh instruction (Vince Weaver) - tcg: fix size of local variables in tcg_gen_bswap64_i64 (Stefan Weil) - net: fix send ordering (Jan Kiszka) - escc: fix IRQ routing (Aurelien Jarno) - versatile: fix Linux task preemption (Aurelien Jarno) - curses: reduce memory usage by 250MB (Aurelien Jarno) version 0.11.0-rc2 - mips: fix conditional move off fp conditions codes (Nath Froyd) - fix migration to obey -S (Paolo Bonzini) - remove pc-0-10 machine type (Mark McLoughlin) - vnc: fix copyrect screen corruption (Gerd Hoffman) - fix vm state change handlers running order (Markus Armbruster) - e1000: fix eerc and ics emulation (Bill Paul) - fix sdl zooming with pl110 (Blue Swirl) - sparc64: flush pending conditional evaluations (Igor Kovalenko) - esp: fix interrupt register read (Blue Swirl) - option rom makefile fixes (Paul Brook) - fix sparse warnings (Blue Swirl) - fix symfind (Laurent Desnogues) - win32: fix default prefix (Stefan Weil) - fix checksum writing in signboot (Alex Graf) - fix sdl window resize (Stefano Stabellini) - do not resize the screen on hw_invalidate (Stefano Stabellini) - Add checks for -smbios option (Beth Kon) - fix do_set_link (Luiz Capitulino) - fix do_commit behavior (Luiz Capitulino) - make windows notice media change (Gleb Natapov) - check for PR_SET_NAME being defined (Nathan Froyd) - fix migration for ide devices (Anthony Liguori) - Use correct depth in vmware vga (Reimar Doffiner) - support 32bpp cursors in sdl (Reimar Doffinger) - fix device name completion for eject (Blue Swirl) - make screendump use DisplayState properly (Stefano Stabellini) - fix autostart with live migration (Avi Kivity) - fix detached migration with exec (Chris Lalancette) - fix segv when changing vnc password in sdl (Zach Amsden) - fix vnc password clearing with stdio monitor (Zach Amsden) - clean up VGA type selection (Zach Amsden) - add missing linefeed in error message (Stefan Weil) version 0.11.0-rc1 - add machine aliasing support (Mark McLoughlin) - add getfd/closefd monitor commands (Mark McLoughlin) - use correct headers for tap-win32 (Filip Navara) - fix live migration (Glauber Costa) - slirp: use monotonic clock if available (Ed Swierk) - clear msix_entries_nr on error (Michael Tsirkin) - HPET: fix reg writes (Beth Kon) - slirp: fix guestfwd for incoming data (Jan Kiszka) - fix build of qemu-thread.c on win32 (Sebastian Herbszt) - improve signrom.sh portability (Christoph Egger) - fix qemu-img convert to copy unallocated parts of the image (Akkarit Sangpetch) - vmdk: fix backing file handling (Kevin Wolf) - scsi: add save/restore support (Nolan Leake) - fix live migration for SCSI (Nolan Leake) - various sparc build fixes (Blue Swirl) - fix OpenBSD build (Blue Swirl) - only allow -cpu host when using KVM (Anthony Liguori) - fix build breakage when !KVM (Anthony Liguori) @ text @d1 1 a1 1 $NetBSD: patch-dg,v 1.2 2009/08/31 14:34:07 tnn Exp $ @ 1.2 log @use mmap to allocate the VM memory as well @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- osdep.c.orig 2009-07-17 02:56:24.000000000 +0200 +++ osdep.c @@@@ -90,7 +90,7 @@@@ static void *kqemu_vmalloc(size_t size) d9 1 a9 1 -#if defined(__OpenBSD__) || defined(__FreeBSD__) d14 1 a14 1 @@@@ -157,7 +157,7 @@@@ static void *kqemu_vmalloc(size_t size) d18 1 a18 1 -#endif /* !(__OpenBSD__ || __FreeBSD__) */ @ 1.1 log @Update to 0.10.6. Tested on DragonFly only. version 0.10.6: - 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) version 0.10.5: - 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) version 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) version 0.10.3: - 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) version 0.10.2: - 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) version 0.10.1: - 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) version 0.10.0: - TCG support (No longer requires GCC 3.x) - Kernel Virtual Machine acceleration support - BSD userspace emulation - Bluetooth emulation and host passthrough support - 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 - 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 (Hervé 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" Schütz) - Many, many, bug fixes and new features @ text @d3 2 a4 2 --- osdep.c.orig 2009-07-17 03:56:24 +0300 +++ osdep.c 2009-08-30 15:59:25 +0300 d10 1 a10 1 +#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) d19 1 a19 1 +#endif /* !(__OpenBSD__ || __FreeBSD__ || __DragonFly__) */ @