ChangeLog/0.14

From QEMU

Contents

0.14.1

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

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. (list of commits)

MIPS

SH4

  • Various bug fixes and improvements including (list of commits)
    • SM501 2D engine copyrect support, needed to boot recent kernels (commit)
    • MMU mmaped TLB access, needed to boot recent kernels (commit)
    • Floating point exceptions and correct NaN support.

PPC

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

s390x

  • No news, business as usual.

SPARC

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

Hosts

ARM

MIPS

IA64

  • Fix random crashes for 32-bit targets (commit)

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.(commit)
    • 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. (commit) (commit) (commit) (commit)
  • 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. (commit) (commit)
  • Various fixes and stabilization for live-migration: (commit) (commit) (commit)
  • Various virtio-net improvements:
    • Make tx_timer timeout configurable (commit)
    • Limit number of packets sent per TX flush (commit)
    • Introduce a new bottom half packet TX (commit)
    • Fix cross-endianness support (commit)

PCI/PCI Express

Sound

  • New Intel HD Audio support (commit), 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

Video

  • Fix cirrus VGA crash with some guests (commit)
  • Fix curses big endian support (commit)

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. (commit) (commit) (commit)
  • Copy snapshots out of QCOW2 disk, eg: qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img (commit)
  • Zero-copy read and write operations (commit) (commit)
  • Other fixes and code cleanups:
    • qcow2: Invalidate cache after failed read (commit)
    • block: Allow bdrv_flush to return errors (commit)
    • qcow2: Simplify image creation (commit)
    • qcow2: Fixes unaligned access on IA64 (commit)

qed

ceph/rbd

  • Introduction of the new ceph/rbd block driver. RBD is an block driver for the distributed file system Ceph.(commit)
  • 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. (commit)
  • Introduce NBD named exports. (commit)

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:

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 (commit)
    • human-monitor-command (commit) (commit)
    • set_password (commit)
    • drive_del (commit)
    • block_resize command, allowing resizing of block devices while qemu is running (commit). 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

Other stuff

  • Extend -option-rom command to have additional parameter bootindex (commit)
  • 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. (commit)