Commit graph

90 commits

Author SHA1 Message Date
gson
1d3f55c61b When setting up an outgoing user mode networking TCP connection,
disable the Nagle algorithm in the host-side connection.  Either
the VM is already doing Nagle, in which case there is no point
in doing it twice, or it has chosen to disable it, in which case
we should respect that choice.  This change speeds up GDB remote
debugging over TCP over user mode networking by multiple orders
of magnitude.
2012-05-12 09:56:51 +00:00
obache
2cd654bab6 Bump PKGREVISION from default python to 2.7. 2012-03-15 11:53:20 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
sbd
c6e3f9871f Use the --mandir configure arg to set the manpage directory. 2012-02-09 22:53:36 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
jakllsch
af22643c2c Enable dependency on curl for http://-backed block devices.
Additionally qemu "curses" support wants terminfo support.
pkgrev++.
2012-01-25 17:22:33 +00:00
ryoon
bc663cb10f Update to 0.15.1
Changelog:
qed: fix use-after-free during l2 cache commit
sdl: Fix termination in -no-shutdown mode
Fix termination by signal with -no-shutdown
Add support for finding libpng via pkg-config.
Check for presence of compiler -pthread flag.
Allow overriding the location of Samba's smbd.
Fix linker scripts
Fix install(1) usage to be compatible with OpenBSD's install(1).
Fix qjson test of solidus encoding
configure: Copy test data to build directory
monitor: fix build breakage for !CONFIG_VNC
monitor: fix build breakage with --disable-vnc
Fix forcing multicast msgs to loopback on OpenBSD.
user: Restore debug usage message for '-d ?' in user mode emulation
2011-10-19 18:45:42 +00:00
ryoon
712e043bac Restore missing patches. It is my mistake.
* patch-aa is for tap detection bug.
* patch-bb is for build on NetBSD 4.

The patch-aa requires bump of PKGREVISION.

Pointed out by Sergey Svishchev in private e-mail.
2011-09-22 05:37:49 +00:00
ryoon
ab4ecc031d Enable PREFER_PKGSRC=yes for curses on DragonFly and Linux. 2011-09-12 10:59:15 +00:00
ryoon
a9338ea4ce Update to 0.15.0
* Many bug fixes and improvements
* Add LatticeMico32 and unicore32 targets are added.
* And many changes. See http://wiki.qemu.org/ChangeLog/0.15

Tested on NetBSD/i386 current, NetBSD/i386 5.1, DragonFly/i386 2.10.1,
and Gentoo Linux/i386.
2011-08-22 12:00:34 +00:00
ryoon
bd26e91b14 Update to 0.14.1
* New features are not tested yet, for example SPICE protocol support.
* I have tested on NetBSD/i386 5.99.54 and DragonFly/i386 2.10.1 as host,
  NetBSD/{amd64, i386, sparc} as guest.

Changelog:

0.14.1
    virtio-blk: fail unaligned requests
    qed: Fix consistency check on 32-bit hosts
    exit if -drive specified is invalid instead of ignoring the "wrong" -drive
    vhost: fix dirty page handling
    Do not delete BlockDriverState when deleting the drive
    vnc: tight: Fix crash after 2GB of output
    lan9118: Ignore write to MAC_VLAN1 register
    Don't allow multiwrites against a block device without     lsi53c895a: add support for ABORT messages
    virtio-pci: fix bus master work around on load
    fix applesmc REV key
    rbd: don't link with -lcrypto
    net: Add the missing option declaration of "vhostforce"
    lsi53c895a: Update dnad when skipping MSGOUT bytes
    Revert "prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels"
    isa-bus: Remove bogus IRQ sharing check
    virtio-net: Fix lduw_p() pointer argument of wrong size
    hw/sd.c: Add missing state change for SD_STATUS, SEND_NUM_WR_BLOCKS
    vnc: Fix fatal crash with vnc reverse mode
    qemu-char: Check for missing backend name

0.14.0
Targets
ARM
    Most of the changes are related to bug fixes and improvements to match what the real hardware does. For now there is no new board or CPU.

