ChangeLog/0.14
QEMU 0.14.0 IS NOT YET RELEASED
0.14.0
Targets
i386/x86_64
- Waiting for Anthony, Avi or Marcelo.
ARM and MIPS
- Waiting for Aurelien.
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)
s390x
- No news, business as usual.
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)
- Final version series: http://www.mail-archive.com/qemu-devel@nongnu.org/msg49323.html
- 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-ive,drive=disk,bus=ahci.0
SCSI
- Ask Kevin.
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:
PCI/PCI Express
- Improved PCI Express support and functionalities with the implementation of:
- Implementation of Message Signaled Interrupts (MSI/MSI-X) support (commit)
- Separation of the PCI bridge code from the main PCI code. (commit)
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.
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:
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. (commit) (commit) (commit)
- 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.(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:
- spice: core bits (commit)
- spice: add keyboard (commit)
- spice: add mouse (commit)
- spice: simple display (commit)
- spice: add tablet support (commit)
- spice: tls support (commit)
- spice: make compression configurable. (commit)
- spice: add config options for channel security. (commit)
- spice: add config options for the listening address (commit)
- spice: add misc config options (commit)
- spice: add audio (commit)
- spice: add qxl device (commit)
- spice: connection events. (commit)
QMP / monitor
- 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)
- 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
- 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 (commit)
- Add a DTrace tracing backend targetted for SystemTAP compatibility (commit)
- Add LTTng Userspace Tracer backend (commit)
- Add simple built-in tracing backend (commit)
- Add stderr trace-event backend: (commit)
- Support for dynamically enabling/disabling trace events (commit)
- Specify trace file name (commit)
- Add trace-file command to open/close/flush trace file (commit)
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)