ChangeLog/5.0: Difference between revisions

From QEMU
Line 39: Line 39:
* New board: tacoma-bmc
* New board: tacoma-bmc
* New board: Netduino Plus 2
* New board: Netduino Plus 2
* New board: Orangepi PC (orangepi-pc)
* QEMU now correctly implements trapping of more EL1 system register accesses to EL2 (eg HCR_EL2 TID1, TID2 bits, HSTR_EL2)
* QEMU now correctly implements trapping of more EL1 system register accesses to EL2 (eg HCR_EL2 TID1, TID2 bits, HSTR_EL2)
* The no-op system registers required for a "trivial Jazelle" implementation have been added
* The no-op system registers required for a "trivial Jazelle" implementation have been added
Line 54: Line 55:
* The integratorcp board now wires up the audio codec controller
* The integratorcp board now wires up the audio codec controller
* The versal board now implements the ADMA DMA controllers
* The versal board now implements the ADMA DMA controllers
* TPM is now support
* TPM is now supported
* The iMX25 now wires up the eSDHC controllers and the USB controllers


=== HPPA ===
=== HPPA ===

Revision as of 20:33, 12 March 2020

System emulation

Incompatible changes

  • The bluetooth code has been removed without replacement. It was quite neglected over the years and likely not usable anymore. You can passthrough a dedicated USB bluetooth dongle to guests on most machines instead if you still need bluetooth in your guest.
  • The pc-0.12, pc-0.13, pc-0.14, pc-0.15 machines have been removed. Newer versions of the machine type should be used instead.
  • The "prep" ppc machine has been removed. The "40p" machine should be used now instead.
  • The "-virtfs_synth" option has been removed. You can use "-fsdev synth" together with "-device virtio-9p-..." instead.
  • The "-accel" and "-machine accel=" options are now incompatible with each other.

New deprecated options and features

  • The "-tb-size N" option has been deprecated. It is replaced by "-accel tcg,tb-size=N".
  • The virtio-blk SCSI passthrough feature (" -device virtio-blk,scsi=on") is deprecated. Use virtio-scsi instead.
  • The "r4k" mips machine has been deprecated. The "malta" machine should be used nowadays instead.

Consult the "Deprecated Features" appendix for the full list of historically deprecated features/options.

Alpha

68k

Arm

  • Emulation of the following architecture features is now implemented:
    • ARMv8.1-VHE
    • ARMv8.1-VMID16
    • ARMv8.1-PAN
    • ARMv8.1-PMU
    • ARMv8.2-UAO
    • ARMv8.2-DCPoP
    • ARMv8.2-ATS1E1
    • ARMv8.2-TTCNP
    • ARMv8.3-RCPC
    • ARMv8.3-CCIDX
    • ARMv8.4-PMU
    • ARMv8.4-RCPC
  • The Cortex-M7 CPU is now supported
  • New board: tacoma-bmc
  • New board: Netduino Plus 2
  • New board: Orangepi PC (orangepi-pc)
  • QEMU now correctly implements trapping of more EL1 system register accesses to EL2 (eg HCR_EL2 TID1, TID2 bits, HSTR_EL2)
  • The no-op system registers required for a "trivial Jazelle" implementation have been added
  • The DC CVAP and DC CVADP instructions are now supported
  • Support for blocking semiconsole SYS_READC
  • the i.MX RNGC device is now supported
  • the watchdog device is now implemented on the i.MX6 boards
  • The Cortex-R5 and -R5f CPUs now provide a PMU
  • The Exynos4210 SoC model now correctly handles DMA to/from the UARTs
  • The Aspeed AST2600 SoC model now includes the eMMC controller
  • Under KVM, we now by default stop and restart the guest generic timer counter when the VM is stopped and started so the guest OS doesn't see surprising time jumps. (This can be disabled with the kvm-no-adjvtime property.)
  • The Aspeed AST2400, AST2500, AST2600 SoCs now support the EHCI controller
  • The z2 and mainstone boards now permit booting with just a kernel image and no flash image file
  • The Allwinner SoC model now wires up the USB ports
  • The integratorcp board now wires up the audio codec controller
  • The versal board now implements the ADMA DMA controllers
  • TPM is now supported
  • The iMX25 now wires up the eSDHC controllers and the USB controllers

HPPA

  • Artist graphics emulation added.
  • PS2 keyboard and mouse added to LASI chip.
  • Accept LDCW to addresses not aligned mod 16.