MIPS
    Host CPU consumption for idle guests
    Timer fixes
    FPU improvements

SH4
    Various bug fixes and improvements including
        SM501 2D engine copyrect support, needed to boot recent kernels
        MMU mmaped TLB access, needed to boot recent kernels
        Floating point exceptions and correct NaN support.

PPC
    Fix running recent PPC64 kernels
    New maintainer: Alexander Graf
    Improve interrupt injection with KVM
    Enable PV enabled guests for speedup with KVM
    Floating point fixes
    Add a ppc-440x5 Xilinx model
    Add a virtex5 ml507 refdesign board for ppc-440x5
    BookE MMU emulation improvements

s390x
    No news, business as usual.

SPARC
    Fix div(cc) and sdiv(cc) instruction emulation, fixes Xorg crash in the guest

Hosts
ARM
    Fix random crashes
    Fix 64-bit big-endian targets support

MIPS
    Fix random crashes

IA64
    Fix random crashes for 32-bit targets

Devices
IDE / AHCI
    Added emulation layer for an ICH-9 AHCI controller (not yet stable). Tested with Linux, OpenBSD, Windows Vista and Windows 7. The AHCI emulation supports NCQ, so multiple read or write requests can be outstanding at the same time.
        to use it, use the following command line snippet: -drive id=disk,file=<your image goes here>,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0

SCSI
    Various bug fixes, no new features.

USB
    Added USB support for remote wakeup, allowing the guest to suspend the USB bus when idle, which in turn reduces the CPU overhead of an idle machine.
    The USB subsystem also got a bunch of patches to prepare it for USB 2.0 support.

virtio
    virtio-pci can use ioeventfd for virtqueue notify. On systems that support KVM, the ioeventfd mechanism can be used to make virtqueue notify a lightweight exit by deferring hardware emulation to the iothread and allowing the VM to continue execution. This model is similar to how vhost receives virtqueue notifies. The result of this change is improved performance for userspace virtio devices. Virtio-blk throughput increases especially for multithreaded scenarios and virtio-net transmit throughput increases substantially. Read the commit message for more details.
    Various fixes and stabilization for live-migration:
    Various virtio-net improvements:
        Make tx_timer timeout configurable
        Limit number of packets sent per TX flush
        Introduce a new bottom half packet TX
        Fix cross-endianness support

PCI/PCI Express
    Improved PCI Express support and functionalities with the implementation of:
        flr (Function Level Reset)
        aer (Advanced Error Reporting) and other improvements
        A new monitor command to inject errors into the PCI bus: pcie_aer_inject_error
    Implementation of Message Signaled Interrupts (MSI/MSI-X) support
    Separation of the PCI bridge code from the main PCI code.

Sound
    New Intel HD Audio support, adding three new devices:
        intel-hda: Intel HD Audio Controller, the PCI device.
        hda-duplex: HDA Codec. Attaches to the HDA bus. Supports 16bit stereo, rates 16k -> 96k, playback, recording and volume control (with CONFIG_MIXEMU=y).
        hda-output: HDA Codec without recording support. Subset of the hda-duplex codec. Use this if you don't want your guests access your mic.
    Usage: add '-device intel-hda -device hda-duplex' to your command line.
    Tested guests:
        Linux works.
        Win7 works.
        DOS (mpxplay) works.
        WinXP doesn't work.

Real Time Clock
    Fix binary/BCD mode switch

Video
    Fix cirrus VGA crash with some guests
    Fix curses big endian support

Block Drivers
qcow2
    Added a writeback metadata cache. This improves performance of scenarios with lots of cluster allocations noticably (e.g. installation or after taking a snapshot), in some benchmarks by a factor of ten or more. Use cache=none or cache=writeback to take advantage from this change.
    Copy snapshots out of QCOW2 disk, eg: qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img
    Zero-copy read and write operations
    Other fixes and code cleanups:
        qcow2: Invalidate cache after failed read
        block: Allow bdrv_flush to return errors
        qcow2: Simplify image creation
        qcow2: Fixes unaligned access on IA64

