head 1.10; access; symbols pkgsrc-2013Q2:1.10.0.10 pkgsrc-2013Q2-base:1.10 pkgsrc-2012Q4:1.10.0.8 pkgsrc-2012Q4-base:1.10 pkgsrc-2011Q4:1.10.0.6 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q2:1.10.0.4 pkgsrc-2011Q2-base:1.10 pkgsrc-2009Q4:1.10.0.2 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q2:1.9.0.4 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.2 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.7.0.18 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.16 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.14 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.12 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.10 pkgsrc-2008Q1:1.7.0.8 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.6 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.4 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.2 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.6.0.4 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.2 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.10 date 2009.08.31.10.18.49; author hasso; state dead; branches; next 1.9; 1.9 date 2009.01.23.08.15.28; author jmmv; state Exp; branches; next 1.8; 1.8 date 2009.01.22.07.27.28; author jmmv; state Exp; branches; next 1.7; 1.7 date 2007.05.21.20.24.48; author xtraeme; state Exp; branches; next 1.6; 1.6 date 2006.12.07.16.06.39; author xtraeme; state Exp; branches; next 1.5; 1.5 date 2006.12.07.13.50.58; author xtraeme; state Exp; branches; next 1.4; 1.4 date 2006.09.05.00.44.38; author xtraeme; state dead; branches; next 1.3; 1.3 date 2006.01.06.09.17.03; author xtraeme; state Exp; branches; next 1.2; 1.2 date 2006.01.01.13.48.45; author xtraeme; state dead; branches; next 1.1; 1.1 date 2005.11.04.21.10.42; author dbj; state Exp; branches; next ; desc @@ 1.10 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 @$NetBSD: patch-ay,v 1.9 2009/01/23 08:15:28 jmmv Exp $ --- block-raw-posix.c.orig 2008-01-06 20:38:42.000000000 +0100 +++ block-raw-posix.c @@@@ -28,7 +28,9 @@@@ #endif #include "block_int.h" #include +#ifdef _POSIX_ASYNCHRONOUS_IO #include +#endif #ifdef CONFIG_COCOA #include @@@@ -230,6 +232,7 @@@@ label__raw_write__success: return ret; } +#ifdef _POSIX_ASYNCHRONOUS_IO /***********************************************************/ /* Unix AIO using POSIX AIO */ @@@@ -455,6 +458,7 @@@@ static void raw_aio_cancel(BlockDriverAI pacb = &acb->next; } } +#endif static void raw_close(BlockDriverState *bs) { @@@@ -545,6 +549,35 @@@@ static void raw_flush(BlockDriverState * fsync(s->fd); } +#ifndef _POSIX_ASYNCHRONOUS_IO +void qemu_aio_init(void) +{ +} + +void qemu_aio_poll(void) +{ +} + +void qemu_aio_flush(void) +{ +} + +void qemu_aio_wait_start(void) +{ +} + +void qemu_aio_wait(void) +{ +#ifndef QEMU_IMG + qemu_bh_poll(); +#endif +} + +void qemu_aio_wait_end(void) +{ +} +#endif + BlockDriver bdrv_raw = { "raw", sizeof(BDRVRawState), @@@@ -556,10 +589,12 @@@@ BlockDriver bdrv_raw = { raw_create, raw_flush, +#ifdef _POSIX_ASYNCHRONOUS_IO .bdrv_aio_read = raw_aio_read, .bdrv_aio_write = raw_aio_write, .bdrv_aio_cancel = raw_aio_cancel, .aiocb_size = sizeof(RawAIOCB), +#endif .protocol_name = "file", .bdrv_pread = raw_pread, .bdrv_pwrite = raw_pwrite, @@@@ -908,10 +943,12 @@@@ BlockDriver bdrv_host_device = { NULL, raw_flush, +#ifdef _POSIX_ASYNCHRONOUS_IO .bdrv_aio_read = raw_aio_read, .bdrv_aio_write = raw_aio_write, .bdrv_aio_cancel = raw_aio_cancel, .aiocb_size = sizeof(RawAIOCB), +#endif .bdrv_pread = raw_pread, .bdrv_pwrite = raw_pwrite, .bdrv_getlength = raw_getlength, @ 1.9 log @Fix build problems; QEMU_TOOL seems to have disappeared, so check for QEMU_IMG instead. From Juergen Buchmueller in private mail. @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.8 2009/01/22 07:27:28 jmmv Exp $ @ 1.8 log @Update to 0.9.1: - TFTP booting from host directory (Anthony Liguori, Erwan Velu) - Tap device emulation for Solaris (Sittichai Palanisong) - Monitor multiplexing to several I/O channels (Jason Wessel) - ds1225y nvram support (Herve Poussineau) - CPU model selection support (J. Mayer, Paul Brook, Herve Poussineau) - Several Sparc fixes (Aurelien Jarno, Blue Swirl, Robert Reif) - MIPS 64-bit FPU support (Thiemo Seufer) - Xscale PDA emulation (Andrzej Zaborowski) - ColdFire system emulation (Paul Brook) - Improved SH4 support (Magnus Damm) - MIPS64 support (Aurelien Jarno, Thiemo Seufer) - Preliminary Alpha guest support (J. Mayer) - Read-only support for Parallels disk images (Alex Beregszaszi) - SVM (x86 virtualization) support (Alexander Graf) - CRIS emulation (Edgar E. Iglesias) - SPARC32PLUS execution support (Blue Swirl) - MIPS mipssim pseudo machine (Thiemo Seufer) - Strace for Linux userland emulation (Stuart Anderson, Thayne Harbaugh) - OMAP310 MPU emulation plus Palm T|E machine (Andrzej Zaborowski) - ARM v6, v7, NEON SIMD and SMP emulation (Paul Brook/CodeSourcery) - Gumstix boards: connex and verdex emulation (Thorsten Zitterell) - Intel mainstone II board emulation (Armin Kuster) - VMware SVGA II graphics card support (Andrzej Zaborowski) @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.7 2007/05/21 20:24:48 xtraeme Exp $ d54 1 a54 1 +#ifndef QEMU_TOOL @ 1.7 log @Update to 0.9.0. Thanks to Michael Van Elst for sending me the missing patch to let this build on systems without POSIX AIO. version 0.9.0: - Support for relative paths in backing files for disk images - Async file I/O API - New qcow2 disk image format - Support of multiple VM snapshots - Linux: specific host CDROM and floppy support - SMM support - Moved PCI init, MP table init and ACPI table init to Bochs BIOS - Support for MIPS32 Release 2 instruction set (Thiemo Seufer) - MIPS Malta system emulation (Aurelien Jarno, Stefan Weil) - Darwin userspace emulation (Pierre d'Herbemont) - m68k user support (Paul Brook) - several x86 and x86_64 emulation fixes - Mouse relative offset VNC extension (Anthony Liguori) - PXE boot support (Anthony Liguori) - '-daemonize' option (Anthony Liguori) @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 3 --- block-raw.c.orig 2007-02-06 00:01:54.000000000 +0100 +++ block-raw.c @@@@ -25,7 +25,9 @@@@ a8 1 #ifndef _WIN32 d13 3 a15 3 #ifndef QEMU_TOOL #include "exec-all.h" @@@@ -157,6 +159,7 @@@@ static int raw_pwrite(BlockDriverState * d23 1 a23 1 @@@@ -379,6 +382,7 @@@@ static void raw_aio_cancel(BlockDriverAI d31 1 a31 1 @@@@ -469,6 +473,35 @@@@ static void raw_flush(BlockDriverState * d67 1 a67 1 @@@@ -480,10 +513,12 @@@@ BlockDriver bdrv_raw = { d70 1 a70 1 d80 1 a80 1 @@@@ -816,10 +851,12 @@@@ BlockDriver bdrv_host_device = { d83 1 a83 1 @ 1.6 log @Don't patch multiple times the same file, fixed all pkglint warns. @ text @d3 8 a10 9 --- block.c.orig 2006-12-06 21:23:19.000000000 +0100 +++ block.c 2006-12-06 21:24:04.000000000 +0100 @@@@ -29,8 +29,10 @@@@ #include #include #include +#ifndef __DragonFly__ #include #endif d13 80 a92 2 #ifdef CONFIG_COCOA #include @ 1.5 log @Make this build on DragonFlyBSD. Patches were sent by Rumko privately. @ text @d1 2 @ 1.4 log @Update to 0.8.2: - ACPI support - PC VGA BIOS fixes - switch to OpenBios for SPARC targets (Blue Swirl) - VNC server fixes - MIPS FPU support (Marius Groeger) - Solaris/SPARC host support (Ben Taylor) - PPC breakpoints and single stepping (Jason Wessel) - USB updates (Paul Brook) - UDP/TCP/telnet character devices (Jason Wessel) - Windows sparse file support (Frediano Ziglio) - RTL8139 NIC TCP segmentation offloading (Igor Kovalenko) - PCNET NIC support (Antony T Curtis) - Support for variable frequency host CPUs - Workaround for win32 SMP hosts - Support for AMD Flash memories (Jocelyn Mayer) - Audio capture to WAV files support (malc) pkgsrc changes: On systems with gcc4, force to use pkgsrc gcc34 to make it build on NetBSD >=4.0. @ text @d1 10 a10 7 $NetBSD: patch-ay,v 1.3 2006/01/06 09:17:03 xtraeme Exp $ --- target-sparc/op.c.orig 2005-12-19 23:51:53.000000000 +0100 +++ target-sparc/op.c @@@@ -1299,9 +1299,10 @@@@ void OPPROTO op_flush_T0(void) helper_flush(T0); } d12 2 a13 8 +void fnegs_dummy() {FT0 = -FT1;} void OPPROTO op_fnegs(void) { - FT0 = -FT1; + fnegs_dummy(); } void OPPROTO op_fabss(void) @ 1.3 log @Apply patches from Tobyas Nigren (PR pkg/32464) to make this build on NetBSD/amd64. Thank you Tobias! @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 0.8.0 (update provided by Hubert Feyrer, thanks :-) * Support for ARM Integrator/CP board system emulation. * Support for MIPS R4K system emulation. * Initial SMP support on x86 (up to 255 CPUs !). * Many new audio emulation features. * Initial USB support. * New networking options for VLAN support between several QEMU instances. @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.1 2005/11/04 21:10:42 dbj Exp $ d3 8 a10 4 --- target-i386/helper.c.orig 2005-09-04 13:11:31.000000000 -0400 +++ target-i386/helper.c @@@@ -3261,7 +3261,7 @@@@ static void imul64(uint64_t *plow, uint6 static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b) d12 3 a14 3 uint64_t q, r, a1, a0; - int i, qb; + int i, qb, ab; d16 1 a16 13 a0 = *plow; a1 = *phigh; @@@@ -3275,8 +3275,9 @@@@ static int div64(uint64_t *plow, uint64_ return 1; /* XXX: use a better algorithm */ for(i = 0; i < 64; i++) { + ab = a1 >> 63; a1 = (a1 << 1) | (a0 >> 63); - if (a1 >= b) { + if (ab || a1 >= b) { a1 -= b; qb = 1; } else { @ 1.1 log @fix to i386 div64 taken from qemu cvs bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @