Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 93C2271955 for ; Tue, 9 Jul 2013 17:01:15 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id EB14D14A217; Tue, 9 Jul 2013 17:01:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C812014A20B for ; Tue, 9 Jul 2013 17:01:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id f23qY_7R_hOk for ; Tue, 9 Jul 2013 17:00:58 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id BE76E14A1F2 for ; Tue, 9 Jul 2013 17:00:58 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id B77E996; Tue, 9 Jul 2013 17:00:58 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 9 Jul 2013 17:00:58 +0000 From: "Izumi Tsutsui" Subject: CVS commit: pkgsrc/emulators/qemu To: pkgsrc-changes@NetBSD.org Reply-To: tsutsui@netbsd.org X-Mailer: log_accum Message-Id: <20130709170058.B77E996@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: tsutsui Date: Tue Jul 9 17:00:58 UTC 2013 Modified Files: pkgsrc/emulators/qemu: Makefile PLIST distinfo pkgsrc/emulators/qemu/patches: patch-ef patch-et patch-ioport.c patch-memory.c patch-net_tap-bsd.c patch-slirp_tcp__subr.c patch-user-exec.c patch-util_hbitmap.c patch-util_qemu-thread-posix.c Added Files: pkgsrc/emulators/qemu/patches: patch-hw_display_omap__dss.c patch-hw_net_etraxfs__eth.c patch-hw_net_xilinx__axienet.c patch-include_qemu_thread-posix.h Removed Files: pkgsrc/emulators/qemu/patches: patch-eg patch-eh patch-en patch-hw_xilinx__axienet.c Log Message: Update qemu to 1.5.1. pkgsrc changes: - remove now unnecessary SUBST for audio.h conflicts - update PLIST for new files - adjust patches for hw directory reorganization - update counting semaphore patches per comments on qemu-devel Upstream changes: Changes mentioned in 1.5.1 announcement: http://lists.nongnu.org/archive/html/qemu-devel/2013-06/msg04798.html 295d81c: Update VERSION for 1.5.1 release (Anthony Liguori) cc0bd7e: wdt_i6300esb: fix vmstate versioning (Michael Roth) 12e5b2b: virtio-rng: Fix crash with non-default backend (Cole Robinson) cb55efe: iscsi: reorganize iscsi_readcapacity_sync (Paolo Bonzini) 1b94fc4: iscsi: simplify freeing of tasks (Paolo Bonzini) 5e690bb: vhost-scsi: fix k->set_guest_notifiers() NULL dereference (Stefan Hajnoczi) 129db36: scsi-disk: scsi-block device for scsi pass-through should not be removable (Pavel Hrdina) 637d640: scsi-generic: check the return value of bdrv_aio_ioctl in execute_command (Pavel Hrdina) 9c4f5dd: scsi-generic: fix sign extension of READ CAPACITY(10) data (Paolo Bonzini) 3abd71c: scsi: reset cdrom tray statuses on scsi_disk_reset (Pavel Hrdina) 5fcb9bf: nbd: strip braces from literal IPv6 address in URI (Jan Tomko) 6c8cf5f: qemu-socket: allow hostnames starting with a digit (Jan Tomko) ce4e8f0: vmdk: byteswap VMDK4Header.desc_offset field (Stefan Hajnoczi) c683f1b: target-i386: cpu: Fix potential buffer overrun in get_register_name_32() (Igor Mammedov) 75e4aa9: pc: Fix crash when attempting to hotplug CPU with negative ID (Igor Mammedov) 055a7fc: smbios: Check R in -smbios type=0, release=R parses okay (Markus Armbruster) 93bc624: smbios: Fix -smbios type=0, release=... for big endian hosts (Markus Armbruster) 61fbaee: smbios: Clean up smbios_add_field() parameters (Markus Armbruster) 685ee2d: smbios: Convert to error_report() (Markus Armbruster) fa0f47d: log.h: Supply missing includes (Markus Armbruster) 7552569: error-report.h: Supply missing include (Markus Armbruster) 02d2672: tcg-ppc64: rotr_i32 rotates wrong amount (Anton Blanchard) 2917f6b: tcg-ppc64: Fix add2_i64 (Anton Blanchard) 9534f66: tcg-ppc64: bswap64 rotates output 32 bits (Anton Blanchard) d208f05: tcg-ppc64: Fix RLDCL opcode (Anton Blanchard) 6b6f105: ivshmem: add missing error exit(2) (Stefan Hajnoczi) 3202c02: Makefile: Install qemu-img and qemu-nbd man pages only if built (Andreas Farber) 5a893b0: tap: fix NULL dereference when passing invalid parameters to tap (Jason Wang) 0817fa9: create qemu_openpty_raw() helper function and move it to a separate file (Michael Tokarev) 5810174: blockdev: reset werror/rerror on drive_del (Stefan Hajnoczi) eeaa8d3: q35: set fw_name (Michael S. Tsirkin) c127070: target-i386: Fix aflag logic for CODE64 and the 0x67 prefix (Richard Henderson) 252a7c6: qemu-char: don't issue CHR_EVENT_OPEN in a BH (Michael Roth) 6f3718c: xilinx_axidma: Do not set DMA .notify to NULL after notify (Wendy Liang) 1fb147f: virtio-ccw: Fix unsetting of indicators. (Cornelia Huck) 72762f2: s390x/css: Fix concurrent sense. (Cornelia Huck) 31ba701: ui/gtk.c: Fix *BSD build of Gtk+ UI (Brad Smith) 9ca80c7: vmxnet3: fix NICState cleanup (Stefan Hajnoczi) a548bac: Fix usage of USB_DEV_FLAG_IS_HOST flag. (Michael Marineau) 9b5751e: host-libusb: Correct test for USB packet state (Ed Maste) 032ce1b: qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path (Amos Kong) baa8a8b: do not check pointers after dereferencing them (Paolo Bonzini) 327e75b: xen: start PCI hole at 0xe0000000 (same as pc_init1 and qemu-xen-traditional) (Stefano Stabellini) 9e7fdaf: Remove OSS support for OpenBSD (Brad Smith) d503afb: target-i386: fix abort on bad PML4E/PDPTE/PDE/PTE addresses (Luiz Capitulino) 5b3ca29: update seabios to release 1.7.2.2 (Gerd Hoffmann) 7b9cdc5: Revert "roms: switch oldnoconfig to olddefconfig" (Gerd Hoffmann) 0565700: ide: Set BSY bit during FLUSH (Andreas Farber) ddaa83e: chardev: fix "info chardev" output (Gerd Hoffmann) 38ec6c1: xen_machine_pv: do not create a dummy CPU in machine->init (Stefano Stabellini) 951411f: main_loop: do not set nonblocking if xen_enabled() (Stefano Stabellini) 5c26608: xen: simplify xen_enabled (Stefano Stabellini) 3541912: qom/object: Don't poll cast cache for NULL objects (Peter Crosthwaite) 749806d: rtl8139: flush queued packets when RxBufPtr is written (Stefan Hajnoczi) a6fc2cd: hw/9pfs: use O_NOFOLLOW for mapped readlink operation (Aneesh Kumar K.V) eabdf85: hw/9pfs: Fix segfault with 9p2000.u (Aneesh Kumar K.V) Changelog 1.5: http://wiki.qemu.org/ChangeLog/1.5 General ------- - The default for log output enabled via the '-d' command line switch is now standard error rather than a file. You can obtain the previous behaviour using the '-D' command line switch to specify a file to send the logging to. - QEMU now uses poll rather than select, and thus does not have any restriction on the number of open file descriptors. System emulation ---------------- Device emulation Audio - The --audio-card-list configure option is not used anymore. Instead, you can modify default-configs/pci.mak (for the PCI soundcards AC97, HDA and ES1370) and default-configs/sound.mak (for the ISA soundcards) before running "make". - The "shortcut" -soundhw option is now available for all targets that have a PCI bus. Device assignment - VFIO supports primary VGA passthrough using the experimental "x-vga=on" option. The following devices seem to work: Nvidia 8400gs, 73001e, NVS290; ATI/AMD Radeon HD5450 and HD7850. - VFIO devices support the bootindex= property to override the default boot order for assigned PCI devices. USB - Experimental support for USB 3.0 streams, both in the nec-usb-xhci controller and in the usb-uas USB-attached SCSI device emulation. - USB device passthrough has been rewritten to use libusb. For Linux, the two backends can be compiled in a single QEMU executable (if libusb is enabled, usb-host-linux will be the legacy implementation, usb-host will be the libusb-based one; if libusb is disabled, usb-host will be the legacy implementation). For BSD, it has to be chosen at configure time using --enable/disable-libusb (the default is to use libusb if it is available, otherwise use the legacy implementation). SCSI - QEMU can now emulate the VMware PVSCSI device using "-device pvscsi". - QEMU can now use tcm_vhost, a virtio-scsi device model based on the Linux-iSCSI implementation of SCSI. Network cards - QEMU can now emulate the VMware paravirtualized network card using "-device vmxnet3". ARM - This release has initial support of KVM for the ARM architecture. This requires a 3.9 or better Linux kernel and a Cortex-A15 CPU. - The Zynq board provides a SD host controller interface. - The PCI controller model for VersatilePB and Realview boards has been significantly improved in functionality (including MMIO BAR support and a correct PCI IRQ mapping). Note that Linux kernels currently do not take advantage of this; however we autodetect kernels that expect the behaviour of an old broken QEMU and fall back to that. (The old IRQ behaviour can be forced with "-global versatile_pci.broken-irq-mapping=1" if absolutely necessary.) - Incorrect handling of the SRS instruction in Thumb mode has been fixed. - Performance of TCG emulation of ARM targets is improved over previous releases. - Migration and vm save/load now works correctly on the vexpress-a15 and vexpress-a9 models. PPC - Various improvements to TCG code generation - KVM synchronizes more state - Fix a few issues that blocked Mac OS X from working (still not 100% there though!) - Refactoring and improvement of soft mmu emulation for book3s - Implement various new instructions for ISA 2.05 and ISA 2.06 compatibility (-cpu POWER7) - Implement support for KVM based e500 family watchdog s390x - Various accuracy fixes for device emulation - Faster I/O hypercalls - Add firmware to boot from virtio-ccw disks - Guest kernel panics are notified to the host SPARC - Improve sun4u interrupt mapping, so that multiple PCI devices can be used simultaneously x86 - x86 supports emulation of a TPM (Trusted Platform Module) on machines that have a hardware TPM - Various speedups in TCG emulation of x86 - The iPXE ROMs that are distributed with QEMU support EFI - TCG supports the SSE4.1, SSE4.2, PCLMULQDQ, AES-NI, BMI and ADX extensions. - A paravirtual device is included that lets the guest notifies kernel panics to the host. - CPU hot-add support with cpu-add QMP command. More details Features/CPUHotplug. - new CPU properties "feature-words" and "filtered-features" to allow introspection of supported and not supported CPU features. - For reference and examples of how the new properties can be used by libvirt and other components, see: http://wiki.qemu.org/Features/CPUModels#Interfaces.2Frequirements_for_libvirt QMP - QEMU now generates a DEVICE_DELETED event when the guest acknowledges a device hot-unplug operation. - Much better handling for non-ASCII codepoints in JSON strings Character devices - Character devices gained support for flow control. More details in Features/ChardevFlowControl - All kinds of character devices can now be hot-plugged. Character device hotplug is also supported from the "human" monitor. Block devices - IDE and SCSI disks always have the ability to issue "discard" (aka TRIM or UNMAP) commands. However, by default "discard" commands are silently ignored as they can cause performance degradation and fragmentation. To enable them, the "-drive" option now supports a "discard" suboption; the default value is "ignore" (or its synonym "off"), and the other valid value is "unmap" (or "on"). - Sheepdog drives can also be specified with URIs. - iSCSI disks support on-line resizing using block_resize. Similar to block devices, the resize has to be done first outside QEMU. - Various performance improvements in qcow2 internal snapshots (savevm). - The NBD backend has improved latency. - qemu-nbd can now skip image format probing using the -f/--format command-line option. - VHDX (MS Hyper-V) image format has initial read-only support. Dynamic and fixed sized disks are supported, but not differencing images (e.g. VHDX images with a backing file). Read-only is strictly enforced, and the 'readonly=on' option must be used for any VHDX images. - Secure Shell (ssh) support. Access remote disks over ssh using qemu -drive file=ssh://host/path/to/file Live Migration - Further improvements in throughput (up to +130%: 4.2 Gbps in 1.5 vs 1.8 Gbps in 1.4) and latency. User interface - QEMU now provides a GTK+ interface. The interface uses the VTE library to provide better terminal emulation for serial consoles and the monitor. - A new VNC extension has been added to communicate LED state changes for the keyboard. VNC - Websocket connections can now be encrypted with TLS. User-mode emulation ------------------- - Threaded programs are now more stable, though still experimental. Guest agent ----------- - New commands in qemu-ga let the host put CPUs online/offline with help from the guest OS (Linux only) - Low impact CVE-2013-2007 ("qemu: guest agent creates files with insecure permissions in daemon mode") is fixed. - Note for guest administrators: unix domain sockets, logfiles etc. created by previous versions of qemu-ga do not have their file mode bits reset by this change; only newly created files have mode 0600 when daemonizing. Please delete your old files or change their permissions manually when upgrading. - The guest-file-open QMP command continues to create files with mode 0666 for compatibility reasons. Host support ------------ - QEMU is now a lot faster on Windows hosts than in previous versions - libcacard has been ported to Windows. Known issues - The GTK+ backend does not compile on BSD systems (including Mac OS X). This will likely be fixed in a later stable update. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 pkgsrc/emulators/qemu/Makefile cvs rdiff -u -r1.34 -r1.35 pkgsrc/emulators/qemu/PLIST cvs rdiff -u -r1.84 -r1.85 pkgsrc/emulators/qemu/distinfo cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/qemu/patches/patch-ef cvs rdiff -u -r1.6 -r0 pkgsrc/emulators/qemu/patches/patch-eg \ pkgsrc/emulators/qemu/patches/patch-eh \ pkgsrc/emulators/qemu/patches/patch-en cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/qemu/patches/patch-et \ pkgsrc/emulators/qemu/patches/patch-ioport.c cvs rdiff -u -r0 -r1.1 \ pkgsrc/emulators/qemu/patches/patch-hw_display_omap__dss.c \ pkgsrc/emulators/qemu/patches/patch-hw_net_etraxfs__eth.c \ pkgsrc/emulators/qemu/patches/patch-hw_net_xilinx__axienet.c \ pkgsrc/emulators/qemu/patches/patch-include_qemu_thread-posix.h cvs rdiff -u -r1.4 -r0 \ pkgsrc/emulators/qemu/patches/patch-hw_xilinx__axienet.c cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/qemu/patches/patch-memory.c \ pkgsrc/emulators/qemu/patches/patch-slirp_tcp__subr.c cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/qemu/patches/patch-net_tap-bsd.c cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/qemu/patches/patch-user-exec.c \ pkgsrc/emulators/qemu/patches/patch-util_hbitmap.c \ pkgsrc/emulators/qemu/patches/patch-util_qemu-thread-posix.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.