qed
    Introduction of the QEMU Enhanced Disk (qed) image format. It is a disk image format that forgoes features found in qcow2 in favor of better levels of performance and data integrity. Due to its simpler on-disk layout, it is possible to safely perform metadata updates more efficiently.
    More information about qed: http://wiki.qemu.org/Features/QED
    Initial thread discussion: http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg00310.html

ceph/rbd
    Introduction of the new ceph/rbd block driver. RBD is an block driver for the distributed file system Ceph.
    More information about ceph: http://ceph.newdream.net/

nbd
    Improve qemu-nbd performance by 4400 %. This patch combines the reply header and payload send operation.
    Introduce NBD named exports.

Spice
    New support for the SPICE protocol. The project main focus is to provide high-quality remote access to QEMU virtual machines. More information about SPICE can be found at the project's web site: http://spice-space.org/
    New qxl device. qxl is a paravirtual graphics card. The qxl device is the bridge between the guest and the spice server (aka libspice-server). The spice server will send the rendering commands to the spice client, which will actually render them. The spice server is also able to render locally, which is done in case the guest wants read something from video memory. Local rendering is also used to support display over vnc and sdl. qxl is activated using -vga qxl. qxl supports multihead, additional cards can be added via '-device qxl.
    Relevant commits:
        spice: core bits
        spice: add keyboard
        spice: add mouse
        spice: simple display
        spice: add tablet support
        spice: tls support
        spice: make compression configurable.
        spice: add config options for channel security.
        spice: add config options for the listening address
        spice: add misc config options
        spice: add audio
        spice: add qxl device
        spice: connection events.

QMP / monitor

    TODO: QMP is now stable, except for error reporting?
    The work to facilitate the management of QEMU instances has been improved. QMP has received various fixes. Now it is possible to call a traditional monitor command through QMP, in case your application depends on the output or the command is not yet ported to QMP.
    New commands:
        query-spice / info spice
        human-monitor-command
        set_password
        drive_del
        block_resize command, allowing resizing of block devices while qemu is running. For virtio-blk the size is updated automatically when this command is issued on the host. IDE is not supported. For SCSI devices the new size can be updated in Linux guests by doing the following shell command:

echo > /sys/class/scsi_device/0:0:0:0/device/rescan

Tracing
    Introduction of platform-independent tracing, more information about it: http://wiki.qemu.org/Features/Tracing
    Documentation and tutorial: http://git.qemu.org/qemu.git/plain/docs/tracing.txt
    Some relevant commits:
        Add trace-events file for declaring trace events
        Add a DTrace tracing backend targetted for SystemTAP compatibility
        Add LTTng Userspace Tracer backend
        Add simple built-in tracing backend
        Add stderr trace-event backend:
        Support for dynamically enabling/disabling trace events
        Specify trace file name
        Add trace-file command to open/close/flush trace file

Other stuff
    Extend -option-rom command to have additional parameter bootindex
    Little endian / big endian MMIO framework. Until now, most devices had special hacks to allow them to work on big and little endian systems (ppc / x86). With that framework, they should mostly work with both and not require and device specific hacks anymore.