Microblaze

MIPS

  • Support for R4000 machine is announced to be deprecated, and will be removed from code base in QEMU 5.2.

Nios2

OpenRISC

  • Fixed a bug that prevented the DZF bit of the FPCSR being set.

PowerPC

  • pseries machine type
    • No longer require a reconfiguration reboot for a guest selecting XIVE interrupt controller when ic-mode=dual
    • Now consumes less host resources when running a KVM guest with XIVE (with a recent enough host kernel). This allows running more concurrent guests with KVM accelerated XIVE.
    • New 'kernel-addr' property to control the load address for -kernel
    • NVDIMMs with file backend now supported
    • If a guest panics with the ibm,os-term RTAS call, the error message it supplies is now reported
  • powernv machine type
    • Numerous improvements to the model
    • Can now run KVM guests under a TCG emulated powernv machine
    • Basic POWER10 support
    • Removed num-chips machine property, use -smp sockets=NN instead

RISC-V

  • The virt and sifive_u boards now have syscon device tree nodes, which allows the generic syscon drivers in Linux to control power/reboot.
  • The GDB stub now allows for D on rv32 and non-D on rv64.
  • The virt board now contains a Goldfish RTC.
  • Support for version 0.5.1 of the draft hypervisor extension has been added.

s390

  • Adpater interrupt suppression is now available when running with KVM (previously disabled due to migration issues); support under tcg has already been available since 2.10
    • enable by specifying the cpu feature "ais=on"

SH

SPARC

TileGX

Tricore

x86

Xtensa

Device emulation and assignment

ACPI

Audio

Block devices

Graphics

Input devices

IPMI

Network devices

NVDIMM

PCI/PCIe

SCSI

SMBIOS

TPM

  • There's TPM support for ARM now

USB

VFIO

virtio

Xen

fw_cfg

9pfs

  • Client is required to negotiate msize >= 4096 (9p client in linux already does that)

Semihosting

Audio

Character devices

Crypto subsystem

GUI

  • The VNC server websocket impl has fixed compatibility with noVNC

Host support

Memory backends

Monitor

QMP

  • The QMP command nbd-server-add now supports a 'description' parameter to match the behavior of command-line qemu-nbd --description.

Migration

  • Add dbus-vmstate, a backend that allows external processes to migrate their data along with QEMU. See the documentation.

Network

Block device backends and tools

  • The command line qemu-nbd --partition, deprecated in 4.0, has been removed. Exposing a single partition of an image through NBD should now be accomplished via other means, such as using the offset and size parameters of an intermediate raw driver.
  • qemu-img convert -n now understands a --target-is-zero option, which tells it that the target image is completely zero, so it does not need to be zeroed again.

Tracing

  • DEBUG_MMAP build hack replaced by target_mmap_* tracepoints

Miscellaneous

  • It is now possible to specify multiple "-accel" options. The first available accelerator will be used. For example, "-machine accel=kvm:tcg" can now be expressed as "-accel kvm -accel tcg" with the added possibility of including options to configure the accelerator.
  • KVM and Xen-specific machine options have been moved to "-accel"; the previous way to set the option is still available for backwards-compatibility. The options that were moved are:
    • "-machine kernel_irqchip=" (now "-accel kvm,kernel-irqchip=")
    • "-machine kvm_shadow_mem=" (now "-accel kvm,kvm-shadow-mem=")
    • "-machine igd-passthru=" (now "-accel xen,igd-passthrough=")
  • changing the logfile via HMP is now atomically thread-safe
  • virtiofsd is now included, this works with the vhost-user-fs device to provide a passthrough to a host filesystem directory.

User-mode emulation

TCG

  • A bug in TCG plugin address tracking was fixed

Guest agent

  • The 'set-guest-time' command is now fenced off on systems that do not have the 'hwclock' command available (e.g. on s390x).

Build Information

Python

GIT submodules

Container Based Builds

  • --disable-containers allows configure to skip attempting to use them from cross builds (useful on non-x86 builds)

Build Dependencies

  • Most of our documentation is now built using Sphinx. If you want to build the documentation (including HTML and the manpages) you will need to have sphinx-build (at least Sphinx version 1.3, using Python 3). Pass --enable-docs to configure if you want to force the docs to be built; otherwise configure will default to "build docs if possible, skip if required tools are missing".

Testing

  • multiarch targets added to Travis

Windows

Known issues