ChangeLog/5.2
IMPORTANT NOTE: in this release we have switched our build system to internally use Meson. Building should be broadly unchanged for most users, but please see the 'Build Information' section of the changelog for details.
System emulation
Incompatible changes
New deprecated options and features
Consult the "Deprecated Features" chapter of the QEMU System Emulation User's Guide for the full list of historically deprecated features/options.
In particular, note that the Unicore32 and lm32 guest support have been deprecated and will be removed in a future version. They are now only built if explicitly enabled in --target-list.
68k
Alpha
Arm
- ARMv8.2 FEAT_FP16 (half-precision floating point) is now implemented for AArch32 emulation (AArch64 already supported this)
- The SMMUv3 model now supports SMMUv3.2 range invalidation
- The sbsa-ref board now has an embedded controller model for guest powerdown and reboot requests
- Support for KVM on 32-bit host CPUs (deprecated in 5.0) has now been removed. (32-bit KVM guests on 64-bit hosts remain supported.)
- Two new board models in the mps2 family: mps2-an386 (Cortex-M4 based) and mps2-an500 (Cortex-M7 based)
- New Nuvoton iBMC board models: npcm750-evb, quanta-gsj
AVR
HPPA
- Added power button emulation
- Boots NetBSD
- Boots old Linux CDs, e.g debian-0.5 and debian-0.6.1
- Artist framebuffer fixes when running dtwm on HP-UX
- Artist graphics allows screen resolution up to 2048 x 2048 pixels
- fw_cfg interface added
Microblaze
MIPS
Nios2
OpenRISC
PowerPC
- The pseries machine now respects the nvdimm= machine option (previously NVDIMMs could be attached even with nvdimm=off)
- spapr_vscsi should now properly report that it does not support hotplug
Renesas RX
Renesas SH
RISC-V
- Improvements to the Ibex (OpenTitan) PLIC
- OpenSBI v0.8 included
- Generic OpenSBI platform used when no -bios argument is supplied
- A dummy L2 cache controller for the sifive_u is now included
- PMPCFG CSR setting bug fixed for RV64
- Improvements to the floating point helpers
- Experimental Hypervisor support updated to v0.6.1
- Support for NUMA sockets on Virt and Spike Machines
- Support for the Microchip PolarFire SoC Icicle Kit
- Fix for crash seen when running 'poweroff' command on virt machine
s390
SPARC
TileGX
Tricore
x86
- A new KVM feature which improves the handling of asynchronous page faults is available with -cpu ...,kvm-async-pf-int. This requires Linux 5.8.
Xtensa
- DFPU coprocessor with single and double precision floating point opcodes is now supported
- NMI is now supported
Device emulation and assignment
ACPI
Audio
Block devices
Graphics
Input devices
IPMI
Network devices
NVDIMM
NVMe
- Add support for mandatory features of version 1.3 of the NVM Express specification
- Add support for the Abort, Asynchronous Event Request and Get Log Page commands
PCI/PCIe
SCSI
SD card
SMBIOS
TPM
USB
VFIO
virtio
Xen
fw_cfg
9pfs
- Significant performance improvement of Treaddir requests.
- A performance warning is now logged on host side if 'msize' is set to a very small value, which especially includes Linux 9P clients not having any user specified 'msize' parameter at all. Simply setting 'msize' (on client/guest side) to any value larger than 8192 will cause the warning to disappear. See msize documentation for details.
virtiofs
Semihosting
Audio
Character devices
Crypto subsystem
experimental qmp interface
GUI
GDBStub
Host support
Memory backends
Migration
- A new 'block-bitmap-mapping' migration parameter is added, allowing finer control of which bitmaps to migrate, even when node names differ between source and destination.
- Migration over 'vsock' is now allowed, for nested environments or hosts with hardware that looks like a vsock.
- A new 'calc-dirty-rate'/'query-dirty-rate' call gathers an approximation of the rate at which the guest is dirtying RAM and thus gives an idea about whether precopy migration is likely to proceed.
- The default migration bandwidth has been increased to 1Gbps; users are still encouraged to tune it to their own hardware.
- TLS+multifd is now supported for higher bandwidth encrypted migration.
Monitor
HMP
Network
Block device backends and tools
- qcow2 files now support extended L2 entries that allow subcluster-based allocation (enable with
extended_l2=on
when creating the image). - Using qemu as an NBD client has fewer scenarios where network timeouts stall guest execution
- More explicit errors are reported when use of O_DIRECT fails
Tracing
- Add support of dtrace backend on macOS
Miscellaneous
- The roms/edk2 submodule and the bundled edk2 binaries have been updated to edk2-stable202008.
User-mode emulation
- ppc64abi32-linux-user is deprecated and only built when explicitly enabled in--target-list
- tilegx-linux-user is deprecated and only built when explicitly enabled in--target-list
- better reporting when we can't mmap the guest_base we want on systems without MAP_FIXED_NOREPLACE
TCG
Guest agent
Build Information
- The build system is now partly based on Meson. However, building is still done with configure and make as in previous versions of QEMU.
- Binaries for emulators are placed in the root build directory, for example as qemu-system-ppc instead of ppc-softmmu/qemu-system-ppc. Symbolic links from the old binary are preserved to simplify the transition.
- In-tree builds are not supported anymore. The build system will try to cater for ./configure && make && make install by building QEMU in a directory named build, but you are encouraged to switch to out-of-tree builds instead.
- ivshmem-client and ivshmem-server are not installed anymore. They are merely examples, and not to be used in production.
- QEMU installations are now relocatable. For example, if QEMU is configured with bindir=/usr/local/bin and datadir=/usr/local/share, when QEMU is launched as /opt/local/qemu-5.2/bin/qemu-system-x86_64 it will look automatically for data files in /opt/local/qemu-5.2/share. Note that directories configured outside the prefix (as is often the case for /etc and /var) will not be relocated! Previously this was done only under Windows and only for emulators.
Python
GIT submodules
Container Based Builds
Build Dependencies
- GNU Make 3.82 is now the minimum supported release for building QEMU. Note that this version is not included in macOS and must be installed from packaging systems such as Homebrew.
- Python setuptools are now required to build QEMU.
Testing
Windows
- qemu-nbd is now built on mingw, and works for simple cases even if it can't duplicate the full functionality available on Unix systems
Known issues
- see Planning/5.2