2011-07-11 09:57:18 +00:00
wiz
46321b67e8 Unlimit datasize, needed on NetBSD-4. From Robert Elz in PR 42899. 2011-04-05 08:38:00 +00:00
wiz
20864283be Split off SDL dependency in a default-on (except for Darwin, as before)
"sdl" option.
2011-02-28 17:49:30 +00:00
adam
bd5e9b30da Fix building on Mac OS X (PR#43207) 2010-12-27 12:33:32 +00:00
tsutsui
495eb30677 Disable bsd-user binaries on NetBSD 5.x and prior for workaround.
i386 and x86_64 user emul binaries require newer binutils for PROVIDE_HIDDEN()
 http://git.qemu.org/qemu.git/commit/?id=845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
but on NetBSD binutils-2.19 was enabled around 5.99.22:
 http://cvsweb.NetBSD.org/bsdweb.cgi/src/share/mk/bsd.own.mk#rev1.594
and qemu-0.13.0 build fails on NetBSD 5.1 and 5.0.2.

Note qemu, qemu-system-x86_64, and other non user binaries
(that would actually be required by most users) still work fine.
2010-11-20 14:37:42 +00:00
jmmv
b95bc03bb9 Properly deal with configuration files by respecting PKG_SYSCONFBASE.
Bump PKGREVISION to 1.
2010-11-09 10:37:12 +00:00
tsutsui
70eef6adba Update qemu to 0.13.0. PR pkg/43994
"Looks good" from wiz@ and obache@.

ChangeLog for 0.13.0 is not updated but there is a list in announcement:

This release consists of over 2,500 commits from 145 contributors.

Some major features were added in this release including:

- vhost-net: kernel-accelerating network backend for virtio devices (using KVM)
- qmp: significant improvements covering most monitor commands
- vnc: introduction of new encodings that dramatically improve bandwidth
  (part of GSoC project)
- ivshmem: new shared memory device allowing multiple guests to share
  a memory region
- mips: introduction of fulong mini-pc
- virtio-9p: introduction of a paravirtual file system passthrough mechanism
- hpet: many enhancements
- target-s390: support for s390 usermode emulation
- many more features and bug fixes

A special note about QMP support in 0.13.0. QMP is still considered
experimental in 0.13.0. There are no plans to change the protocol
in an incompatible way but there are likely to be missing features.


ChangeLog for version 0.12.5:

 - audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler
 - block: Handle multiwrite errors only when all requests have completed
 - block: Fix early failure in multiwrite
 - vpc: Use bdrv_(p)write_sync for metadata writes
 - vmdk: Use bdrv_(p)write_sync for metadata writes
 - qcow2: Use bdrv_(p)write_sync for metadata writes
 - qcow: Use bdrv_(p)write_sync for metadata writes
 - block: Add bdrv_(p)write_sync
 - qcow2: Restore L1 entry on l2_allocate failure
 - block/vdi: Fix image opening and creation for odd disk sizes
 - block/vpc: Fix conversion from size to disk geometry
 - qcow2: Remove abort on free_clusters failure
 - vmdk: Fix COW
 - qcow2: Fix creation of large images
 - vmdk: fix double free
 - qemu-options: add documentation for stdio signal=on|off
 - target-arm : fix parallel saturated subtraction implementation
 - target-arm : fix thumb2 parallel add/sub opcode decoding
 - target-arm: fix addsub/subadd implementation
 - target-i386: fix xchg rax,r8
 - block/vvfat.c: fix warnings with _FORTIFY_SOURCE
 - audio/alsa: Spelling typo (paramters)
 - target-mips: fix DINSU instruction
 - Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE
 - qcow2: Fix corruption after error in update_refcount
 - qcow2: Fix corruption after refblock allocation
 - block: Fix multiwrite with overlapping requests
 - qcow2: Fix error handling in l2_allocate
 - qcow2: Clear L2 table cache after write error
 - ide: Fix ide_dma_cancel
 - usb-bus: fix no params
 - Avoid crash on '-usbdevice <device>' without parameters
 - Fix -usbdevice crash
 - Fix multiboot compilation
 - Fix missing symbols in .rel/.rela.plt sections
 - target-ppc: fix RFI by clearing some bits of MSR
 - Fix typo in balloon help
 - arm_timer: fix oneshot mode
 - arm_timer: reload timer when enabled
 - qemu-sockets: avoid strlen of NULL pointer
 - block: fix aio_flush segfaults for read-only protocols (e.g. curl)
 - virtio-blk: fix barrier support
 - block: fix sector comparism in multiwrite_req_compare
 - pci: irq_state vmstate breakage
 - qemu-img: use the heap instead of the huge stack array for win32


Pkgsrc changes:

patch-aa
patch-ao
patch-ba
patch-de
patch-ed
 - lifted from previous (some adjustments per upstream changes)

patch-ab
 - removed (looks similar fix applied in upstream)

patch-dd
 - adjust configure for location of man page dir (as previous)
 - fix detection for arm hosts

patch-dk
 - removed (looks no longer applicable due to reorganized upstream)

patch-ee
 - remove old e1000.c fix (pulled up to upstream)
 - pull block/sheepdog.c build fix on *BSD hosts from upstream

patch-ef
patch-eg
patch-eh
patch-ei
 - workaround for conflicts with SSP read() macro in NetBSD's <ssp/unistd.h>
   (PR lib/43832: ssp causes common names to be defines)

patch-ej
 - pull build/warning fixes in ui/vnc-enc-tight.c from upstream

patch-ek
 - pull ATA PIO fix (by jakllsch@) from upstream
 - pull warning fix from upstream

patch-el
 - workaround for missing C99 FP macro on netbsd-4
   (PR pkg/42899, but od(1) fixes for netbsd-4 not included)

patch-em
patch-en
 - build fix on NetBSD/arm host using gcc-4.1.3
   (built qemu binary on NetBSD/hpcarm host fails though)

patch-eo
patch-ep
patch-er
patch-es
 - pull ESP SCSI DMA fixes (that might affect sparc) from upstream

patch-eq
 - pull ESP SCSI DMA fixes from upstream
 - disable broken ARC JAZZ floppy that causes hang on MIPS NT 4.0 guest

Makefile
 - bump DISTNAME
 - add makeinfo to USE_TOOLS
   XXX: gets "qemu-doc.texi:7: warning: unrecognized encoding name `UTF-8'."
 - adjust SUBST_FILES.qaudio per upstream changes
 - enable nbd support *BSD per upstream update

PLIST
distinfo
 - update per each file
2010-10-27 13:24:09 +00:00
tnn
94b9474bc9 Rework 2MB stack allocation in qemu-img which causes SEGV with our
default process limits. Bump PKGREVISION.
2010-10-01 08:32:35 +00:00
tsutsui
935d24ba30 Whitespace nit. 2010-08-09 20:56:32 +00:00
tsutsui
8ed4aa3dcd Remove nbd from UE_ARCHS. It's not UE but a tool,
and handled in PLIST.nbd and PLIST_VARS lines.
2010-08-09 20:35:25 +00:00
tsutsui
d06a08df65 Remove obsolete workaround for PR/41007.
The audio.h confusion has been handled by SUBST_*.qaudio lines.
2010-08-09 20:28:32 +00:00
tsutsui
5472a962cc - remove obsolete SUBST_foo lines
- use less wildcard for SUBST_FILES.qaudio so that
  we won't miss valid "Nothing changed" warnings
2010-08-09 11:49:10 +00:00
tnn
7a4d322c1b needs zlib 2010-06-16 18:31:27 +00:00
tsutsui
d3582fc320 Update qemu to 0.12.4. Okay'ed by wiz@, in PR pkg/43311 filed by me.
---
version 0.12.4:

 - Workaround for broken OSS_GETVERSION on FreeBSD, part two (Juergen Lock)
 - oss: fix fragment setting (malc)
 - oss: issue OSS_GETVERSION ioctl only when needed (malc)
 - oss: refactor code around policy setting (malc)
 - oss: workaround for cases when OSS_GETVERSION is not defined (malc)
 - block: Free iovec arrays allocated by multiwrite_merge() (Stefan Hajnoczi)
 - lsi: fix segfault in lsi_command_complete (Gerd Hoffmann)
 - lsi: pass lsi_request to lsi_reselect (Gerd Hoffmann)
 - lsi: move dma_len+dma_buf into lsi_request (Gerd Hoffmann)
 - lsi: move current_dev into lsi_request (Gerd Hoffmann)
 - lsi: have lsi_request for the whole life time of the request. (Gerd Hoffmann)
 - lsi: use QTAILQ for lsi_queue (Gerd Hoffmann)
 - tcp/mips: Change TCG_AREG0 (fp -> s0) (Stefan Weil)
 - sh_pci: fix memory and I/O access (Aurelien Jarno)
 - Fix incoming migration with iothread (Marcelo Tosatti)
 - Fix SIGFPE for vnc display of width/height = 1 (Chris Webb)
 - net: remove broken net_set_boot_mask() boot device validation (Eduardo Habkost)
 - qcow2: Remove request from in-flight list after error (Kevin Wolf)
 - qcow2: Don't ignore immediate read/write failures (Kevin Wolf)
 - block: Fix multiwrite memory leak in error case (Kevin Wolf)
 - block: Fix error code in multiwrite for immediate failures (Kevin Wolf)
 - block: Fix multiwrite error handling (Kevin Wolf)
 - scsi-disk: fix buffer overflow (Gerd Hoffmann)
 - qcow2: Rewrite alloc_refcount_block/grow_refcount_table (Kevin Wolf)
 - qcow2: Factor next_refcount_table_size out (Kevin Wolf)
 - block: avoid creating too large iovecs in multiwrite_merge (Christoph Hellwig)
 - json-parser: Fix segfault on malformed input (Kevin Wolf)
 - linux-user: switch default ppc64 CPU to 970fx from 970 (Aurelien Jarno)
 - target-sh4: MMU: fix store queue addresses (Aurelien Jarno)
 - target-sh4: MMU: fix ITLB priviledge check (Aurelien Jarno)
 - target-sh4: MMU: fix mem_idx computation (Aurelien Jarno)
 - sh7750: handle MMUCR TI bit (Aurelien Jarno)
 - UHCI spurious interrut fix (Paul Brook)
 - tcg/mips: fix branch offset during retranslation (Aurelien Jarno)
 - tcg/arm: correctly save/restore registers in prologue/epilogue (Aurelien Jarno)
 - workaround for cmd646 bmdma register access while no dma is active (Igor V. Kovalenko)
 - Fix corner case in chardev udp: parameter (Jan Kiszka)
 - Don't set default monitor when there is a mux'ed one (Jan Kiszka)
 - spelling typo (compatibilty) in hw/fw_cfg.c (Vagrant Cascadian)
 - fdc: fix drive property handling. (Gerd Hoffmann)
 - target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 (TeLeMan)
 - target-i386: fix SIB decoding with index = 4 (Aurelien Jarno)
 - Fix segfault with ram_size > 4095M without kvm (Ryan Harper)
 - target-i386: Fix long jumps/calls in long mode with REX.W set (malc)
 - target-i386: fix lddqu SSE instruction (Aurelien Jarno)
 - qemu-char.c: drop debug printfs from qemu_chr_parse_compat (Jan Kiszka)
 - fix undefined shifts by >32 (Paolo Bonzini)
 - Fix qemu -net user,hostfwd= example (Aurelien Jarno)

---

Also add a patch for e1000.c NIC to make wm(4) work on NetBSD guest:
---
 * Reset EEPROM internal state on CS rise edge,
   not SK rise edge during CS is low, per CS pin description in
   the FM93C06 EEPROM manual:
    "... a rising edge on this signal is required to reset the
     internal state-machine to accept a new cycle ..."
   Intel's em driver seems to explicitly raise and lower SK output
   after CS is negated in em_standby_eeprom() so many other OSes
   that use Intel's driver don't have this problem, but I can't find
   articles that say the MICROWIRE or EEPROM spec requires such sequence.
 * It isn't a good idea to use memset(,0,) to clear EEPROM state values,
   so explicitly clear status members and preserve the previous EECD values
---
This patch is also filed as upstream QEMU bugs #581737.

While here, several tweaks in Makefile to appease pkglint.
2010-05-17 14:31:07 +00:00
gson
55c72cea51 Correct emulation of i386 cmpxchg instruction in the case where the
comparison outcome is unequal and the memory write causes a page
fault.  Fixes PR pkg/42158.
2010-04-25 12:55:41 +00:00
sbd
53f2b7c5fe Use PLIST_VARS for all the qemu _user_ space emulators (plus nbd) and turn
on those that are supported by each opsys.  This should make things easier
if more bsd/darwin user space emulators are added.

Bump PKGREVISION.

OK wiz@
2010-04-10 05:57:40 +00:00
tnn
8449a2831f Update to qemu-0.12.3.
Changes: assorted bugfixes
2010-02-27 23:21:13 +00:00
heinz
d653ce6a74 Added LICENSE information. 2010-01-24 17:11:17 +00:00
bouyer
5813000596 patch-aa: patch ported from sysutils/xentools3-hvm to make network interface
tap backend work on NetBSD (NetBSD uses an ioctl to get the tap name).
patch-ab: add support for the "select without ATN" to the emulated
esp device. NetBSD's esp(4) uses this command and aborts after a timeout.
While there fix the homepage URL.

Now NetBSD/sparc 5.0.1 boots and runs fine in qemu-system-sparc on a
NetBSD/amd64 host.

Bump pkgrevision.
2010-01-14 22:32:33 +00:00
asau
657c2d7d00 Update to qemu 0.11.1:
Changes in version 0.11.1:
  - fix I2C slave addressing (Juha RiihimæÖki)
  - 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)
2009-12-09 18:28:39 +00:00
asau
46c1500e27 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)
2009-10-11 16:04:13 +00:00
tnn
f22dd43d5f The package's install target already installs manpages, no need for
us to do it manually anymore.
2009-09-22 12:18:33 +00:00
tnn
53aaa9b902 Use mmap to allocate executable memory on NetBSD as well.
Bump revision.
2009-08-31 14:30:50 +00:00
hasso
09bd02022f 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
2009-08-31 10:18:49 +00:00
kefren
14a5807a8f Fix from upstream for CVE-2008-2004
PKGREVISION=1
2009-05-13 19:02:18 +00:00
abs
258824ec89 Workaround for PR/41007 - ensure WRKSRC comes before any buildlinked
directories so we pickup our audio/audio.h. Cannot use CPPFLAGS for this.
    CFLAGS+= -I${WRKSRC}
2009-03-24 15:13:40 +00:00
jmmv
3a978315b3 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)
2009-01-22 07:27:28 +00:00
hubertf
b2c00c14f1 Get this building on amd64, patch suggested by Dieter Roelants 2008-12-30 00:54:19 +00:00
hubertf
576619ddc6 pkgsrc's gcc is required on NetBSD 5, too :(
Suggested by ahoka@
2008-12-17 00:53:48 +00:00
obache
b20d1e2657 Update HOMEPAGE and MASTER_SITES, from Zafer Aydogan via private mail. 2008-08-04 06:55:39 +00:00
apb
ae6e312fa4 Add patches/patch-ba:
Emulate the speaker port's refresh clock bit.  This is supposed
  to toggle between 0 and 1<<4 every 15 microseconds.  XXX: We use
  gettimeofday() in the real machine instead of a monotonic clock
  in the virtual machine, and we are a bit sloppy about the 15
  microseconds.  This should be good enough for crude loops that
  measure approximate delays by counting how often this line toggles.

Bump PKGREVISION to 1
2007-12-24 10:18:22 +00:00
joerg
e8874f8098 DESTDIR support, order PLIST and add RCS ids to some patches. 2007-12-18 00:16:56 +00:00
abs
4b4be11149 BUILDLINK_TRANSFORM+= rm:-msse 2007-09-10 12:18:13 +00:00
abs
95244d507d Add -msse2 to the list of CFLAGS which break qemu 2007-09-04 20:05:48 +00:00
xtraeme
b0b3690231 Drop maintainership. 2007-07-09 20:01:44 +00:00
xtraeme
b7a6f73e82 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)
2007-05-21 20:24:44 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
xtraeme
d892f5c70c Disable gcc stack protector in DragonFly. Patch sent privately by
Rumko.
2006-12-06 22:31:28 +00:00
xtraeme
2467a15380 Install html documentation, noted by hira@.
Bump PKGREVISION.
2006-09-17 07:51:56 +00:00
adrianp
0b9569e477 If we're installing the man files we need perl and texi2html to generate
them.  This will finish off the following commit:
	http://mail-index.netbsd.org/pkgsrc-changes/2006/09/16/0029.html
2006-09-16 21:39:30 +00:00