[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen master] Merge tag 'v4.1.0' into 'staging'
=== This changeset includes merge from high-traffic branch === Commits on that branch are not reported individually. commit d7845778668905123d8e0d4954ed2e5e99388657 Merge: 9e06029aea3b2eca1d5261352e695edc1e7d7b8b dbf360567a7da50db4d2f9bde4649aba21aa8106 Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Fri Aug 16 11:04:55 2019 +0100 Commit: Anthony PERARD <anthony.perard@xxxxxxxxxx> CommitDate: Fri Aug 16 11:04:55 2019 +0100 Merge tag 'v4.1.0' into 'staging' .cirrus.yml | 4 +- .editorconfig | 9 + .gitignore | 1 + .gitlab-ci.yml | 15 + .gitmodules | 14 +- .patchew.yml | 302 ++ .shippable.yml | 9 +- .travis.yml | 35 +- CODING_STYLE | 47 +- LICENSE | 21 +- MAINTAINERS | 257 +- Makefile | 252 +- Makefile.objs | 32 +- Makefile.target | 37 +- VERSION | 2 +- accel/Makefile.objs | 1 + accel/accel.c | 5 - accel/kvm/kvm-all.c | 332 +- accel/kvm/trace-events | 1 + accel/qtest.c | 54 + accel/stubs/hax-stub.c | 1 - accel/stubs/hvf-stub.c | 1 - accel/stubs/kvm-stub.c | 1 - accel/stubs/whpx-stub.c | 1 - accel/tcg/atomic_template.h | 8 +- accel/tcg/cpu-exec-common.c | 1 + accel/tcg/cpu-exec.c | 25 +- accel/tcg/cputlb.c | 899 +++- accel/tcg/softmmu_template.h | 454 -- accel/tcg/tcg-all.c | 8 +- accel/tcg/tcg-runtime-gvec.c | 206 + accel/tcg/tcg-runtime.c | 4 +- accel/tcg/tcg-runtime.h | 22 + accel/tcg/translate-all.c | 116 +- accel/tcg/translator.c | 16 +- accel/tcg/user-exec-stub.c | 1 - accel/tcg/user-exec.c | 109 +- arch_init.c | 1 - audio/alsaaudio.c | 3 +- audio/audio.c | 2 + audio/audio_legacy.c | 1 - audio/audio_pt_int.c | 1 - audio/coreaudio.c | 2 +- audio/dsoundaudio.c | 2 +- audio/mixeng.c | 1 - audio/noaudio.c | 3 +- audio/ossaudio.c | 3 +- audio/paaudio.c | 5 +- audio/sdlaudio.c | 3 +- audio/spiceaudio.c | 1 + audio/wavaudio.c | 2 + authz/base.c | 3 +- authz/list.c | 3 +- authz/listfile.c | 3 +- authz/pamacct.c | 3 +- authz/simple.c | 3 +- backends/Makefile.objs | 2 + backends/hostmem-file.c | 3 +- backends/hostmem-memfd.c | 3 +- backends/hostmem-ram.c | 2 + backends/hostmem.c | 6 +- backends/rng-egd.c | 1 + backends/rng-random.c | 3 +- backends/rng.c | 1 + backends/tpm.c | 1 + backends/vhost-user.c | 209 + balloon.c | 1 - block.c | 544 ++- block/Makefile.objs | 10 +- block/backup.c | 281 +- block/blkdebug.c | 60 +- block/blklogwrites.c | 1 + block/blkreplay.c | 2 +- block/blkverify.c | 1 + block/block-backend.c | 95 +- block/bochs.c | 1 - block/cloop.c | 1 - block/commit.c | 40 +- block/copy-on-read.c | 17 +- block/crypto.c | 4 +- block/crypto.h | 6 +- block/curl.c | 1 + block/dirty-bitmap.c | 10 +- block/dmg-bz2.c | 1 - block/dmg.c | 1 - block/dmg.h | 1 - block/file-posix.c | 94 +- block/gluster.c | 22 +- block/io.c | 237 +- block/iscsi-opts.c | 2 +- block/iscsi.c | 31 +- block/linux-aio.c | 73 +- block/mirror.c | 119 +- block/nbd-client.c | 1226 ----- block/nbd-client.h | 72 - block/nbd.c | 1281 +++++- block/nfs.c | 1 + block/null.c | 1 + block/nvme.c | 53 +- block/parallels.c | 17 +- block/qapi.c | 170 +- block/qcow.c | 29 +- block/qcow2-bitmap.c | 5 +- block/qcow2-cache.c | 2 - block/qcow2-cluster.c | 16 +- block/qcow2-refcount.c | 150 +- block/qcow2-snapshot.c | 1 - block/qcow2-threads.c | 268 ++ block/qcow2.c | 420 +- block/qcow2.h | 35 +- block/qed-check.c | 4 +- block/qed-table.c | 45 +- block/qed.c | 15 +- block/qed.h | 28 +- block/quorum.c | 2 +- block/raw-format.c | 1 + block/rbd.c | 43 +- block/replication.c | 24 +- block/sheepdog.c | 5 +- block/ssh.c | 747 ++-- block/stream.c | 64 +- block/throttle.c | 1 + block/trace-events | 25 +- block/vdi.c | 18 +- block/vhdx-endian.c | 1 - block/vhdx-log.c | 5 +- block/vhdx.c | 10 +- block/vhdx.h | 16 +- block/vmdk.c | 377 +- block/vpc.c | 7 +- block/vvfat.c | 13 +- block/vxhs.c | 1 + block/win32-aio.c | 3 +- blockdev.c | 162 +- blockjob.c | 116 +- bsd-user/main.c | 17 +- bsd-user/syscall.c | 6 +- bt-vhci.c | 1 - chardev/baum.c | 3 +- chardev/char-console.c | 2 + chardev/char-fd.c | 4 +- chardev/char-file.c | 1 + chardev/char-mux.c | 1 + chardev/char-null.c | 2 + chardev/char-parallel.c | 1 + chardev/char-pipe.c | 2 + chardev/char-pty.c | 9 +- chardev/char-ringbuf.c | 1 + chardev/char-serial.c | 1 + chardev/char-socket.c | 1 + chardev/char-stdio.c | 1 + chardev/char-udp.c | 1 + chardev/char-win-stdio.c | 2 + chardev/char-win.c | 3 +- chardev/char.c | 6 +- chardev/msmouse.c | 3 +- chardev/spice.c | 1 + chardev/testdev.c | 3 +- chardev/wctablet.c | 2 +- configure | 352 +- contrib/elf2dmp/Makefile.objs | 3 + contrib/elf2dmp/main.c | 3 +- contrib/elf2dmp/pdb.c | 3 +- contrib/elf2dmp/qemu_elf.h | 7 +- contrib/ivshmem-client/ivshmem-client.c | 1 - contrib/ivshmem-client/main.c | 1 - contrib/ivshmem-server/ivshmem-server.c | 1 - contrib/libvhost-user/libvhost-user-glib.c | 12 +- contrib/libvhost-user/libvhost-user-glib.h | 2 +- contrib/libvhost-user/libvhost-user.c | 91 +- contrib/libvhost-user/libvhost-user.h | 13 +- contrib/rdmacm-mux/main.c | 20 +- contrib/rdmacm-mux/rdmacm-mux.h | 6 +- contrib/vhost-user-blk/vhost-user-blk.c | 19 +- contrib/vhost-user-gpu/50-qemu-gpu.json.in | 5 + contrib/vhost-user-gpu/Makefile.objs | 10 + contrib/vhost-user-gpu/main.c | 1191 +++++ contrib/vhost-user-gpu/virgl.c | 579 +++ contrib/vhost-user-gpu/virgl.h | 26 + contrib/vhost-user-gpu/vugbm.c | 328 ++ contrib/vhost-user-gpu/vugbm.h | 68 + contrib/vhost-user-gpu/vugpu.h | 178 + contrib/vhost-user-input/Makefile.objs | 1 + contrib/vhost-user-input/main.c | 410 ++ contrib/vhost-user-scsi/vhost-user-scsi.c | 21 +- cpus.c | 234 +- crypto/Makefile.objs | 11 +- crypto/aes.c | 1 - crypto/block-luks.c | 2 +- crypto/block-luks.h | 2 +- crypto/block-qcow.c | 2 +- crypto/block-qcow.h | 2 +- crypto/block.c | 2 +- crypto/blockpriv.h | 2 +- crypto/cipher-builtin.c | 2 +- crypto/cipher-gcrypt.c | 2 +- crypto/cipher-nettle.c | 220 +- crypto/cipher.c | 2 +- crypto/hash-gcrypt.c | 2 +- crypto/hash-glib.c | 2 +- crypto/hash-nettle.c | 14 +- crypto/hash.c | 2 +- crypto/hmac-nettle.c | 17 +- crypto/init.c | 2 +- crypto/ivgen-essiv.c | 2 +- crypto/ivgen-essiv.h | 11 +- crypto/ivgen-plain.c | 2 +- crypto/ivgen-plain.h | 7 +- crypto/ivgen-plain64.c | 2 +- crypto/ivgen-plain64.h | 11 +- crypto/ivgen.c | 2 +- crypto/ivgenpriv.h | 2 +- crypto/pbkdf-gcrypt.c | 2 +- crypto/pbkdf-nettle.c | 2 +- crypto/pbkdf-stub.c | 2 +- crypto/pbkdf.c | 2 +- crypto/random-gcrypt.c | 4 +- crypto/random-gnutls.c | 4 +- crypto/random-platform.c | 106 +- crypto/secret.c | 3 +- crypto/tlscreds.c | 3 +- crypto/tlscredsanon.c | 3 +- crypto/tlscredspriv.h | 2 +- crypto/tlscredspsk.c | 3 +- crypto/tlscredsx509.c | 3 +- crypto/tlssession.c | 2 +- crypto/xts.c | 2 +- default-configs/aarch64-softmmu.mak | 6 +- default-configs/arm-softmmu.mak | 180 +- default-configs/i386-softmmu.mak | 1 + default-configs/lm32-softmmu.mak | 2 + default-configs/m68k-softmmu.mak | 2 + default-configs/mips-softmmu-common.mak | 6 +- default-configs/mips64-softmmu.mak | 5 - default-configs/mips64el-softmmu.mak | 5 - default-configs/nios2-softmmu.mak | 3 + default-configs/xtensa-softmmu.mak | 2 + disas.c | 6 +- disas/alpha.c | 2 +- disas/arm-a64.cc | 2 +- disas/arm.c | 2 +- disas/cris.c | 3 +- disas/hppa.c | 2 +- disas/i386.c | 3 +- disas/lm32.c | 2 +- disas/m68k.c | 2 +- disas/microblaze.c | 2 +- disas/mips.c | 2 +- disas/moxie.c | 2 +- disas/nanomips.cpp | 2 +- disas/nanomips.h | 4 +- disas/nios2.c | 2 +- disas/ppc.c | 2 +- disas/riscv.c | 67 +- disas/s390.c | 3 +- disas/sh4.c | 2 +- disas/sparc.c | 2 +- disas/tci.c | 2 +- disas/xtensa.c | 2 +- docs/conf.py | 4 +- docs/devel/build-system.txt | 19 +- docs/devel/index.rst | 2 + docs/devel/kconfig.rst | 4 +- docs/devel/multiple-iothreads.txt | 4 +- docs/devel/qapi-code-gen.txt | 38 + docs/devel/s390-dasd-ipl.txt | 133 + docs/devel/secure-coding-practices.rst | 106 + docs/devel/tcg.rst | 111 + docs/devel/testing.rst | 41 +- docs/devel/tracing.txt | 4 +- docs/devel/writing-qmp-commands.txt | 11 +- docs/hyperv.txt | 201 + docs/index.rst | 1 + docs/interop/bitmaps.rst | 1585 +++++-- docs/interop/index.rst | 3 +- docs/interop/vhost-user-gpu.rst | 242 + docs/interop/vhost-user.json | 6 +- docs/interop/vhost-user.rst | 1378 ++++++ docs/interop/vhost-user.txt | 1219 ----- docs/nvdimm.txt | 22 +- docs/qemu-block-drivers.texi | 2 +- docs/qemu-cpu-models.texi | 12 + docs/security.texi | 167 + docs/specs/conf.py | 16 + docs/specs/index.rst | 14 + docs/specs/ppc-spapr-xive.rst | 274 ++ docs/specs/ppc-xive.rst | 200 + docs/sphinx/qmp_lexer.py | 43 + dump.c | 2070 --------- dump/Makefile.objs | 3 + dump/dump-hmp-cmds.c | 88 + dump/dump.c | 2071 +++++++++ dump/win_dump.c | 390 ++ dump/win_dump.h | 18 + exec.c | 117 +- fsdev/file-op-9p.h | 1 - fsdev/qemu-fsdev-dummy.c | 2 +- fsdev/qemu-fsdev-throttle.h | 7 +- fsdev/qemu-fsdev.c | 97 +- fsdev/qemu-fsdev.h | 25 - gdbstub.c | 1815 +++++--- hmp-commands.hx | 24 +- hmp.c | 3156 ------------- hmp.h | 154 - hw/9pfs/9p-proxy.c | 1 + hw/9pfs/coth.c | 1 - hw/9pfs/virtio-9p-device.c | 1 + hw/9pfs/xen-9pfs.h | 10 +- hw/Kconfig | 1 + hw/Makefile.objs | 62 +- hw/acpi/Kconfig | 4 + hw/acpi/Makefile.objs | 3 +- hw/acpi/bios-linker-loader.c | 1 - hw/acpi/core.c | 1 + hw/acpi/pci.c | 61 + hw/acpi/pcihp.c | 32 +- hw/acpi/piix4.c | 27 +- hw/acpi/tco.c | 1 - hw/acpi/trace-events | 16 + hw/acpi/utils.c | 35 + hw/acpi/vmgenid.c | 1 + hw/adc/stm32f2xx_adc.c | 1 + hw/alpha/dp264.c | 1 + hw/alpha/pci.c | 1 - hw/alpha/typhoon.c | 1 + hw/arm/Kconfig | 332 +- hw/arm/Makefile.objs | 26 +- hw/arm/allwinner-a10.c | 2 +- hw/arm/armsse.c | 61 +- hw/arm/armv7m.c | 22 +- hw/arm/aspeed.c | 106 +- hw/arm/aspeed_soc.c | 312 +- hw/arm/bcm2835_peripherals.c | 62 +- hw/arm/bcm2836.c | 2 +- hw/arm/boot.c | 122 +- hw/arm/collie.c | 2 +- hw/arm/cubieboard.c | 1 - hw/arm/digic.c | 18 +- hw/arm/exynos4210.c | 55 +- hw/arm/exynos4_boards.c | 44 +- hw/arm/fsl-imx25.c | 1 - hw/arm/fsl-imx31.c | 1 - hw/arm/fsl-imx6.c | 8 +- hw/arm/fsl-imx6ul.c | 66 +- hw/arm/fsl-imx7.c | 20 +- hw/arm/gumstix.c | 2 +- hw/arm/highbank.c | 4 +- hw/arm/imx25_pdk.c | 15 +- hw/arm/integratorcp.c | 5 +- hw/arm/kzm.c | 8 +- hw/arm/mainstone.c | 4 +- hw/arm/mcimx6ul-evk.c | 5 +- hw/arm/mcimx7d-sabre.c | 3 +- hw/arm/microbit.c | 2 +- hw/arm/mps2-tz.c | 13 +- hw/arm/mps2.c | 12 +- hw/arm/msf2-soc.c | 2 - hw/arm/msf2-som.c | 3 +- hw/arm/musca.c | 10 +- hw/arm/musicpal.c | 3 +- hw/arm/netduino2.c | 2 +- hw/arm/nrf51_soc.c | 3 +- hw/arm/nseries.c | 9 +- hw/arm/omap1.c | 2 +- hw/arm/omap2.c | 3 +- hw/arm/omap_sx1.c | 2 +- hw/arm/palm.c | 4 +- hw/arm/pxa2xx.c | 3 +- hw/arm/pxa2xx_gpio.c | 1 + hw/arm/pxa2xx_pic.c | 2 +- hw/arm/raspi.c | 21 +- hw/arm/realview.c | 7 +- hw/arm/sabrelite.c | 8 +- hw/arm/sbsa-ref.c | 806 ++++ hw/arm/smmu-common.c | 7 +- hw/arm/smmuv3-internal.h | 4 +- hw/arm/smmuv3.c | 30 +- hw/arm/spitz.c | 2 +- hw/arm/stellaris.c | 4 +- hw/arm/stm32f205_soc.c | 4 +- hw/arm/strongarm.c | 3 +- hw/arm/sysbus-fdt.c | 1 - hw/arm/tosa.c | 4 +- hw/arm/versatilepb.c | 5 +- hw/arm/vexpress.c | 20 +- hw/arm/virt-acpi-build.c | 58 +- hw/arm/virt.c | 221 +- hw/arm/xilinx_zynq.c | 3 +- hw/arm/xlnx-versal.c | 4 +- hw/arm/xlnx-zcu102.c | 6 +- hw/arm/xlnx-zynqmp.c | 26 +- hw/arm/z2.c | 2 +- hw/audio/ac97.c | 3 +- hw/audio/adlib.c | 1 + hw/audio/cs4231.c | 1 + hw/audio/cs4231a.c | 2 + hw/audio/es1370.c | 1 + hw/audio/gus.c | 2 + hw/audio/hda-codec.c | 1 + hw/audio/intel-hda.c | 1 + hw/audio/marvell_88w8618.c | 2 + hw/audio/milkymist-ac97.c | 1 + hw/audio/pcspk.c | 1 + hw/audio/pl041.c | 1 + hw/audio/sb16.c | 2 + hw/audio/soundhw.c | 1 - hw/audio/wm8750.c | 1 + hw/block/cdrom.c | 1 - hw/block/dataplane/virtio-blk.c | 12 +- hw/block/dataplane/xen-block.c | 50 +- hw/block/dataplane/xen-block.h | 3 +- hw/block/fdc.c | 15 +- hw/block/m25p80.c | 1 + hw/block/nand.c | 1 + hw/block/nvme.c | 110 +- hw/block/nvme.h | 2 + hw/block/onenand.c | 2 +- hw/block/pflash_cfi01.c | 61 +- hw/block/pflash_cfi02.c | 710 ++- hw/block/trace-events | 12 +- hw/block/vhost-user-blk.c | 175 +- hw/block/virtio-blk.c | 2 +- hw/block/xen-block.c | 43 +- hw/block/xen_blkif.h | 5 +- hw/bt/core.c | 1 - hw/bt/hci-csr.c | 2 +- hw/bt/hci.c | 1 - hw/bt/hid.c | 1 - hw/bt/l2cap.c | 1 - hw/bt/sdp.c | 1 - hw/char/Kconfig | 6 + hw/char/Makefile.objs | 1 + hw/char/bcm2835_aux.c | 1 + hw/char/cadence_uart.c | 1 + hw/char/cmsdk-apb-uart.c | 1 + hw/char/debugcon.c | 1 + hw/char/digic-uart.c | 1 + hw/char/escc.c | 8 + hw/char/etraxfs_ser.c | 1 + hw/char/exynos4210_uart.c | 1 + hw/char/grlib_apbuart.c | 5 +- hw/char/imx_serial.c | 1 + hw/char/ipoctal232.c | 1 + hw/char/lm32_juart.c | 1 + hw/char/lm32_uart.c | 1 + hw/char/mcf_uart.c | 2 + hw/char/milkymist-uart.c | 1 + hw/char/nrf51_uart.c | 1 + hw/char/parallel.c | 2 + hw/char/pl011.c | 1 + hw/char/sclpconsole-lm.c | 1 + hw/char/sclpconsole.c | 1 + hw/char/serial-isa.c | 1 + hw/char/serial-pci-multi.c | 208 + hw/char/serial-pci.c | 171 +- hw/char/spapr_vty.c | 2 +- hw/char/stm32f2xx_usart.c | 1 + hw/char/terminal3270.c | 1 + hw/char/virtio-console.c | 1 + hw/char/virtio-serial-bus.c | 1 + hw/char/xen_console.c | 2 +- hw/char/xilinx_uartlite.c | 1 + hw/core/Makefile.objs | 5 + hw/core/bus.c | 24 +- hw/core/empty_slot.c | 1 + hw/core/fw-path-provider.c | 1 + hw/core/generic-loader.c | 1 + hw/core/irq.c | 1 - hw/core/loader-fit.c | 62 +- hw/core/loader.c | 2 + hw/core/machine-hmp-cmds.c | 167 + hw/core/machine-qmp-cmds.c | 330 ++ hw/core/machine.c | 104 +- hw/core/nmi.c | 1 + hw/core/null-machine.c | 1 - hw/core/numa.c | 613 +++ hw/core/or-irq.c | 1 + hw/core/platform-bus.c | 1 + hw/core/qdev-properties-system.c | 41 +- hw/core/qdev-properties.c | 1 + hw/core/qdev.c | 2 +- hw/core/register.c | 1 + hw/core/split-irq.c | 1 + hw/core/stream.c | 1 + hw/core/sysbus.c | 11 + hw/core/vm-change-state-handler.c | 61 + hw/cpu/a15mpcore.c | 1 + hw/cpu/a9mpcore.c | 1 + hw/cpu/arm11mpcore.c | 1 + hw/cpu/core.c | 6 +- hw/cpu/realview_mpcore.c | 1 + hw/cris/axis_dev88.c | 1 - hw/cris/boot.c | 1 - hw/display/Kconfig | 20 + hw/display/Makefile.objs | 6 +- hw/display/ads7846.c | 1 + hw/display/ati.c | 97 +- hw/display/ati_2d.c | 128 +- hw/display/ati_dbg.c | 3 + hw/display/ati_int.h | 7 +- hw/display/ati_regs.h | 6 +- hw/display/bcm2835_fb.c | 1 + hw/display/blizzard.c | 3 +- hw/display/bochs-display.c | 11 +- hw/display/cg3.c | 3 +- hw/display/cirrus_vga.c | 12 +- hw/display/cirrus_vga_isa.c | 1 + hw/display/dpcd.c | 1 + hw/display/edid-generate.c | 1 - hw/display/edid-region.c | 1 - hw/display/exynos4210_fimd.c | 2 +- hw/display/g364fb.c | 1 + hw/display/i2c-ddc.c | 127 + hw/display/jazz_led.c | 2 +- hw/display/milkymist-tmu2.c | 1 + hw/display/milkymist-vgafb.c | 1 + hw/display/pl110.c | 1 + hw/display/qxl.c | 60 +- hw/display/qxl.h | 1 - hw/display/ramfb-standalone.c | 13 +- hw/display/ramfb.c | 89 +- hw/display/sii9022.c | 4 +- hw/display/sm501.c | 4 +- hw/display/ssd0303.c | 2 + hw/display/ssd0323.c | 2 + hw/display/tc6393xb.c | 18 +- hw/display/tcx.c | 3 +- hw/display/vga-isa.c | 2 + hw/display/vga-pci.c | 6 +- hw/display/vga_regs.h | 6 +- hw/display/vhost-user-gpu-pci.c | 51 + hw/display/vhost-user-gpu.c | 607 +++ hw/display/vhost-user-vga.c | 52 + hw/display/virtio-gpu-3d.c | 50 +- hw/display/virtio-gpu-base.c | 268 ++ hw/display/virtio-gpu-pci.c | 56 +- hw/display/virtio-gpu.c | 461 +- hw/display/virtio-vga.c | 139 +- hw/display/virtio-vga.h | 32 + hw/display/vmware_vga.c | 2 + hw/display/xenfb.c | 7 +- hw/display/xlnx_dp.c | 16 +- hw/dma/Makefile.objs | 2 +- hw/dma/bcm2835_dma.c | 1 + hw/dma/etraxfs_dma.c | 1 - hw/dma/i82374.c | 1 + hw/dma/i8257.c | 2 + hw/dma/omap_dma.c | 1 - hw/dma/pl080.c | 1 + hw/dma/pl330.c | 19 +- hw/dma/puv3_dma.c | 2 + hw/dma/pxa2xx_dma.c | 1 + hw/dma/rc4030.c | 22 +- hw/dma/soc_dma.c | 1 - hw/dma/sparc32_dma.c | 1 + hw/dma/xilinx_axidma.c | 1 + hw/dma/xlnx-zdma.c | 1 + hw/dma/xlnx-zynq-devcfg.c | 1 + hw/dma/xlnx_dpdma.c | 2 + hw/gpio/bcm2835_gpio.c | 1 + hw/gpio/gpio_key.c | 1 + hw/gpio/imx_gpio.c | 1 + hw/gpio/max7310.c | 1 + hw/gpio/mpc8xxx.c | 1 + hw/gpio/nrf51_gpio.c | 1 + hw/gpio/omap_gpio.c | 1 + hw/gpio/pl061.c | 1 + hw/gpio/puv3_gpio.c | 2 + hw/gpio/zaurus.c | 2 + hw/hppa/dino.c | 1 + hw/hppa/hppa_hardware.h | 5 + hw/hppa/machine.c | 4 +- hw/hppa/pci.c | 1 - hw/hyperv/hyperv.c | 1 + hw/hyperv/hyperv_testdev.c | 1 + hw/i2c/Kconfig | 7 +- hw/i2c/Makefile.objs | 1 - hw/i2c/aspeed_i2c.c | 1 + hw/i2c/bitbang_i2c.c | 51 +- hw/i2c/bitbang_i2c.h | 12 - hw/i2c/core.c | 1 + hw/i2c/exynos4210_i2c.c | 1 + hw/i2c/i2c-ddc.c | 127 - hw/i2c/imx_i2c.c | 1 + hw/i2c/microbit_i2c.c | 1 + hw/i2c/mpc_i2c.c | 1 + hw/i2c/omap_i2c.c | 2 + hw/i2c/ppc4xx_i2c.c | 9 +- hw/i2c/smbus_ich9.c | 23 +- hw/i2c/smbus_slave.c | 1 + hw/i2c/versatile_i2c.c | 11 +- hw/i386/Kconfig | 11 +- hw/i386/Makefile.objs | 2 +- hw/i386/acpi-build.c | 137 +- hw/i386/amd_iommu.c | 2 + hw/i386/amd_iommu.h | 4 +- hw/i386/fw_cfg.c | 38 + hw/i386/fw_cfg.h | 20 + hw/i386/intel_iommu.c | 73 +- hw/i386/kvm/apic.c | 3 +- hw/i386/kvm/clock.c | 2 +- hw/i386/kvm/i8254.c | 1 + hw/i386/kvm/i8259.c | 2 + hw/i386/kvmvapic.c | 14 +- hw/i386/pc.c | 291 +- hw/i386/pc_piix.c | 34 +- hw/i386/pc_q35.c | 35 +- hw/i386/pc_sysfw.c | 19 +- hw/i386/xen/xen-hvm.c | 20 +- hw/i386/xen/xen-mapcache.c | 2 - hw/i386/xen/xen_apic.c | 2 + hw/i386/xen/xen_platform.c | 1 + hw/i386/xen/xen_pvdevice.c | 1 + hw/ide/Kconfig | 6 +- hw/ide/Makefile.objs | 2 +- hw/ide/ahci-allwinner.c | 1 + hw/ide/ahci.c | 1 + hw/ide/ahci_internal.h | 2 +- hw/ide/cmd646.c | 2 + hw/ide/ich.c | 1 + hw/ide/isa.c | 2 + hw/ide/macio.c | 2 + hw/ide/microdrive.c | 2 + hw/ide/mmio.c | 2 + hw/ide/pci.c | 2 + hw/ide/piix.c | 1 + hw/ide/qdev.c | 4 +- hw/ide/sii3112.c | 1 + hw/ide/via.c | 2 + hw/input/Kconfig | 12 +- hw/input/Makefile.objs | 7 +- hw/input/adb-internal.h | 4 + hw/input/adb-kbd.c | 2 + hw/input/adb-mouse.c | 2 + hw/input/adb.c | 2 + hw/input/lm832x.c | 1 + hw/input/milkymist-softusb.c | 1 + hw/input/pl050.c | 1 + hw/input/stellaris_input.c | 12 +- hw/input/tsc2005.c | 2 +- hw/input/tsc210x.c | 4 +- hw/input/vhost-user-input.c | 129 + hw/input/virtio-input-hid.c | 1 + hw/input/virtio-input-host.c | 2 +- hw/input/virtio-input.c | 1 + hw/intc/Makefile.objs | 1 + hw/intc/allwinner-a10-pic.c | 1 + hw/intc/apic.c | 1 - hw/intc/apic_common.c | 3 +- hw/intc/arm_gic.c | 1 + hw/intc/arm_gic_common.c | 1 + hw/intc/arm_gic_kvm.c | 2 +- hw/intc/arm_gicv2m.c | 1 + hw/intc/arm_gicv3.c | 1 + hw/intc/arm_gicv3_common.c | 1 + hw/intc/arm_gicv3_cpuif.c | 6 +- hw/intc/arm_gicv3_dist.c | 12 +- hw/intc/arm_gicv3_its_common.c | 1 + hw/intc/arm_gicv3_its_kvm.c | 1 + hw/intc/arm_gicv3_kvm.c | 1 + hw/intc/arm_gicv3_redist.c | 4 +- hw/intc/armv7m_nvic.c | 364 +- hw/intc/aspeed_vic.c | 106 +- hw/intc/bcm2835_ic.c | 1 + hw/intc/bcm2836_control.c | 1 + hw/intc/etraxfs_pic.c | 1 + hw/intc/exynos4210_combiner.c | 1 + hw/intc/exynos4210_gic.c | 2 +- hw/intc/grlib_irqmp.c | 4 +- hw/intc/heathrow_pic.c | 2 + hw/intc/imx_avic.c | 1 + hw/intc/imx_gpcv2.c | 1 + hw/intc/ioapic.c | 66 +- hw/intc/ioapic_common.c | 1 + hw/intc/lm32_pic.c | 1 + hw/intc/mips_gic.c | 3 +- hw/intc/nios2_iic.c | 2 +- hw/intc/omap_intc.c | 2 + hw/intc/ompic.c | 1 + hw/intc/openpic.c | 2 + hw/intc/openpic_kvm.c | 2 +- hw/intc/pl190.c | 1 + hw/intc/pnv_xive.c | 146 +- hw/intc/puv3_intc.c | 2 + hw/intc/realview_gic.c | 1 + hw/intc/s390_flic.c | 1 + hw/intc/s390_flic_kvm.c | 2 +- hw/intc/sh_intc.c | 1 - hw/intc/slavio_intctl.c | 1 + hw/intc/spapr_xive.c | 194 +- hw/intc/spapr_xive_kvm.c | 851 ++++ hw/intc/trace-events | 1 + hw/intc/xics.c | 52 +- hw/intc/xics_kvm.c | 196 +- hw/intc/xics_pnv.c | 1 + hw/intc/xics_spapr.c | 48 +- hw/intc/xilinx_intc.c | 1 + hw/intc/xive.c | 167 +- hw/intc/xlnx-pmu-iomod-intc.c | 1 + hw/intc/xlnx-zynqmp-ipi.c | 1 + hw/ipack/ipack.c | 1 + hw/ipack/tpci200.c | 1 + hw/ipmi/ipmi.c | 1 + hw/ipmi/ipmi_bmc_extern.c | 1 + hw/ipmi/ipmi_bmc_sim.c | 1 + hw/ipmi/isa_ipmi_bt.c | 2 + hw/ipmi/isa_ipmi_kcs.c | 2 + hw/isa/i82378.c | 4 - hw/isa/isa-bus.c | 2 + hw/isa/isa-superio.c | 2 + hw/isa/lpc_ich9.c | 14 +- hw/isa/pc87312.c | 1 + hw/isa/smc37c669-superio.c | 1 + hw/isa/vt82c686.c | 3 +- hw/lm32/Kconfig | 1 + hw/lm32/lm32_boards.c | 1 - hw/lm32/lm32_hwsetup.h | 1 - hw/m68k/an5206.c | 1 - hw/m68k/mcf5206.c | 1 - hw/m68k/mcf_intc.c | 3 +- hw/mem/nvdimm.c | 1 + hw/mem/pc-dimm.c | 8 + hw/microblaze/petalogix_ml605_mmu.c | 1 - hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 - hw/microblaze/xlnx-zynqmp-pmu.c | 46 +- hw/mips/Kconfig | 30 + hw/mips/boston.c | 32 +- hw/mips/cps.c | 21 +- hw/mips/gt64xxx_pci.c | 494 +- hw/mips/mips_fulong2e.c | 11 +- hw/mips/mips_int.c | 2 +- hw/mips/mips_jazz.c | 1 + hw/mips/mips_malta.c | 39 +- hw/mips/trace-events | 4 + hw/misc/Kconfig | 2 + hw/misc/Makefile.objs | 3 + hw/misc/a9scu.c | 1 + hw/misc/applesmc.c | 1 + hw/misc/arm11scu.c | 1 + hw/misc/arm_integrator_debug.c | 1 + hw/misc/arm_l2x0.c | 1 + hw/misc/arm_sysctl.c | 1 + hw/misc/armsse-cpuid.c | 1 + hw/misc/armsse-mhu.c | 1 + hw/misc/aspeed_scu.c | 11 +- hw/misc/aspeed_sdmc.c | 1 + hw/misc/aspeed_xdma.c | 165 + hw/misc/auxbus.c | 1 + hw/misc/bcm2835_mbox.c | 1 + hw/misc/bcm2835_property.c | 1 + hw/misc/bcm2835_rng.c | 35 +- hw/misc/cbus.c | 2 +- hw/misc/debugexit.c | 1 + hw/misc/eccmemctl.c | 1 + hw/misc/edu.c | 33 +- hw/misc/exynos4210_clk.c | 1 + hw/misc/exynos4210_pmu.c | 1 + hw/misc/exynos4210_rng.c | 12 +- hw/misc/grlib_ahb_apb_pnp.c | 269 ++ hw/misc/imx25_ccm.c | 1 + hw/misc/imx2_wdt.c | 1 + hw/misc/imx31_ccm.c | 1 + hw/misc/imx6_ccm.c | 1 + hw/misc/imx6_src.c | 1 + hw/misc/imx6ul_ccm.c | 1 + hw/misc/imx7_ccm.c | 1 + hw/misc/imx7_gpr.c | 1 + hw/misc/imx7_snvs.c | 1 + hw/misc/imx_ccm.c | 1 + hw/misc/iotkit-secctl.c | 1 + hw/misc/iotkit-sysctl.c | 1 + hw/misc/iotkit-sysinfo.c | 1 + hw/misc/ivshmem.c | 2 + hw/misc/macio/cuda.c | 3 + hw/misc/macio/gpio.c | 1 + hw/misc/macio/mac_dbdma.c | 2 + hw/misc/macio/macio.c | 10 +- hw/misc/macio/pmu.c | 2 + hw/misc/max111x.c | 1 + hw/misc/milkymist-hpdmc.c | 1 + hw/misc/milkymist-pfpu.c | 1 + hw/misc/mips_cmgcr.c | 1 + hw/misc/mips_cpc.c | 1 + hw/misc/mips_itu.c | 1 + hw/misc/mos6522.c | 2 + hw/misc/mps2-fpgaio.c | 1 + hw/misc/mps2-scc.c | 1 + hw/misc/msf2-sysreg.c | 1 + hw/misc/mst_fpga.c | 2 + hw/misc/nrf51_rng.c | 5 +- hw/misc/pc-testdev.c | 1 + hw/misc/pca9552.c | 1 + hw/misc/pci-testdev.c | 2 + hw/misc/puv3_pm.c | 2 + hw/misc/pvpanic.c | 1 + hw/misc/sga.c | 2 + hw/misc/slavio_misc.c | 1 + hw/misc/stm32f2xx_syscfg.c | 1 + hw/misc/tmp105.c | 1 + hw/misc/tmp421.c | 1 + hw/misc/trace-events | 3 + hw/misc/tz-mpc.c | 1 + hw/misc/tz-msc.c | 1 + hw/misc/tz-ppc.c | 1 + hw/misc/unimp.c | 1 + hw/misc/vmcoreinfo.c | 2 + hw/misc/zynq-xadc.c | 1 + hw/misc/zynq_slcr.c | 1 + hw/moxie/moxiesim.c | 1 - hw/net/Kconfig | 7 +- hw/net/Makefile.objs | 3 +- hw/net/allwinner_emac.c | 2 + hw/net/cadence_gem.c | 1 + hw/net/can/can_kvaser_pci.c | 1 + hw/net/can/can_mioe3680_pci.c | 1 + hw/net/can/can_pcm3680_pci.c | 1 + hw/net/dp8393x.c | 1 + hw/net/e1000.c | 10 +- hw/net/e1000e.c | 1 + hw/net/e1000e_core.h | 5 + hw/net/e1000x_common.h | 5 + hw/net/eepro100.c | 1 + hw/net/etraxfs_eth.c | 1 + hw/net/fsl_etsec/etsec.c | 1 + hw/net/ftgmac100.c | 3 +- hw/net/imx_fec.c | 1 + hw/net/lan9118.c | 4 +- hw/net/lance.c | 1 + hw/net/mcf_fec.c | 2 + hw/net/milkymist-minimac2.c | 2 +- hw/net/mipsnet.c | 1 + hw/net/ne2000-isa.c | 2 + hw/net/ne2000-pci.c | 132 + hw/net/ne2000.c | 107 +- hw/net/opencores_eth.c | 1 + hw/net/pcnet-pci.c | 1 + hw/net/pcnet.c | 4 +- hw/net/rocker/qmp-norocker.c | 1 - hw/net/rocker/rocker.c | 1 + hw/net/rtl8139.c | 2 + hw/net/smc91c111.c | 3 +- hw/net/spapr_llan.c | 3 +- hw/net/stellaris_enet.c | 2 + hw/net/sungem.c | 1 + hw/net/sunhme.c | 30 +- hw/net/trace-events | 2 + hw/net/vhost_net.c | 10 + hw/net/virtio-net.c | 5 +- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet3_defs.h | 6 +- hw/net/xen_nic.c | 2 +- hw/net/xgmac.c | 1 + hw/net/xilinx_axienet.c | 1 + hw/net/xilinx_ethlite.c | 2 +- hw/nios2/10m50_devboard.c | 1 - hw/nios2/Kconfig | 4 + hw/nios2/Makefile.objs | 1 + hw/nios2/boot.c | 18 +- hw/nios2/cpu_pic.c | 6 +- hw/nios2/generic_nommu.c | 105 + hw/nvram/ds1225y.c | 1 + hw/nvram/eeprom_at24c.c | 1 + hw/nvram/fw_cfg.c | 68 +- hw/nvram/mac_nvram.c | 2 + hw/nvram/nrf51_nvm.c | 1 + hw/nvram/spapr_nvram.c | 2 +- hw/nvram/trace-events | 7 +- hw/openrisc/cputimer.c | 2 +- hw/openrisc/openrisc_sim.c | 4 +- hw/openrisc/pic_cpu.c | 2 +- hw/pci-bridge/dec.c | 5 +- hw/pci-bridge/dec.h | 1 - hw/pci-bridge/gen_pcie_root_port.c | 1 + hw/pci-bridge/i82801b11.c | 3 +- hw/pci-bridge/ioh3420.c | 1 + hw/pci-bridge/pci_bridge_dev.c | 3 +- hw/pci-bridge/pci_expander_bridge.c | 7 +- hw/pci-bridge/pcie_pci_bridge.c | 3 +- hw/pci-bridge/pcie_root_port.c | 11 +- hw/pci-bridge/simba.c | 3 +- hw/pci-bridge/xio3130_downstream.c | 8 +- hw/pci-bridge/xio3130_upstream.c | 3 +- hw/pci-host/designware.c | 23 +- hw/pci-host/gpex.c | 7 +- hw/pci-host/grackle.c | 1 + hw/pci-host/ppce500.c | 1 + hw/pci-host/prep.c | 1 + hw/pci-host/q35.c | 37 +- hw/pci-host/sabre.c | 1 + hw/pci-host/uninorth.c | 2 + hw/pci-host/versatile.c | 1 + hw/pci-host/xilinx-pcie.c | 5 +- hw/pci/msix.c | 2 - hw/pci/pci-stub.c | 11 + hw/pci/pci.c | 120 +- hw/pci/pci_bridge.c | 3 +- hw/pci/pci_host.c | 14 +- hw/pci/pcie.c | 41 +- hw/pci/pcie_host.c | 11 +- hw/pci/pcie_port.c | 1 + hw/pci/shpc.c | 1 - hw/pcmcia/pcmcia.c | 2 +- hw/pcmcia/pxa2xx.c | 1 + hw/ppc/Kconfig | 5 + hw/ppc/Makefile.objs | 4 +- hw/ppc/e500.c | 4 + hw/ppc/e500plat.c | 1 - hw/ppc/fw_cfg.c | 45 + hw/ppc/mac_newworld.c | 10 +- hw/ppc/mac_oldworld.c | 7 +- hw/ppc/mpc8544_guts.c | 2 +- hw/ppc/mpc8544ds.c | 1 - hw/ppc/pnv.c | 71 +- hw/ppc/pnv_core.c | 2 + hw/ppc/pnv_lpc.c | 1 + hw/ppc/pnv_occ.c | 1 + hw/ppc/pnv_psi.c | 1 + hw/ppc/pnv_xscom.c | 37 +- hw/ppc/ppc.c | 26 +- hw/ppc/ppc405_uc.c | 3 +- hw/ppc/ppc440_pcix.c | 1 + hw/ppc/ppc440_uc.c | 2 +- hw/ppc/ppc4xx_pci.c | 1 + hw/ppc/ppc_booke.c | 5 +- hw/ppc/ppce500_spin.c | 1 + hw/ppc/prep.c | 14 +- hw/ppc/prep_systemio.c | 1 + hw/ppc/spapr.c | 186 +- hw/ppc/spapr_caps.c | 19 +- hw/ppc/spapr_cpu_core.c | 2 + hw/ppc/spapr_drc.c | 13 +- hw/ppc/spapr_hcall.c | 51 +- hw/ppc/spapr_iommu.c | 2 + hw/ppc/spapr_irq.c | 172 +- hw/ppc/spapr_pci.c | 594 ++- hw/ppc/spapr_pci_nvlink2.c | 450 ++ hw/ppc/spapr_pci_vfio.c | 1 - hw/ppc/spapr_rng.c | 2 +- hw/ppc/spapr_rtas.c | 12 +- hw/ppc/spapr_rtas_ddw.c | 1 + hw/ppc/spapr_rtc.c | 4 +- hw/ppc/virtex_ml507.c | 1 + hw/rdma/rdma_backend.c | 132 +- hw/rdma/rdma_backend.h | 18 +- hw/rdma/rdma_backend_defs.h | 5 + hw/rdma/rdma_rm.c | 117 +- hw/rdma/rdma_rm.h | 13 +- hw/rdma/rdma_rm_defs.h | 10 + hw/rdma/rdma_utils.h | 1 - hw/rdma/vmw/pvrdma_cmd.c | 206 +- hw/rdma/vmw/pvrdma_main.c | 17 + hw/rdma/vmw/pvrdma_qp_ops.c | 46 +- hw/rdma/vmw/pvrdma_qp_ops.h | 5 +- hw/riscv/Makefile.objs | 2 + hw/riscv/boot.c | 163 + hw/riscv/riscv_hart.c | 1 + hw/riscv/sifive_clint.c | 1 + hw/riscv/sifive_e.c | 64 +- hw/riscv/sifive_gpio.c | 388 ++ hw/riscv/sifive_plic.c | 4 + hw/riscv/sifive_prci.c | 50 +- hw/riscv/sifive_test.c | 1 + hw/riscv/sifive_u.c | 62 +- hw/riscv/spike.c | 128 +- hw/riscv/trace-events | 7 + hw/riscv/virt.c | 89 +- hw/s390x/ap-bridge.c | 2 + hw/s390x/ccw-device.c | 2 + hw/s390x/css-bridge.c | 2 + hw/s390x/css.c | 49 +- hw/s390x/event-facility.c | 5 +- hw/s390x/ipl.c | 62 +- hw/s390x/s390-ccw.c | 30 + hw/s390x/s390-pci-bus.c | 2 +- hw/s390x/s390-pci-inst.c | 3 +- hw/s390x/s390-skeys-kvm.c | 1 + hw/s390x/s390-skeys.c | 2 +- hw/s390x/s390-virtio-ccw.c | 38 +- hw/s390x/sclp.c | 2 +- hw/s390x/sclpcpu.c | 2 + hw/s390x/sclpquiesce.c | 2 + hw/s390x/tod-kvm.c | 1 + hw/s390x/tod-qemu.c | 2 + hw/s390x/tod.c | 1 + hw/s390x/vhost-vsock-ccw.c | 1 + hw/s390x/virtio-ccw-9p.c | 1 + hw/s390x/virtio-ccw-balloon.c | 1 + hw/s390x/virtio-ccw-blk.c | 1 + hw/s390x/virtio-ccw-crypto.c | 1 + hw/s390x/virtio-ccw-gpu.c | 1 + hw/s390x/virtio-ccw-input.c | 1 + hw/s390x/virtio-ccw-net.c | 1 + hw/s390x/virtio-ccw-rng.c | 1 + hw/s390x/virtio-ccw-scsi.c | 1 + hw/s390x/virtio-ccw-serial.c | 1 + hw/s390x/virtio-ccw.c | 1 + hw/scsi/esp-pci.c | 1 + hw/scsi/esp.c | 1 + hw/scsi/lsi53c895a.c | 3 +- hw/scsi/megasas.c | 4 +- hw/scsi/mptsas.c | 5 +- hw/scsi/scsi-bus.c | 5 +- hw/scsi/scsi-disk.c | 50 +- hw/scsi/scsi-generic.c | 31 +- hw/scsi/spapr_vscsi.c | 3 +- hw/scsi/vhost-scsi-common.c | 1 + hw/scsi/vhost-scsi.c | 62 +- hw/scsi/vhost-user-scsi.c | 17 +- hw/scsi/virtio-scsi.c | 39 +- hw/scsi/vmw_pvscsi.c | 5 +- hw/sd/bcm2835_sdhost.c | 1 + hw/sd/core.c | 1 + hw/sd/milkymist-memcard.c | 3 +- hw/sd/pl181.c | 1 + hw/sd/pxa2xx_mmci.c | 1 + hw/sd/sd.c | 5 +- hw/sd/sdhci-pci.c | 1 + hw/sd/sdhci.c | 1 + hw/sd/sdmmc-internal.h | 5 +- hw/sd/ssi-sd.c | 3 +- hw/semihosting/Kconfig | 3 + hw/semihosting/Makefile.objs | 2 + hw/semihosting/config.c | 186 + hw/semihosting/console.c | 100 + hw/sh4/Kconfig | 2 +- hw/sh4/r2d.c | 1 - hw/sh4/sh_pci.c | 2 + hw/sh4/shix.c | 1 - hw/smbios/smbios.c | 27 +- hw/sparc/leon3.c | 165 +- hw/sparc/sun4m.c | 40 +- hw/sparc/sun4m_iommu.c | 1 + hw/sparc64/niagara.c | 1 - hw/sparc64/sparc64.c | 2 +- hw/sparc64/sun4u.c | 23 +- hw/sparc64/sun4u_iommu.c | 1 + hw/ssi/aspeed_smc.c | 2 + hw/ssi/imx_spi.c | 1 + hw/ssi/mss-spi.c | 9 +- hw/ssi/pl022.c | 1 + hw/ssi/ssi.c | 1 + hw/ssi/stm32f2xx_spi.c | 1 + hw/ssi/xilinx_spi.c | 1 + hw/ssi/xilinx_spips.c | 50 +- hw/timer/Makefile.objs | 2 +- hw/timer/a9gtimer.c | 1 + hw/timer/allwinner-a10-pit.c | 1 + hw/timer/altera_timer.c | 2 +- hw/timer/arm_mptimer.c | 1 + hw/timer/arm_timer.c | 2 +- hw/timer/armv7m_systick.c | 28 +- hw/timer/aspeed_rtc.c | 180 + hw/timer/aspeed_timer.c | 80 +- hw/timer/cadence_ttc.c | 1 + hw/timer/cmsdk-apb-dualtimer.c | 1 + hw/timer/cmsdk-apb-timer.c | 1 + hw/timer/digic-timer.c | 1 + hw/timer/ds1338.c | 1 + hw/timer/etraxfs_timer.c | 2 + hw/timer/exynos4210_mct.c | 2 +- hw/timer/exynos4210_pwm.c | 2 +- hw/timer/exynos4210_rtc.c | 3 +- hw/timer/grlib_gptimer.c | 5 +- hw/timer/hpet.c | 2 +- hw/timer/i8254.c | 2 + hw/timer/i8254_common.c | 2 + hw/timer/imx_epit.c | 1 + hw/timer/imx_gpt.c | 1 + hw/timer/lm32_timer.c | 1 + hw/timer/m41t80.c | 2 + hw/timer/m48t59-internal.h | 3 +- hw/timer/m48t59-isa.c | 2 + hw/timer/m48t59.c | 3 + hw/timer/mc146818rtc.c | 6 +- hw/timer/milkymist-sysctl.c | 1 + hw/timer/mss-timer.c | 1 + hw/timer/nrf51_timer.c | 1 + hw/timer/pl031.c | 94 +- hw/timer/puv3_ost.c | 2 + hw/timer/pxa2xx_timer.c | 1 + hw/timer/slavio_timer.c | 1 + hw/timer/stm32f2xx_timer.c | 1 + hw/timer/sun4v-rtc.c | 1 + hw/timer/trace-events | 4 + hw/timer/twl92230.c | 2 + hw/timer/xilinx_timer.c | 1 + hw/timer/xlnx-zynqmp-rtc.c | 2 + hw/tpm/Makefile.objs | 4 +- hw/tpm/tpm_crb.c | 6 +- hw/tpm/tpm_emulator.c | 61 +- hw/tpm/tpm_int.h | 13 + hw/tpm/tpm_ioctl.h | 7 +- hw/tpm/tpm_passthrough.c | 1 + hw/tpm/tpm_tis.c | 5 +- hw/tricore/tricore_testboard.c | 1 - hw/unicore32/puv3.c | 2 +- hw/usb/Kconfig | 17 +- hw/usb/Makefile.objs | 6 +- hw/usb/bus.c | 1 + hw/usb/ccid-card-emulated.c | 1 + hw/usb/ccid-card-passthru.c | 2 + hw/usb/chipidea.c | 1 + hw/usb/combined-packet.c | 1 - hw/usb/core.c | 3 +- hw/usb/dev-audio.c | 2 +- hw/usb/dev-bluetooth.c | 2 +- hw/usb/dev-hid.c | 2 + hw/usb/dev-hub.c | 224 +- hw/usb/dev-mtp.c | 64 +- hw/usb/dev-network.c | 2 +- hw/usb/dev-serial.c | 2 +- hw/usb/dev-smartcard-reader.c | 1 + hw/usb/dev-storage.c | 4 +- hw/usb/dev-uas.c | 2 +- hw/usb/dev-wacom.c | 2 + hw/usb/hcd-ehci-pci.c | 1 + hw/usb/hcd-ehci-sysbus.c | 1 + hw/usb/hcd-musb.c | 1 - hw/usb/hcd-ohci-pci.c | 163 + hw/usb/hcd-ohci.c | 220 +- hw/usb/hcd-ohci.h | 104 + hw/usb/hcd-uhci.c | 2 + hw/usb/hcd-xhci-nec.c | 1 + hw/usb/hcd-xhci.c | 4 +- hw/usb/hcd-xhci.h | 5 + hw/usb/host-libusb.c | 23 +- hw/usb/host-stub.c | 1 - hw/usb/libhw.c | 1 - hw/usb/quirks.h | 5 + hw/usb/redirect.c | 3 +- hw/usb/tusb6010.c | 3 +- hw/usb/xen-usb.c | 3 +- hw/vfio/amd-xgbe.c | 3 +- hw/vfio/ap.c | 3 +- hw/vfio/calxeda-xgmac.c | 3 +- hw/vfio/ccw.c | 170 +- hw/vfio/common.c | 78 + hw/vfio/display.c | 5 +- hw/vfio/pci-quirks.c | 132 + hw/vfio/pci.c | 269 +- hw/vfio/pci.h | 3 +- hw/vfio/platform.c | 75 +- hw/vfio/spapr.c | 2 +- hw/vfio/trace-events | 4 + hw/virtio/Kconfig | 10 + hw/virtio/Makefile.objs | 3 + hw/virtio/trace-events | 7 + hw/virtio/vhost-scsi-pci.c | 1 + hw/virtio/vhost-user-blk-pci.c | 1 + hw/virtio/vhost-user-input-pci.c | 50 + hw/virtio/vhost-user-scsi-pci.c | 1 + hw/virtio/vhost-user.c | 11 + hw/virtio/vhost-vsock-pci.c | 1 + hw/virtio/vhost-vsock.c | 1 + hw/virtio/vhost.c | 13 +- hw/virtio/virtio-9p-pci.c | 1 + hw/virtio/virtio-balloon-pci.c | 1 + hw/virtio/virtio-balloon.c | 145 +- hw/virtio/virtio-blk-pci.c | 1 + hw/virtio/virtio-bus.c | 1 + hw/virtio/virtio-crypto-pci.c | 2 + hw/virtio/virtio-crypto.c | 2 + hw/virtio/virtio-input-host-pci.c | 8 +- hw/virtio/virtio-input-pci.c | 1 + hw/virtio/virtio-mmio.c | 45 +- hw/virtio/virtio-net-pci.c | 1 + hw/virtio/virtio-pci.c | 31 +- hw/virtio/virtio-pci.h | 1 + hw/virtio/virtio-pmem-pci.c | 129 + hw/virtio/virtio-pmem-pci.h | 34 + hw/virtio/virtio-pmem.c | 189 + hw/virtio/virtio-rng-pci.c | 1 + hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio-scsi-pci.c | 1 + hw/virtio/virtio-serial-pci.c | 1 + hw/virtio/virtio.c | 91 +- hw/watchdog/cmsdk-apb-watchdog.c | 1 + hw/watchdog/wdt_aspeed.c | 21 + hw/watchdog/wdt_diag288.c | 1 + hw/watchdog/wdt_i6300esb.c | 4 +- hw/watchdog/wdt_ib700.c | 2 +- hw/xen/xen-bus.c | 93 +- hw/xen/xen-common.c | 1 + hw/xen/xen-host-pci-device.c | 1 - hw/xen/xen-legacy-backend.c | 2 - hw/xen/xen_pt.h | 1 - hw/xtensa/pic_cpu.c | 2 +- hw/xtensa/sim.c | 3 +- hw/xtensa/xtensa_memory.c | 1 - hw/xtensa/xtensa_memory.h | 5 +- hw/xtensa/xtfpga.c | 1 + include/authz/base.h | 8 +- include/authz/list.h | 7 +- include/authz/listfile.h | 8 +- include/authz/pamacct.h | 7 +- include/authz/simple.h | 7 +- include/block/aio-wait.h | 2 +- include/block/aio.h | 1 - include/block/block.h | 78 +- include/block/block_int.h | 90 +- include/block/blockjob.h | 9 + include/block/dirty-bitmap.h | 1 - include/block/nbd.h | 38 +- include/block/nvme.h | 2 + include/block/qapi.h | 9 +- include/block/raw-aio.h | 3 - include/block/write-threshold.h | 1 - include/chardev/char-io.h | 1 - include/chardev/spice.h | 4 +- include/crypto/block.h | 2 +- include/crypto/cipher.h | 2 +- include/crypto/hash.h | 2 +- include/crypto/init.h | 2 +- include/crypto/ivgen.h | 2 +- include/crypto/pbkdf.h | 2 +- include/crypto/random.h | 5 +- include/crypto/secret.h | 2 +- include/crypto/tlscreds.h | 2 +- include/crypto/tlscredsanon.h | 2 +- include/crypto/tlscredspsk.h | 2 +- include/crypto/tlscredsx509.h | 2 +- include/crypto/tlssession.h | 2 +- include/crypto/xts.h | 3 +- include/disas/bfd.h | 510 --- include/disas/capstone.h | 2 +- include/disas/dis-asm.h | 511 +++ include/disas/disas.h | 1 - include/elf.h | 1 + include/exec/cpu-all.h | 74 +- include/exec/cpu-common.h | 16 - include/exec/cpu-defs.h | 107 +- include/exec/cpu_ldst.h | 80 +- include/exec/cpu_ldst_template.h | 6 +- include/exec/cpu_ldst_useronly_template.h | 46 +- include/exec/exec-all.h | 14 +- include/exec/gen-icount.h | 14 +- include/exec/log.h | 2 +- include/exec/memory-internal.h | 3 +- include/exec/memory.h | 49 +- include/exec/poison.h | 1 + include/exec/ram_addr.h | 96 +- include/exec/semihost.h | 62 - include/exec/softmmu-semi.h | 16 +- include/exec/translator.h | 5 +- include/fpu/softfloat-macros.h | 5 + include/hw/acpi/acpi-defs.h | 18 - include/hw/acpi/pci.h | 34 + include/hw/acpi/piix4.h | 2 +- include/hw/acpi/tco.h | 1 - include/hw/acpi/utils.h | 9 + include/hw/arm/allwinner-a10.h | 7 +- include/hw/arm/arm.h | 174 - include/hw/arm/armsse.h | 7 + include/hw/arm/armv7m.h | 4 + include/hw/arm/aspeed.h | 1 + include/hw/arm/aspeed_soc.h | 54 +- include/hw/arm/bcm2835_peripherals.h | 4 +- include/hw/arm/bcm2836.h | 1 - include/hw/arm/boot.h | 170 + include/hw/arm/exynos4210.h | 10 +- include/hw/arm/fsl-imx25.h | 2 +- include/hw/arm/fsl-imx31.h | 2 +- include/hw/arm/fsl-imx6.h | 2 +- include/hw/arm/fsl-imx6ul.h | 4 +- include/hw/arm/fsl-imx7.h | 16 +- include/hw/arm/nrf51_soc.h | 1 - include/hw/arm/omap.h | 14 +- include/hw/arm/raspi_platform.h | 5 + include/hw/arm/smmu-common.h | 10 +- include/hw/arm/virt.h | 5 +- include/hw/arm/xlnx-versal.h | 2 +- include/hw/arm/xlnx-zynqmp.h | 5 +- include/hw/audio/soundhw.h | 4 +- include/hw/block/block.h | 7 +- include/hw/block/fdc.h | 1 - include/hw/block/flash.h | 1 + include/hw/boards.h | 33 +- include/hw/char/cadence_uart.h | 2 +- include/hw/cpu/cluster.h | 1 - include/hw/devices.h | 62 - include/hw/display/blizzard.h | 22 + include/hw/display/edid.h | 4 +- include/hw/display/i2c-ddc.h | 40 + include/hw/display/ramfb.h | 2 +- include/hw/display/tc6393xb.h | 24 + include/hw/display/xlnx_dp.h | 11 +- include/hw/dma/bcm2835_dma.h | 1 - include/hw/dma/xlnx-zynq-devcfg.h | 2 +- include/hw/firmware/smbios.h | 5 +- include/hw/fw-path-provider.h | 1 - include/hw/hw.h | 1 - include/hw/i2c/bitbang_i2c.h | 50 + include/hw/i2c/i2c-ddc.h | 40 - include/hw/i2c/i2c.h | 2 - include/hw/i2c/ppc4xx_i2c.h | 5 +- include/hw/i386/apic.h | 1 - include/hw/i386/ich9.h | 2 - include/hw/i386/ioapic_internal.h | 3 + include/hw/i386/pc.h | 16 +- include/hw/i386/topology.h | 76 +- include/hw/i386/x86-iommu.h | 4 +- include/hw/input/gamepad.h | 19 + include/hw/input/tsc2xxx.h | 36 + include/hw/intc/heathrow_pic.h | 6 +- include/hw/intc/xlnx-pmu-iomod-intc.h | 6 +- include/hw/ipmi/ipmi.h | 1 - include/hw/isa/apm.h | 1 - include/hw/isa/superio.h | 1 - include/hw/kvm/clock.h | 6 +- include/hw/lm32/lm32_pic.h | 1 - include/hw/m68k/mcf_fec.h | 5 + include/hw/mips/bios.h | 5 + include/hw/misc/armsse-mhu.h | 4 +- include/hw/misc/aspeed_xdma.h | 30 + include/hw/misc/cbus.h | 32 + include/hw/misc/grlib_ahb_apb_pnp.h | 60 + include/hw/misc/imx2_wdt.h | 2 +- include/hw/misc/nrf51_rng.h | 3 +- include/hw/net/cadence_gem.h | 2 +- include/hw/net/lan9118.h | 21 + include/hw/net/ne2000-isa.h | 6 + include/hw/net/smc91c111.h | 19 + include/hw/nmi.h | 1 - include/hw/nvram/fw_cfg.h | 14 + include/hw/pci-bridge/simba.h | 5 + include/hw/pci-host/designware.h | 2 +- include/hw/pci-host/pam.h | 1 - include/hw/pci-host/sabre.h | 4 +- include/hw/pci-host/spapr.h | 49 +- include/hw/pci/msi.h | 1 - include/hw/pci/msix.h | 3 +- include/hw/pci/pci.h | 9 +- include/hw/pci/pci_bus.h | 20 +- include/hw/pci/pci_regs.h | 5 + include/hw/pci/pcie.h | 2 + include/hw/pci/pcie_port.h | 2 + include/hw/pci/shpc.h | 1 - include/hw/pci/slotid_cap.h | 1 - include/hw/ppc/openpic.h | 1 - include/hw/ppc/pnv.h | 15 +- include/hw/ppc/pnv_core.h | 7 +- include/hw/ppc/pnv_lpc.h | 7 +- include/hw/ppc/pnv_occ.h | 7 +- include/hw/ppc/pnv_psi.h | 7 +- include/hw/ppc/pnv_xscom.h | 9 +- include/hw/ppc/spapr.h | 9 +- include/hw/ppc/spapr_drc.h | 3 +- include/hw/ppc/spapr_irq.h | 1 + include/hw/ppc/spapr_ovec.h | 7 +- include/hw/ppc/spapr_xive.h | 39 + include/hw/ppc/xics.h | 6 +- include/hw/ppc/xics_spapr.h | 4 +- include/hw/ppc/xive.h | 19 +- include/hw/ppc/xive_regs.h | 6 + include/hw/ptimer.h | 1 - include/hw/qdev-core.h | 5 + include/hw/qdev-dma.h | 6 + include/hw/qdev-properties.h | 3 + include/hw/riscv/boot.h | 32 + include/hw/riscv/sifive_e.h | 10 +- include/hw/riscv/sifive_gpio.h | 72 + include/hw/riscv/sifive_plic.h | 1 - include/hw/riscv/sifive_prci.h | 32 + include/hw/riscv/virt.h | 4 +- include/hw/s390x/css.h | 4 + include/hw/s390x/s390-ccw.h | 3 + include/hw/s390x/vfio-ccw.h | 28 + include/hw/scsi/emulation.h | 2 +- include/hw/scsi/scsi.h | 1 + include/hw/sd/sdhci.h | 1 - include/hw/semihosting/console.h | 51 + include/hw/semihosting/semihost.h | 73 + include/hw/sh4/sh_intc.h | 1 - include/hw/sparc/grlib.h | 78 +- include/hw/sparc/sparc64.h | 4 + include/hw/sparc/sun4m_iommu.h | 1 - include/hw/sparc/sun4u_iommu.h | 1 - include/hw/ssi/aspeed_smc.h | 3 + include/hw/stream.h | 1 - include/hw/sysbus.h | 1 + include/hw/timer/armv7m_systick.h | 22 + include/hw/timer/aspeed_rtc.h | 31 + include/hw/timer/m48t59.h | 1 - include/hw/timer/pl031.h | 6 +- include/hw/timer/xlnx-zynqmp-rtc.h | 5 + include/hw/vfio/vfio-common.h | 8 +- include/hw/virtio/vhost-backend.h | 2 + include/hw/virtio/vhost-scsi-common.h | 2 +- include/hw/virtio/vhost-scsi.h | 1 - include/hw/virtio/vhost-user-blk.h | 4 +- include/hw/virtio/vhost-user-scsi.h | 1 - include/hw/virtio/vhost-vsock.h | 6 +- include/hw/virtio/virtio-balloon.h | 5 +- include/hw/virtio/virtio-crypto.h | 6 +- include/hw/virtio/virtio-gpu-bswap.h | 61 + include/hw/virtio/virtio-gpu-pci.h | 40 + include/hw/virtio/virtio-gpu-pixman.h | 45 + include/hw/virtio/virtio-gpu.h | 92 +- include/hw/virtio/virtio-input.h | 14 + include/hw/virtio/virtio-pmem.h | 49 + include/hw/virtio/virtio-scsi.h | 2 +- include/hw/virtio/virtio.h | 24 + include/hw/watchdog/wdt_aspeed.h | 8 +- include/hw/xen/interface/grant_table.h | 36 + include/hw/xen/interface/io/blkif.h | 712 +++ include/hw/xen/interface/io/console.h | 46 + include/hw/xen/interface/io/fbif.h | 156 + include/hw/xen/interface/io/kbdif.h | 566 +++ include/hw/xen/interface/io/netif.h | 1010 +++++ include/hw/xen/interface/io/protocols.h | 42 + include/hw/xen/interface/io/ring.h | 482 ++ include/hw/xen/interface/io/usbif.h | 254 ++ include/hw/xen/interface/io/xenbus.h | 70 + include/hw/xen/io/ring.h | 482 -- include/hw/xen/start_info.h | 6 +- include/hw/xen/xen-bus.h | 9 +- include/hw/xen/xen-legacy-backend.h | 6 +- include/hw/xen/xen.h | 1 - include/hw/xen/xen_common.h | 2 +- include/hw/xtensa/mx_pic.h | 4 +- include/hw/xtensa/xtensa-isa.h | 6 +- include/io/channel.h | 1 - include/io/dns-resolver.h | 1 - include/io/task.h | 1 - include/migration/colo.h | 5 +- include/migration/failover.h | 1 - include/migration/qemu-file-types.h | 4 +- include/migration/vmstate.h | 70 +- include/monitor/hmp.h | 157 + include/monitor/monitor.h | 26 +- include/monitor/qdev.h | 1 - include/net/announce.h | 9 +- include/net/filter.h | 1 - include/net/queue.h | 1 - include/net/tap.h | 1 - include/qemu-common.h | 32 +- include/qemu-io.h | 1 - include/qemu/atomic.h | 11 + include/qemu/base64.h | 1 - include/qemu/bitmap.h | 9 + include/qemu/buffer.h | 1 - include/qemu/compiler.h | 2 +- include/qemu/crc32c.h | 1 - include/qemu/ctype.h | 27 + include/qemu/cutils.h | 2 - include/qemu/drm.h | 4 +- include/qemu/error-report.h | 11 +- include/qemu/event_notifier.h | 1 - include/qemu/filemonitor.h | 7 +- include/qemu/fprintf-fn.h | 14 - include/qemu/guest-random.h | 68 + include/qemu/jhash.h | 6 +- include/qemu/mmap-alloc.h | 22 +- include/qemu/osdep.h | 10 +- include/qemu/pmem.h | 2 +- include/qemu/qdist.h | 1 - include/qemu/qemu-print.h | 23 + include/qemu/qsp.h | 6 +- include/qemu/stats64.h | 2 +- include/qemu/sys_membarrier.h | 2 +- include/qemu/systemd.h | 2 +- include/qemu/throttle.h | 1 - include/qemu/timer.h | 1 - include/qemu/typedefs.h | 1 - include/qemu/uuid.h | 1 - include/qom/cpu.h | 83 +- include/qom/object.h | 1 + include/scsi/constants.h | 4 +- include/scsi/utils.h | 3 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +- include/standard-headers/drm/drm_fourcc.h | 114 +- include/standard-headers/linux/ethtool.h | 48 +- include/standard-headers/linux/input-event-codes.h | 9 +- include/standard-headers/linux/input.h | 6 +- include/standard-headers/linux/pci_regs.h | 140 +- include/standard-headers/linux/virtio_config.h | 6 + include/standard-headers/linux/virtio_gpu.h | 12 +- include/standard-headers/linux/virtio_ids.h | 1 + include/standard-headers/linux/virtio_pmem.h | 34 + include/standard-headers/linux/virtio_ring.h | 10 - include/standard-headers/rdma/vmw_pvrdma-abi.h | 1 + include/sysemu/accel.h | 5 +- include/sysemu/block-backend.h | 25 +- include/sysemu/cpus.h | 4 +- include/sysemu/cryptodev-vhost.h | 1 - include/sysemu/cryptodev.h | 1 - include/sysemu/dump.h | 2 +- include/sysemu/hax.h | 1 - include/sysemu/hostmem.h | 2 +- include/sysemu/hvf.h | 6 +- include/sysemu/kvm.h | 2 + include/sysemu/kvm_int.h | 4 + include/sysemu/numa.h | 2 + include/sysemu/qtest.h | 10 - include/sysemu/rng.h | 1 - include/sysemu/sysemu.h | 3 + include/sysemu/tcg.h | 19 + include/sysemu/tpm_backend.h | 1 - include/sysemu/vhost-user-backend.h | 57 + include/sysemu/whpx.h | 1 - include/ui/console.h | 1 + include/ui/egl-helpers.h | 3 +- include/ui/kbd-state.h | 3 +- include/ui/spice-display.h | 5 + io/channel-buffer.c | 1 + io/channel-command.c | 1 + io/channel-file.c | 1 + io/channel-socket.c | 3 +- io/channel-tls.c | 1 + io/channel-websock.c | 1 + io/channel.c | 1 + io/dns-resolver.c | 1 + io/net-listener.c | 1 + ioport.c | 1 - job-qmp.c | 1 - job.c | 3 +- linux-headers/asm-arm/mman.h | 4 + linux-headers/asm-arm/unistd-common.h | 32 + linux-headers/asm-arm64/kvm.h | 43 + linux-headers/asm-arm64/mman.h | 1 + linux-headers/asm-arm64/sve_context.h | 53 + linux-headers/asm-arm64/unistd.h | 2 + linux-headers/asm-generic/hugetlb_encode.h | 36 + linux-headers/asm-generic/mman-common.h | 75 + linux-headers/asm-generic/mman.h | 24 + linux-headers/asm-generic/unistd.h | 170 +- linux-headers/asm-mips/mman.h | 106 + linux-headers/asm-mips/unistd_n32.h | 30 + linux-headers/asm-mips/unistd_n64.h | 10 + linux-headers/asm-mips/unistd_o32.h | 40 + linux-headers/asm-powerpc/kvm.h | 48 + linux-headers/asm-powerpc/mman.h | 39 + linux-headers/asm-powerpc/unistd_32.h | 40 + linux-headers/asm-powerpc/unistd_64.h | 21 + linux-headers/asm-s390/kvm.h | 5 +- linux-headers/asm-s390/mman.h | 1 + linux-headers/asm-s390/unistd_32.h | 43 + linux-headers/asm-s390/unistd_64.h | 24 + linux-headers/asm-x86/kvm.h | 34 +- linux-headers/asm-x86/mman.h | 31 + linux-headers/asm-x86/unistd_32.h | 40 + linux-headers/asm-x86/unistd_64.h | 10 + linux-headers/asm-x86/unistd_x32.h | 10 + linux-headers/linux/kvm.h | 15 +- linux-headers/linux/mman.h | 42 + linux-headers/linux/psci.h | 7 + linux-headers/linux/psp-sev.h | 18 +- linux-headers/linux/vfio.h | 4 + linux-headers/linux/vfio_ccw.h | 12 + linux-user/Makefile.objs | 3 +- linux-user/aarch64/cpu_loop.c | 32 +- linux-user/aarch64/signal.c | 4 +- linux-user/aarch64/syscall_nr.h | 4 + linux-user/aarch64/target_syscall.h | 2 - linux-user/aarch64/termbits.h | 5 + linux-user/alpha/cpu_loop.c | 5 +- linux-user/alpha/syscall_nr.h | 5 + linux-user/alpha/termbits.h | 5 + linux-user/arm/cpu_loop.c | 5 +- linux-user/arm/semihost.c | 49 + linux-user/arm/syscall_nr.h | 5 + linux-user/arm/termbits.h | 5 + linux-user/cpu_loop-common.h | 4 +- linux-user/cris/cpu_loop.c | 7 +- linux-user/cris/syscall_nr.h | 5 + linux-user/cris/termbits.h | 5 + linux-user/elfload.c | 96 +- linux-user/errno_defs.h | 6 + linux-user/exit.c | 3 + linux-user/fd-trans.c | 12 +- linux-user/flat.h | 5 + linux-user/generic/fcntl.h | 8 +- linux-user/hppa/cpu_loop.c | 2 +- linux-user/hppa/signal.c | 3 +- linux-user/hppa/sockbits.h | 5 + linux-user/hppa/syscall_nr.h | 5 + linux-user/hppa/termbits.h | 5 + linux-user/i386/cpu_loop.c | 3 +- linux-user/i386/signal.c | 2 +- linux-user/i386/syscall_nr.h | 5 + linux-user/i386/termbits.h | 5 + linux-user/ioctls.h | 26 +- linux-user/m68k-sim.c | 164 - linux-user/m68k/cpu_loop.c | 22 +- linux-user/m68k/syscall_nr.h | 5 + linux-user/m68k/target_cpu.h | 2 +- linux-user/m68k/target_syscall.h | 2 - linux-user/m68k/termbits.h | 5 + linux-user/main.c | 50 +- linux-user/microblaze/cpu_loop.c | 7 +- linux-user/microblaze/syscall_nr.h | 5 + linux-user/microblaze/termbits.h | 5 + linux-user/mips/cpu_loop.c | 22 +- linux-user/mips/signal.c | 5 +- linux-user/mips/syscall_nr.h | 6 + linux-user/mips/target_fcntl.h | 17 +- linux-user/mips/termbits.h | 5 + linux-user/mips64/syscall_nr.h | 5 + linux-user/mmap.c | 73 +- linux-user/nios2/cpu_loop.c | 2 +- linux-user/nios2/syscall_nr.h | 5 + linux-user/nios2/target_cpu.h | 4 +- linux-user/nios2/target_signal.h | 6 +- linux-user/nios2/target_structs.h | 4 +- linux-user/nios2/target_syscall.h | 6 +- linux-user/nios2/termbits.h | 5 + linux-user/openrisc/cpu_loop.c | 3 +- linux-user/openrisc/syscall_nr.h | 5 + linux-user/openrisc/target_cpu.h | 2 +- linux-user/openrisc/target_structs.h | 2 +- linux-user/openrisc/termbits.h | 5 + linux-user/ppc/cpu_loop.c | 3 +- linux-user/ppc/syscall_nr.h | 6 + linux-user/ppc/target_elf.h | 2 +- linux-user/ppc/termbits.h | 5 + linux-user/qemu.h | 9 +- linux-user/riscv/cpu_loop.c | 5 +- linux-user/riscv/syscall_nr.h | 20 +- linux-user/riscv/target_cpu.h | 4 +- linux-user/riscv/target_elf.h | 1 + linux-user/riscv/target_signal.h | 6 +- linux-user/riscv/target_structs.h | 4 +- linux-user/riscv/target_syscall.h | 5 + linux-user/riscv/termbits.h | 5 + linux-user/s390x/cpu_loop.c | 7 +- linux-user/s390x/signal.c | 4 +- linux-user/s390x/syscall_nr.h | 5 + linux-user/s390x/termbits.h | 4 + linux-user/sh4/cpu_loop.c | 5 +- linux-user/sh4/syscall_nr.h | 5 + linux-user/sh4/target_cpu.h | 2 +- linux-user/sh4/target_structs.h | 2 +- linux-user/sh4/termbits.h | 5 + linux-user/signal-common.h | 1 - linux-user/signal.c | 49 +- linux-user/socket.h | 5 + linux-user/sparc/cpu_loop.c | 5 +- linux-user/sparc/syscall_nr.h | 5 + linux-user/sparc/termbits.h | 5 + linux-user/sparc64/syscall_nr.h | 5 + linux-user/sparc64/termbits.h | 5 + linux-user/strace.c | 86 + linux-user/strace.list | 3 + linux-user/syscall.c | 635 ++- linux-user/syscall_defs.h | 128 +- linux-user/syscall_types.h | 6 - linux-user/target_flat.h | 6 + linux-user/tilegx/cpu_loop.c | 3 +- linux-user/uname.c | 7 +- linux-user/vm86.c | 18 +- linux-user/x86_64/syscall_nr.h | 5 + linux-user/x86_64/termbits.h | 5 + linux-user/xtensa/cpu_loop.c | 2 +- linux-user/xtensa/syscall_nr.h | 6 +- linux-user/xtensa/target_flat.h | 8 +- linux-user/xtensa/target_structs.h | 4 +- linux-user/xtensa/termbits.h | 6 +- memory.c | 260 +- memory_mapping.c | 1 - migration/block-dirty-bitmap.c | 14 +- migration/block.c | 3 +- migration/colo-failover.c | 2 +- migration/colo.c | 4 +- migration/fd.c | 8 +- migration/fd.h | 2 +- migration/migration.c | 32 +- migration/migration.h | 29 +- migration/page_cache.c | 1 - migration/postcopy-ram.c | 8 +- migration/qemu-file.c | 1 - migration/ram.c | 208 +- migration/ram.h | 1 - migration/rdma.c | 6 +- migration/savevm.c | 90 +- migration/socket.c | 1 - migration/trace-events | 3 +- migration/vmstate-types.c | 1 - migration/vmstate.c | 9 +- monitor.c | 4721 -------------------- monitor/Makefile.objs | 3 + monitor/hmp-cmds.c | 2967 ++++++++++++ monitor/hmp.c | 1417 ++++++ monitor/misc.c | 2312 ++++++++++ monitor/monitor-internal.h | 183 + monitor/monitor.c | 628 +++ monitor/qmp-cmds.c | 415 ++ monitor/qmp.c | 404 ++ monitor/trace-events | 15 + nbd/server.c | 19 +- net/announce.c | 89 +- net/can/can_core.c | 2 + net/can/can_host.c | 2 + net/can/can_socketcan.c | 2 + net/checksum.c | 1 - net/colo-compare.c | 173 +- net/colo.h | 6 +- net/dump.c | 3 +- net/eth.c | 1 - net/filter-buffer.c | 1 - net/filter-mirror.c | 1 - net/filter-replay.c | 2 +- net/filter-rewriter.c | 1 - net/filter.c | 2 +- net/hub.h | 1 - net/l2tpv3.c | 1 - net/net.c | 107 +- net/slirp.c | 3 +- net/tap-bsd.c | 1 + net/tap-linux.c | 1 + net/tap-solaris.c | 1 + net/tap.c | 19 +- net/tap_int.h | 1 - net/trace-events | 3 +- net/vhost-user.c | 1 - numa.c | 667 --- os-posix.c | 1 + os-win32.c | 2 + pc-bios/README | 26 +- pc-bios/descriptors/50-edk2-i386-secure.json | 34 + pc-bios/descriptors/50-edk2-x86_64-secure.json | 35 + pc-bios/descriptors/60-edk2-aarch64.json | 31 + pc-bios/descriptors/60-edk2-arm.json | 31 + pc-bios/descriptors/60-edk2-i386.json | 33 + pc-bios/descriptors/60-edk2-x86_64.json | 34 + pc-bios/edk2-aarch64-code.fd.bz2 | Bin 0 -> 1178070 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 0 -> 1172752 bytes pc-bios/edk2-arm-vars.fd.bz2 | Bin 0 -> 263 bytes pc-bios/edk2-i386-code.fd.bz2 | Bin 0 -> 1736199 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 0 -> 1943949 bytes pc-bios/edk2-i386-vars.fd.bz2 | Bin 0 -> 190 bytes pc-bios/edk2-licenses.txt | 843 ++++ pc-bios/edk2-x86_64-code.fd.bz2 | Bin 0 -> 1717094 bytes pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 0 -> 1958037 bytes pc-bios/openbios-ppc | Bin 767224 -> 767256 bytes pc-bios/openbios-sparc32 | Bin 382048 -> 382048 bytes pc-bios/openbios-sparc64 | Bin 1593408 -> 1593408 bytes pc-bios/opensbi-riscv32-virt-fw_jump.bin | Bin 0 -> 36888 bytes pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 0 -> 40968 bytes pc-bios/opensbi-riscv64-virt-fw_jump.bin | Bin 0 -> 40968 bytes pc-bios/s390-ccw.img | Bin 34568 -> 42608 bytes pc-bios/s390-ccw/Makefile | 2 +- pc-bios/s390-ccw/bootmap.c | 19 +- pc-bios/s390-ccw/bootmap.h | 10 +- pc-bios/s390-ccw/cio.c | 423 ++ pc-bios/s390-ccw/cio.h | 270 +- pc-bios/s390-ccw/dasd-ipl.c | 235 + pc-bios/s390-ccw/dasd-ipl.h | 16 + pc-bios/s390-ccw/helper.h | 31 + pc-bios/s390-ccw/libc.c | 2 +- pc-bios/s390-ccw/libc.h | 11 + pc-bios/s390-ccw/main.c | 190 +- pc-bios/s390-ccw/menu.c | 2 +- pc-bios/s390-ccw/netboot.mak | 2 +- pc-bios/s390-ccw/netmain.c | 2 + pc-bios/s390-ccw/s390-arch.h | 103 + pc-bios/s390-ccw/s390-ccw.h | 10 +- pc-bios/s390-ccw/start.S | 29 + pc-bios/s390-ccw/virtio.c | 81 +- pc-bios/s390-netboot.img | Bin 54944 -> 67232 bytes pc-bios/slof.bin | Bin 926392 -> 926432 bytes pc-bios/spapr-rtas/Makefile | 5 +- pc-bios/vgabios-ati.bin | Bin 0 -> 38912 bytes python/qemu/__init__.py | 485 +- python/qemu/machine.py | 532 +++ python/qemu/qtest.py | 2 +- qapi/Makefile.objs | 7 +- qapi/block-core.json | 114 +- qapi/dump.json | 200 + qapi/introspect.json | 6 +- qapi/machine-target.json | 325 ++ qapi/machine.json | 706 +++ qapi/misc-target.json | 268 ++ qapi/misc.json | 1376 +----- qapi/net.json | 16 +- qapi/qapi-dealloc-visitor.c | 1 - qapi/qapi-schema.json | 7 +- qapi/qapi-util.c | 2 +- qapi/qapi-visit-core.c | 1 - qapi/qdev.json | 125 + qapi/qmp-event.c | 1 - qapi/qobject-input-visitor.c | 1 - qapi/qobject-output-visitor.c | 1 - qapi/qom.json | 244 + qapi/string-input-visitor.c | 1 - qapi/target.json | 514 --- qdev-monitor.c | 95 +- qemu-bridge-helper.c | 42 +- qemu-deprecated.texi | 125 + qemu-doc.texi | 3 + qemu-edid.c | 1 - qemu-ga.texi | 4 +- qemu-img-cmds.hx | 4 +- qemu-img.c | 274 +- qemu-img.texi | 56 +- qemu-io-cmds.c | 86 +- qemu-io.c | 16 +- qemu-keymap.c | 1 - qemu-nbd.c | 64 +- qemu-nbd.texi | 2 + qemu-options.hx | 186 +- qemu-tech.texi | 213 - qemu.nsi | 11 + qga/commands-posix.c | 1 + qga/commands-win32.c | 2 +- qga/guest-agent-core.h | 1 - qga/main.c | 2 +- qga/vss-win32/vss-handles.h | 4 +- qmp.c | 719 --- qobject/json-parser.c | 2 +- qom/Makefile.objs | 1 + qom/cpu.c | 17 +- qom/object.c | 9 +- qom/qom-hmp-cmds.c | 120 + qom/qom-qmp-cmds.c | 323 ++ qom/qom-qobject.c | 1 - qtest.c | 36 +- replay/replay-events.c | 1 - replay/replay-input.c | 1 - replay/replay-internal.c | 1 - replay/replay-snapshot.c | 1 - replay/replay-time.c | 1 - replication.h | 1 + roms/Makefile | 57 +- roms/Makefile.edk2 | 150 + roms/SLOF | 2 +- roms/config.vga-ati | 4 + roms/edk2 | 2 +- roms/edk2-build.sh | 55 + roms/edk2-funcs.sh | 253 ++ roms/openbios | 2 +- roms/opensbi | 1 + rules.mak | 9 +- scripts/archive-source.sh | 84 +- scripts/checkpatch.pl | 22 +- scripts/clean-header-guards.pl | 12 +- scripts/cocci-macro-file.h | 7 +- scripts/create_config | 4 +- scripts/decodetree.py | 235 +- scripts/device-crash-test | 2 +- scripts/minikconf.py | 5 +- scripts/modules/module_block.py | 2 - scripts/qapi/commands.py | 2 - scripts/qapi/common.py | 243 +- scripts/qapi/doc.py | 15 +- scripts/qapi/events.py | 1 - scripts/qapi/introspect.py | 6 +- scripts/qapi/types.py | 3 +- scripts/qapi/visit.py | 5 +- scripts/qmp/qmp-shell | 5 +- scripts/render_block_graph.py | 2 +- scripts/tracetool/format/h.py | 1 - scripts/tracetool/format/tcg_helper_c.py | 3 +- scripts/tracetool/format/ust_events_h.py | 1 - scripts/update-linux-headers.sh | 9 +- scsi/pr-helper.h | 3 +- scsi/pr-manager-helper.c | 1 + scsi/pr-manager.c | 1 + scsi/qemu-pr-helper.c | 4 +- scsi/utils.c | 53 +- slirp | 1 + slirp/COPYRIGHT | 62 - slirp/Makefile | 47 - slirp/src/arp_table.c | 92 - slirp/src/bootp.c | 371 -- slirp/src/bootp.h | 129 - slirp/src/cksum.c | 161 - slirp/src/debug.h | 46 - slirp/src/dhcpv6.c | 224 - slirp/src/dhcpv6.h | 53 - slirp/src/dnssearch.c | 311 -- slirp/src/if.c | 218 - slirp/src/if.h | 21 - slirp/src/ip.h | 242 - slirp/src/ip6.h | 160 - slirp/src/ip6_icmp.c | 438 -- slirp/src/ip6_icmp.h | 232 - slirp/src/ip6_input.c | 78 - slirp/src/ip6_output.c | 39 - slirp/src/ip_icmp.c | 470 -- slirp/src/ip_icmp.h | 166 - slirp/src/ip_input.c | 469 -- slirp/src/ip_output.c | 170 - slirp/src/libslirp.h | 118 - slirp/src/main.h | 16 - slirp/src/mbuf.c | 235 - slirp/src/mbuf.h | 127 - slirp/src/misc.c | 321 -- slirp/src/misc.h | 66 - slirp/src/ncsi-pkt.h | 445 -- slirp/src/ncsi.c | 194 - slirp/src/ndp_table.c | 87 - slirp/src/qtailq.h | 194 - slirp/src/sbuf.c | 186 - slirp/src/sbuf.h | 27 - slirp/src/slirp.c | 1118 ----- slirp/src/slirp.h | 275 -- slirp/src/socket.c | 945 ---- slirp/src/socket.h | 160 - slirp/src/state.c | 388 -- slirp/src/stream.c | 120 - slirp/src/stream.h | 35 - slirp/src/tcp.h | 181 - slirp/src/tcp_input.c | 1554 ------- slirp/src/tcp_output.c | 522 --- slirp/src/tcp_subr.c | 987 ---- slirp/src/tcp_timer.c | 294 -- slirp/src/tcp_timer.h | 128 - slirp/src/tcp_var.h | 162 - slirp/src/tcpip.h | 102 - slirp/src/tftp.c | 463 -- slirp/src/tftp.h | 52 - slirp/src/udp.c | 363 -- slirp/src/udp.h | 92 - slirp/src/udp6.c | 173 - slirp/src/util.c | 368 -- slirp/src/util.h | 175 - slirp/src/vmstate.c | 441 -- slirp/src/vmstate.h | 409 -- stubs/Makefile.objs | 2 + stubs/bdrv-next-monitor-owned.c | 1 - stubs/blk-commit-all.c | 1 - stubs/change-state-handler.c | 1 - stubs/clock-warp.c | 1 - stubs/cpu-get-clock.c | 1 - stubs/cpu-get-icount.c | 1 - stubs/dump.c | 1 - stubs/error-printf.c | 14 +- stubs/fd-register.c | 1 - stubs/fdset.c | 3 +- stubs/fw_cfg.c | 21 + stubs/iothread-lock.c | 1 - stubs/is-daemonized.c | 1 - stubs/machine-init-done.c | 1 - stubs/migr-blocker.c | 1 - stubs/monitor.c | 12 +- stubs/notify-event.c | 1 - stubs/ramfb.c | 2 +- stubs/semihost.c | 70 + stubs/set-fd-handler.c | 1 - stubs/uuid.c | 1 - stubs/vm-stop.c | 1 - stubs/vmstate.c | 1 - stubs/xen-common.c | 1 - stubs/xen-hvm.c | 1 - target/alpha/cpu-param.h | 31 + target/alpha/cpu.c | 24 +- target/alpha/cpu.h | 93 +- target/alpha/fpu_helper.c | 21 +- target/alpha/gdbstub.c | 1 - target/alpha/helper.c | 87 +- target/alpha/machine.c | 1 - target/alpha/mem_helper.c | 16 - target/alpha/sys_helper.c | 8 +- target/alpha/translate.c | 4 +- target/arm/Makefile.objs | 40 +- target/arm/arm-semi.c | 104 +- target/arm/cpu-param.h | 34 + target/arm/cpu.c | 514 ++- target/arm/cpu.h | 211 +- target/arm/cpu64.c | 6 +- target/arm/debug_helper.c | 311 ++ target/arm/gdbstub.c | 1 - target/arm/gdbstub64.c | 1 - target/arm/helper-a64.c | 12 +- target/arm/helper.c | 2693 ++--------- target/arm/helper.h | 7 +- target/arm/internals.h | 73 +- target/arm/kvm-stub.c | 1 - target/arm/kvm.c | 9 +- target/arm/kvm32.c | 26 +- target/arm/kvm64.c | 8 +- target/arm/m_helper.c | 2692 +++++++++++ target/arm/machine.c | 19 +- target/arm/monitor.c | 2 +- target/arm/neon_helper.c | 5 - target/arm/op_helper.c | 561 +-- target/arm/pauth_helper.c | 22 +- target/arm/sve_helper.c | 49 +- target/arm/tlb_helper.c | 200 + target/arm/translate-a64.c | 262 +- target/arm/translate-a64.h | 3 +- target/arm/translate-sve.c | 33 +- target/arm/translate-vfp.inc.c | 2769 ++++++++++++ target/arm/translate.c | 2149 ++------- target/arm/translate.h | 21 +- target/arm/vfp-uncond.decode | 63 + target/arm/vfp.decode | 244 + target/arm/vfp_helper.c | 191 +- target/cris/cpu-param.h | 17 + target/cris/cpu.c | 23 +- target/cris/cpu.h | 36 +- target/cris/crisv10-decode.h | 4 + target/cris/gdbstub.c | 1 - target/cris/helper.c | 61 +- target/cris/machine.c | 1 - target/cris/mmu.c | 532 ++- target/cris/mmu.h | 5 + target/cris/op_helper.c | 917 ++-- target/cris/opcode-cris.h | 6 +- target/cris/translate.c | 57 +- target/hppa/cpu-param.h | 34 + target/hppa/cpu.c | 32 +- target/hppa/cpu.h | 51 +- target/hppa/gdbstub.c | 1 - target/hppa/helper.c | 27 +- target/hppa/insns.decode | 3 + target/hppa/int_helper.c | 4 +- target/hppa/machine.c | 1 - target/hppa/mem_helper.c | 29 +- target/hppa/op_helper.c | 10 +- target/hppa/translate.c | 75 +- target/i386/bpt_helper.c | 4 +- target/i386/cpu-param.h | 28 + target/i386/cpu-qom.h | 10 +- target/i386/cpu.c | 1341 +++--- target/i386/cpu.h | 181 +- target/i386/excp_helper.c | 55 +- target/i386/fpu_helper.c | 2 +- target/i386/gdbstub.c | 1 - target/i386/hax-all.c | 46 +- target/i386/hax-i386.h | 4 +- target/i386/hax-interface.h | 4 +- target/i386/hax-posix.h | 6 +- target/i386/helper.c | 375 +- target/i386/helper.h | 2 + target/i386/hvf/hvf-i386.h | 4 +- target/i386/hvf/hvf.c | 11 +- target/i386/hvf/vmcs.h | 4 +- target/i386/hvf/x86.h | 2 +- target/i386/hvf/x86_decode.c | 22 +- target/i386/hvf/x86_decode.h | 2 +- target/i386/hvf/x86_descr.h | 2 +- target/i386/hvf/x86_emu.c | 60 +- target/i386/hvf/x86_emu.h | 5 +- target/i386/hvf/x86_flags.h | 7 +- target/i386/hvf/x86_mmu.h | 7 +- target/i386/hvf/x86_task.h | 6 +- target/i386/hvf/x86hvf.c | 4 +- target/i386/hyperv-proto.h | 1 + target/i386/hyperv-stub.c | 2 +- target/i386/hyperv.c | 2 +- target/i386/int_helper.c | 21 + target/i386/kvm-stub.c | 1 - target/i386/kvm.c | 1009 +++-- target/i386/kvm_i386.h | 1 + target/i386/machine.c | 306 +- target/i386/mem_helper.c | 25 +- target/i386/misc_helper.c | 24 +- target/i386/monitor.c | 5 +- target/i386/seg_helper.c | 14 +- target/i386/sev-stub.c | 1 - target/i386/sev.c | 16 +- target/i386/sev_i386.h | 2 +- target/i386/smm_helper.c | 4 +- target/i386/svm_helper.c | 22 +- target/i386/translate.c | 66 +- target/i386/whp-dispatch.h | 9 +- target/i386/whpx-all.c | 5 +- target/i386/xsave_helper.c | 1 - target/lm32/cpu-param.h | 17 + target/lm32/cpu.c | 23 +- target/lm32/cpu.h | 36 +- target/lm32/gdbstub.c | 1 - target/lm32/helper.c | 29 +- target/lm32/machine.c | 1 - target/lm32/op_helper.c | 22 +- target/lm32/translate.c | 48 +- target/m68k/cpu-param.h | 22 + target/m68k/cpu-qom.h | 2 +- target/m68k/cpu.c | 15 +- target/m68k/cpu.h | 78 +- target/m68k/fpu_helper.c | 6 +- target/m68k/gdbstub.c | 10 +- target/m68k/helper.c | 349 +- target/m68k/m68k-semi.c | 29 +- target/m68k/monitor.c | 2 +- target/m68k/op_helper.c | 109 +- target/m68k/softfloat.c | 181 +- target/m68k/softfloat.h | 3 +- target/m68k/softfloat_fpsp_tables.h | 3 +- target/m68k/translate.c | 351 +- target/microblaze/cpu-param.h | 18 + target/microblaze/cpu.c | 10 +- target/microblaze/cpu.h | 70 +- target/microblaze/gdbstub.c | 1 - target/microblaze/helper.c | 101 +- target/microblaze/microblaze-decode.h | 4 + target/microblaze/mmu.c | 5 +- target/microblaze/mmu.h | 5 + target/microblaze/op_helper.c | 21 +- target/microblaze/translate.c | 51 +- target/mips/Makefile.objs | 3 +- target/mips/cpu-param.h | 29 + target/mips/cpu.c | 10 +- target/mips/cpu.h | 233 +- target/mips/dsp_helper.c | 40 +- target/mips/gdbstub.c | 1 - target/mips/helper.c | 107 +- target/mips/helper.h | 18 +- target/mips/internal.h | 8 +- target/mips/kvm.c | 5 + target/mips/lmi_helper.c | 8 +- target/mips/machine.c | 1 - target/mips/mips-defs.h | 15 - target/mips/mips-semi.c | 14 +- target/mips/msa_helper.c | 1708 +++++-- target/mips/op_helper.c | 428 +- target/mips/translate.c | 1258 ++++-- target/mips/translate_init.inc.c | 9 +- target/moxie/cpu-param.h | 17 + target/moxie/cpu.c | 9 +- target/moxie/cpu.h | 38 +- target/moxie/helper.c | 69 +- target/moxie/machine.c | 1 - target/moxie/mmu.h | 5 + target/moxie/translate.c | 35 +- target/nios2/Makefile.objs | 2 +- target/nios2/cpu-param.h | 21 + target/nios2/cpu.c | 13 +- target/nios2/cpu.h | 51 +- target/nios2/helper.c | 183 +- target/nios2/mmu.c | 34 +- target/nios2/mmu.h | 7 +- target/nios2/monitor.c | 4 +- target/nios2/nios2-semi.c | 455 ++ target/nios2/op_helper.c | 2 +- target/nios2/translate.c | 38 +- target/openrisc/cpu-param.h | 17 + target/openrisc/cpu.c | 24 +- target/openrisc/cpu.h | 42 +- target/openrisc/disas.c | 3 +- target/openrisc/exception.c | 2 +- target/openrisc/exception.h | 1 - target/openrisc/exception_helper.c | 7 +- target/openrisc/fpu_helper.c | 2 +- target/openrisc/gdbstub.c | 1 - target/openrisc/insns.decode | 2 +- target/openrisc/interrupt.c | 3 +- target/openrisc/machine.c | 3 +- target/openrisc/mmu.c | 72 +- target/openrisc/sys_helper.c | 14 +- target/openrisc/translate.c | 16 +- target/ppc/cpu-models.c | 3 +- target/ppc/cpu-models.h | 3 +- target/ppc/cpu-param.h | 37 + target/ppc/cpu.h | 292 +- target/ppc/dfp_helper.c | 14 +- target/ppc/excp_helper.c | 101 +- target/ppc/fpu_helper.c | 989 ++-- target/ppc/gdbstub.c | 35 +- target/ppc/helper.h | 332 +- target/ppc/helper_regs.h | 14 +- target/ppc/int_helper.c | 184 +- target/ppc/internal.h | 12 - target/ppc/kvm-stub.c | 1 - target/ppc/kvm.c | 274 +- target/ppc/kvm_ppc.h | 19 +- target/ppc/machine.c | 109 +- target/ppc/mem_helper.c | 58 +- target/ppc/mfrom_table.inc.c | 3 +- target/ppc/mfrom_table_gen.c | 8 +- target/ppc/misc_helper.c | 31 +- target/ppc/mmu-book3s-v3.h | 6 +- target/ppc/mmu-hash32.c | 59 +- target/ppc/mmu-hash64.c | 157 +- target/ppc/mmu-hash64.h | 4 +- target/ppc/mmu-radix64.c | 16 +- target/ppc/mmu_helper.c | 327 +- target/ppc/monitor.c | 17 +- target/ppc/trace-events | 29 +- target/ppc/translate.c | 777 ++-- target/ppc/translate/fp-impl.inc.c | 52 +- target/ppc/translate/spe-impl.inc.c | 28 +- target/ppc/translate/vmx-impl.inc.c | 57 +- target/ppc/translate/vsx-impl.inc.c | 705 ++- target/ppc/translate/vsx-ops.inc.c | 70 +- target/ppc/translate_init.inc.c | 364 +- target/ppc/user_only_helper.c | 14 +- target/riscv/Makefile.objs | 15 +- target/riscv/cpu-param.h | 23 + target/riscv/cpu.c | 243 +- target/riscv/cpu.h | 85 +- target/riscv/cpu_bits.h | 51 +- target/riscv/cpu_helper.c | 138 +- target/riscv/cpu_user.h | 5 + target/riscv/csr.c | 70 +- target/riscv/gdbstub.c | 1 - target/riscv/insn16-32.decode | 28 + target/riscv/insn16-64.decode | 36 + target/riscv/insn16.decode | 173 +- target/riscv/insn32.decode | 10 +- target/riscv/insn_trans/trans_privileged.inc.c | 10 +- target/riscv/insn_trans/trans_rva.inc.c | 8 +- target/riscv/insn_trans/trans_rvc.inc.c | 347 -- target/riscv/insn_trans/trans_rvi.inc.c | 30 +- target/riscv/instmap.h | 5 + target/riscv/op_helper.c | 14 +- target/riscv/pmp.c | 18 +- target/riscv/pmp.h | 6 +- target/riscv/translate.c | 88 +- target/s390x/Makefile.objs | 5 +- target/s390x/arch_dump.c | 8 +- target/s390x/cc_helper.c | 22 +- target/s390x/cpu-param.h | 17 + target/s390x/cpu.c | 32 +- target/s390x/cpu.h | 40 +- target/s390x/cpu_features.c | 316 +- target/s390x/cpu_features.h | 3 + target/s390x/cpu_features_def.h | 303 +- target/s390x/cpu_features_def.inc.h | 370 ++ target/s390x/cpu_models.c | 43 +- target/s390x/diag.c | 2 +- target/s390x/excp_helper.c | 99 +- target/s390x/fpu_helper.c | 8 +- target/s390x/gdbstub.c | 43 +- target/s390x/gen-features.c | 115 +- target/s390x/helper.c | 57 +- target/s390x/helper.h | 150 + target/s390x/insn-data.def | 195 + target/s390x/int_helper.c | 3 +- target/s390x/internal.h | 13 +- target/s390x/interrupt.c | 7 +- target/s390x/kvm-stub.c | 5 +- target/s390x/kvm.c | 91 +- target/s390x/kvm_s390x.h | 1 + target/s390x/machine.c | 129 +- target/s390x/mem_helper.c | 46 +- target/s390x/misc_helper.c | 61 +- target/s390x/mmu_helper.c | 9 +- target/s390x/sigp.c | 8 +- target/s390x/tcg_s390x.h | 2 + target/s390x/translate.c | 16 +- target/s390x/translate_vx.inc.c | 1929 +++++++- target/s390x/vec.h | 40 + target/s390x/vec_fpu_helper.c | 625 +++ target/s390x/vec_helper.c | 1 - target/s390x/vec_int_helper.c | 616 +++ target/s390x/vec_string_helper.c | 473 ++ target/sh4/cpu-param.h | 21 + target/sh4/cpu.c | 26 +- target/sh4/cpu.h | 43 +- target/sh4/gdbstub.c | 3 +- target/sh4/helper.c | 217 +- target/sh4/monitor.c | 2 +- target/sh4/op_helper.c | 25 +- target/sh4/translate.c | 33 +- target/sparc/asi.h | 6 +- target/sparc/cpu-param.h | 28 + target/sparc/cpu.c | 142 +- target/sparc/cpu.h | 49 +- target/sparc/fop_helper.c | 2 +- target/sparc/gdbstub.c | 1 - target/sparc/helper.c | 8 +- target/sparc/ldst_helper.c | 66 +- target/sparc/machine.c | 1 - target/sparc/mmu_helper.c | 165 +- target/sparc/monitor.c | 4 +- target/sparc/translate.c | 4 +- target/tilegx/cpu-param.h | 17 + target/tilegx/cpu.c | 30 +- target/tilegx/cpu.h | 24 +- target/tilegx/helper.c | 3 +- target/tilegx/simd_helper.c | 1 - target/tilegx/spr_def_64.h | 10 +- target/tilegx/translate.c | 12 +- target/tricore/cpu-param.h | 17 + target/tricore/cpu.c | 6 +- target/tricore/cpu.h | 34 +- target/tricore/fpu_helper.c | 126 + target/tricore/helper.c | 38 +- target/tricore/helper.h | 3 + target/tricore/op_helper.c | 28 +- target/tricore/translate.c | 83 +- target/tricore/tricore-defs.h | 5 - target/tricore/tricore-opcodes.h | 5 + target/unicore32/cpu-param.h | 17 + target/unicore32/cpu.c | 9 +- target/unicore32/cpu.h | 33 +- target/unicore32/helper.c | 27 +- target/unicore32/op_helper.c | 16 +- target/unicore32/softmmu.c | 24 +- target/unicore32/translate.c | 75 +- target/unicore32/ucf64_helper.c | 2 +- target/xtensa/core-dc233c.c | 1 - target/xtensa/core-de212.c | 1 - target/xtensa/core-de212/core-isa.h | 8 +- target/xtensa/core-fsf.c | 1 - target/xtensa/core-sample_controller.c | 1 - target/xtensa/core-sample_controller/core-isa.h | 8 +- target/xtensa/core-test_kc705_be.c | 1 - target/xtensa/core-test_kc705_be/core-isa.h | 8 +- target/xtensa/core-test_mmuhifi_c3/core-isa.h | 8 +- target/xtensa/cpu-param.h | 21 + target/xtensa/cpu.c | 12 +- target/xtensa/cpu.h | 111 +- target/xtensa/dbg_helper.c | 4 +- target/xtensa/exc_helper.c | 9 +- target/xtensa/gdbstub.c | 1 - target/xtensa/helper.c | 43 +- target/xtensa/helper.h | 6 + target/xtensa/mmu_helper.c | 563 ++- target/xtensa/monitor.c | 4 +- target/xtensa/op_helper.c | 42 + target/xtensa/overlay_tool.h | 43 +- target/xtensa/translate.c | 2996 ++++++++----- target/xtensa/xtensa-isa-internal.h | 2 +- target/xtensa/xtensa-semi.c | 4 +- tcg/README | 22 + tcg/aarch64/tcg-target.h | 7 +- tcg/aarch64/tcg-target.inc.c | 557 ++- tcg/aarch64/tcg-target.opc.h | 2 + tcg/arm/tcg-target.h | 1 + tcg/arm/tcg-target.inc.c | 224 +- tcg/i386/tcg-target.h | 9 +- tcg/i386/tcg-target.inc.c | 345 +- tcg/mips/tcg-target.h | 2 + tcg/mips/tcg-target.inc.c | 54 +- tcg/optimize.c | 25 +- tcg/ppc/tcg-target.h | 2 + tcg/ppc/tcg-target.inc.c | 77 +- tcg/riscv/tcg-target.h | 2 + tcg/riscv/tcg-target.inc.c | 62 +- tcg/s390/tcg-target.h | 2 + tcg/s390/tcg-target.inc.c | 36 +- tcg/sparc/tcg-target.h | 2 + tcg/sparc/tcg-target.inc.c | 43 +- tcg/tcg-common.c | 1 - tcg/tcg-gvec-desc.h | 5 + tcg/tcg-ldst.inc.c | 18 +- tcg/tcg-op-gvec.c | 1009 ++++- tcg/tcg-op-gvec.h | 76 +- tcg/tcg-op-vec.c | 407 +- tcg/tcg-op.c | 146 +- tcg/tcg-op.h | 25 + tcg/tcg-opc.h | 9 +- tcg/tcg-pool.inc.c | 12 +- tcg/tcg.c | 424 +- tcg/tcg.h | 44 +- tcg/tci/tcg-target.h | 2 + tcg/tci/tcg-target.inc.c | 3 +- tests/Makefile.include | 183 +- tests/ac97-test.c | 1 + tests/acceptance/avocado_qemu/__init__.py | 25 +- tests/acceptance/boot_linux_console.py | 348 +- tests/acceptance/empty_cpu_model.py | 19 + tests/acceptance/linux_initrd.py | 2 +- tests/acceptance/linux_ssh_mips_malta.py | 230 + tests/acceptance/virtio_version.py | 4 +- tests/acceptance/x86_cpu_model_versions.py | 304 ++ tests/acpi-utils.c | 68 +- tests/acpi-utils.h | 9 +- tests/bios-tables-test-allowed-diff.h | 1 + tests/bios-tables-test.c | 246 +- tests/boot-serial-test.c | 2 +- tests/crypto-tls-psk-helpers.h | 6 +- tests/crypto-tls-x509-helpers.h | 6 +- tests/data/acpi/q35/DSDT | Bin 7815 -> 7841 bytes tests/data/acpi/q35/DSDT.bridge | Bin 7832 -> 7858 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8278 -> 8304 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9468 -> 9494 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 7890 -> 7916 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9174 -> 9200 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 8945 -> 8971 bytes tests/data/acpi/q35/DSDT.numamem | Bin 7821 -> 7847 bytes tests/data/acpi/rebuild-expected-aml.sh | 26 +- tests/data/acpi/virt/APIC | Bin 0 -> 168 bytes tests/data/acpi/virt/DSDT | Bin 0 -> 18476 bytes tests/data/acpi/virt/FACP | Bin 0 -> 268 bytes tests/data/acpi/virt/GTDT | Bin 0 -> 96 bytes tests/data/acpi/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/virt/SPCR | Bin 0 -> 80 bytes .../bios-tables-test.aarch64.iso.qcow2 | Bin 11776 -> 12288 bytes .../bios-tables-test.arm.iso.qcow2 | Bin 11776 -> 11776 bytes .../bios-tables-test.i386.iso.qcow2 | Bin 12800 -> 13312 bytes .../bios-tables-test.x86_64.iso.qcow2 | Bin 13312 -> 13312 bytes tests/device-introspect-test.c | 85 +- tests/docker/Makefile.include | 7 +- tests/docker/dockerfiles/debian-alpha-cross.docker | 5 +- tests/docker/dockerfiles/debian-amd64.docker | 20 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 16 +- tests/docker/dockerfiles/debian-armel-cross.docker | 13 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 16 +- .../dockerfiles/debian-buster-arm64-cross.docker | 5 +- tests/docker/dockerfiles/debian-hppa-cross.docker | 5 +- tests/docker/dockerfiles/debian-m68k-cross.docker | 5 +- tests/docker/dockerfiles/debian-mips-cross.docker | 16 +- .../docker/dockerfiles/debian-mips64-cross.docker | 5 +- .../dockerfiles/debian-mips64el-cross.docker | 16 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 16 +- tests/docker/dockerfiles/debian-ports.docker | 4 +- .../docker/dockerfiles/debian-powerpc-cross.docker | 5 +- tests/docker/dockerfiles/debian-ppc64-cross.docker | 12 + .../docker/dockerfiles/debian-ppc64el-cross.docker | 14 +- .../docker/dockerfiles/debian-riscv64-cross.docker | 5 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 15 +- tests/docker/dockerfiles/debian-sh4-cross.docker | 5 +- tests/docker/dockerfiles/debian-sid.docker | 6 +- .../docker/dockerfiles/debian-sparc64-cross.docker | 5 +- tests/docker/dockerfiles/debian-win32-cross.docker | 14 +- tests/docker/dockerfiles/debian-win64-cross.docker | 14 +- .../docker/dockerfiles/debian-xtensa-cross.docker | 4 +- tests/docker/dockerfiles/debian10.docker | 7 +- tests/docker/dockerfiles/debian8-mxe.docker | 19 - tests/docker/dockerfiles/debian8.docker | 6 +- tests/docker/dockerfiles/debian9-mxe.docker | 22 + tests/docker/dockerfiles/debian9.docker | 7 +- tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 17 +- tests/docker/dockerfiles/ubuntu.docker | 24 +- tests/docker/dockerfiles/ubuntu1804.docker | 58 + tests/docker/run | 4 +- tests/docker/test-mingw | 4 +- tests/docker/test-misc | 22 + tests/drive_del-test.c | 63 +- tests/ds1338-test.c | 45 +- tests/e1000-test.c | 1 + tests/e1000e-test.c | 6 +- tests/eepro100-test.c | 1 + tests/es1370-test.c | 1 + tests/fw_cfg-test.c | 127 +- tests/hd-geo-test.c | 76 +- tests/ide-test.c | 284 +- tests/io-channel-helpers.h | 9 +- tests/ipoctal232-test.c | 1 + tests/ivshmem-test.c | 9 +- tests/libqos/aarch64-xlnx-zcu102-machine.c | 1 + tests/libqos/arm-imx25-pdk-machine.c | 92 + tests/libqos/arm-n800-machine.c | 92 + tests/libqos/arm-raspi2-machine.c | 1 + tests/libqos/arm-sabrelite-machine.c | 1 + tests/libqos/arm-smdkc210-machine.c | 1 + tests/libqos/arm-virt-machine.c | 1 + tests/libqos/arm-xilinx-zynq-a9-machine.c | 1 + tests/libqos/e1000e.c | 2 +- tests/libqos/e1000e.h | 4 +- tests/libqos/fw_cfg.c | 55 + tests/libqos/fw_cfg.h | 9 + tests/libqos/i2c-imx.c | 40 +- tests/libqos/i2c-omap.c | 70 +- tests/libqos/i2c.c | 74 +- tests/libqos/i2c.h | 63 +- tests/libqos/malloc-pc.c | 2 +- tests/libqos/pci-pc.c | 12 +- tests/libqos/pci-spapr.c | 2 +- tests/libqos/pci.h | 2 +- tests/libqos/ppc64_pseries-machine.c | 3 +- tests/libqos/qgraph.c | 12 +- tests/libqos/qgraph.h | 19 +- tests/libqos/qgraph_internal.h | 4 +- tests/libqos/sdhci.c | 1 + tests/libqos/sdhci.h | 4 +- tests/libqos/tpci200.c | 1 + tests/libqos/virtio-9p.c | 1 + tests/libqos/virtio-9p.h | 5 + tests/libqos/virtio-balloon.c | 1 + tests/libqos/virtio-balloon.h | 5 + tests/libqos/virtio-blk.c | 1 + tests/libqos/virtio-blk.h | 5 + tests/libqos/virtio-mmio.c | 3 +- tests/libqos/virtio-net.c | 1 + tests/libqos/virtio-net.h | 5 + tests/libqos/virtio-pci.c | 3 +- tests/libqos/virtio-rng.c | 1 + tests/libqos/virtio-rng.h | 5 + tests/libqos/virtio-scsi.c | 1 + tests/libqos/virtio-scsi.h | 5 + tests/libqos/virtio-serial.c | 1 + tests/libqos/virtio-serial.h | 5 + tests/libqos/virtio.c | 18 +- tests/libqos/virtio.h | 3 +- tests/libqos/x86_64_pc-machine.c | 1 + tests/libqtest.c | 97 +- tests/libqtest.h | 162 +- tests/machine-none-test.c | 4 +- tests/megasas-test.c | 3 +- tests/migration-test.c | 192 +- tests/migration/guestperf/engine.py | 24 +- tests/migration/migration-test.h | 7 +- tests/multiboot/link.ld | 6 +- tests/ne2000-test.c | 1 + tests/numa-test.c | 53 +- tests/nvme-test.c | 1 + tests/pca9552-test.c | 91 +- tests/pci-test.c | 1 + tests/pcnet-test.c | 1 + tests/perf/block/qcow2/convert-blockstatus | 71 + tests/pflash-cfi02-test.c | 681 +++ tests/q35-test.c | 39 +- tests/qapi-schema/double-type.err | 2 +- tests/qapi-schema/features-bad-type.err | 1 + tests/qapi-schema/features-bad-type.exit | 1 + tests/qapi-schema/features-bad-type.json | 3 + tests/qapi-schema/features-bad-type.out | 0 tests/qapi-schema/features-duplicate-name.err | 1 + tests/qapi-schema/features-duplicate-name.exit | 1 + tests/qapi-schema/features-duplicate-name.json | 3 + tests/qapi-schema/features-duplicate-name.out | 0 tests/qapi-schema/features-missing-name.err | 1 + tests/qapi-schema/features-missing-name.exit | 1 + tests/qapi-schema/features-missing-name.json | 3 + tests/qapi-schema/features-missing-name.out | 0 tests/qapi-schema/features-name-bad-type.err | 1 + tests/qapi-schema/features-name-bad-type.exit | 1 + tests/qapi-schema/features-name-bad-type.json | 3 + tests/qapi-schema/features-name-bad-type.out | 0 tests/qapi-schema/features-no-list.err | 1 + tests/qapi-schema/features-no-list.exit | 1 + tests/qapi-schema/features-no-list.json | 3 + tests/qapi-schema/features-no-list.out | 0 tests/qapi-schema/features-unknown-key.err | 2 + tests/qapi-schema/features-unknown-key.exit | 1 + tests/qapi-schema/features-unknown-key.json | 3 + tests/qapi-schema/features-unknown-key.out | 0 tests/qapi-schema/qapi-schema-test.json | 39 + tests/qapi-schema/qapi-schema-test.out | 43 + tests/qapi-schema/test-qapi.py | 7 +- tests/qapi-schema/unknown-expr-key.err | 2 +- tests/qemu-iotests/001 | 1 - tests/qemu-iotests/002 | 1 - tests/qemu-iotests/003 | 1 - tests/qemu-iotests/004 | 1 - tests/qemu-iotests/005 | 9 + tests/qemu-iotests/007 | 3 +- tests/qemu-iotests/008 | 1 - tests/qemu-iotests/009 | 1 - tests/qemu-iotests/010 | 1 - tests/qemu-iotests/011 | 3 +- tests/qemu-iotests/012 | 1 - tests/qemu-iotests/015 | 1 - tests/qemu-iotests/017 | 1 - tests/qemu-iotests/020 | 1 - tests/qemu-iotests/021 | 1 - tests/qemu-iotests/022 | 1 - tests/qemu-iotests/025 | 1 - tests/qemu-iotests/026 | 1 - tests/qemu-iotests/026.out | 168 +- tests/qemu-iotests/027 | 1 - tests/qemu-iotests/029 | 1 - tests/qemu-iotests/030 | 150 +- tests/qemu-iotests/030.out | 4 +- tests/qemu-iotests/031 | 1 - tests/qemu-iotests/032 | 3 +- tests/qemu-iotests/033 | 1 - tests/qemu-iotests/035 | 3 +- tests/qemu-iotests/036 | 1 - tests/qemu-iotests/037 | 3 +- tests/qemu-iotests/040 | 40 +- tests/qemu-iotests/040.out | 4 +- tests/qemu-iotests/042 | 1 - tests/qemu-iotests/043 | 1 - tests/qemu-iotests/043.out | 6 +- tests/qemu-iotests/046 | 3 +- tests/qemu-iotests/047 | 1 - tests/qemu-iotests/049 | 1 - tests/qemu-iotests/050 | 1 - tests/qemu-iotests/051 | 35 +- tests/qemu-iotests/051.out | 13 +- tests/qemu-iotests/051.pc.out | 37 +- tests/qemu-iotests/052 | 1 - tests/qemu-iotests/053 | 1 - tests/qemu-iotests/053.out | 2 +- tests/qemu-iotests/054 | 1 - tests/qemu-iotests/056 | 41 +- tests/qemu-iotests/056.out | 4 +- tests/qemu-iotests/059.out | 20 +- tests/qemu-iotests/060 | 7 +- tests/qemu-iotests/060.out | 21 +- tests/qemu-iotests/061.out | 12 +- tests/qemu-iotests/062 | 1 - tests/qemu-iotests/063 | 1 - tests/qemu-iotests/066 | 1 - tests/qemu-iotests/067 | 1 - tests/qemu-iotests/068 | 1 - tests/qemu-iotests/069 | 1 - tests/qemu-iotests/069.out | 2 +- tests/qemu-iotests/070.out | 4 +- tests/qemu-iotests/071 | 1 - tests/qemu-iotests/072 | 1 - tests/qemu-iotests/073 | 1 - tests/qemu-iotests/075.out | 14 +- tests/qemu-iotests/076.out | 6 +- tests/qemu-iotests/078.out | 12 +- tests/qemu-iotests/079 | 1 - tests/qemu-iotests/080.out | 40 +- tests/qemu-iotests/081.out | 2 +- tests/qemu-iotests/082 | 7 +- tests/qemu-iotests/082.out | 108 +- tests/qemu-iotests/083.out | 68 +- tests/qemu-iotests/084.out | 8 +- tests/qemu-iotests/085 | 1 - tests/qemu-iotests/085.out | 10 +- tests/qemu-iotests/088.out | 12 +- tests/qemu-iotests/089 | 1 - tests/qemu-iotests/089.out | 2 +- tests/qemu-iotests/090 | 1 - tests/qemu-iotests/092.out | 24 +- tests/qemu-iotests/093 | 9 +- tests/qemu-iotests/094 | 1 - tests/qemu-iotests/095 | 1 - tests/qemu-iotests/095.out | 4 +- tests/qemu-iotests/098 | 1 - tests/qemu-iotests/102 | 3 +- tests/qemu-iotests/102.out | 3 +- tests/qemu-iotests/103 | 1 - tests/qemu-iotests/103.out | 14 +- tests/qemu-iotests/104 | 1 - tests/qemu-iotests/104.out | 6 +- tests/qemu-iotests/105 | 1 - tests/qemu-iotests/107 | 1 - tests/qemu-iotests/110 | 11 +- tests/qemu-iotests/110.out | 6 +- tests/qemu-iotests/111 | 1 - tests/qemu-iotests/112 | 1 - tests/qemu-iotests/114 | 1 - tests/qemu-iotests/114.out | 4 +- tests/qemu-iotests/115 | 1 - tests/qemu-iotests/116.out | 14 +- tests/qemu-iotests/117 | 1 - tests/qemu-iotests/118 | 6 +- tests/qemu-iotests/118.out | 4 +- tests/qemu-iotests/120 | 1 - tests/qemu-iotests/124 | 38 +- tests/qemu-iotests/124.out | 4 +- tests/qemu-iotests/125 | 1 - tests/qemu-iotests/126 | 11 +- tests/qemu-iotests/126.out | 4 +- tests/qemu-iotests/127 | 1 - tests/qemu-iotests/130.out | 10 +- tests/qemu-iotests/131.out | 2 +- tests/qemu-iotests/133 | 1 - tests/qemu-iotests/133.out | 30 +- tests/qemu-iotests/134 | 10 +- tests/qemu-iotests/134.out | 10 + tests/qemu-iotests/136 | 1 + tests/qemu-iotests/137.out | 28 +- tests/qemu-iotests/138 | 12 +- tests/qemu-iotests/138.out | 5 +- tests/qemu-iotests/140.out | 2 +- tests/qemu-iotests/141.out | 2 +- tests/qemu-iotests/142 | 1 - tests/qemu-iotests/143 | 1 - tests/qemu-iotests/143.out | 2 +- tests/qemu-iotests/144 | 1 - tests/qemu-iotests/144.out | 2 +- tests/qemu-iotests/145 | 1 - tests/qemu-iotests/147 | 4 +- tests/qemu-iotests/151 | 25 + tests/qemu-iotests/151.out | 4 +- tests/qemu-iotests/153 | 1 - tests/qemu-iotests/153.out | 32 +- tests/qemu-iotests/156 | 1 - tests/qemu-iotests/157 | 1 - tests/qemu-iotests/158 | 1 - tests/qemu-iotests/159 | 1 - tests/qemu-iotests/162 | 1 - tests/qemu-iotests/169 | 7 +- tests/qemu-iotests/170 | 1 - tests/qemu-iotests/173 | 1 - tests/qemu-iotests/175 | 26 +- tests/qemu-iotests/175.out | 8 +- tests/qemu-iotests/182 | 44 +- tests/qemu-iotests/182.out | 7 + tests/qemu-iotests/183 | 1 - tests/qemu-iotests/186 | 21 +- tests/qemu-iotests/186.out | 152 +- tests/qemu-iotests/187 | 1 - tests/qemu-iotests/187.out | 6 +- tests/qemu-iotests/188.out | 2 +- tests/qemu-iotests/190 | 1 - tests/qemu-iotests/191 | 1 - tests/qemu-iotests/191.out | 8 +- tests/qemu-iotests/192 | 5 +- tests/qemu-iotests/195 | 1 - tests/qemu-iotests/195.out | 4 +- tests/qemu-iotests/197 | 1 - tests/qemu-iotests/197.out | 2 +- tests/qemu-iotests/198.out | 4 +- tests/qemu-iotests/200 | 1 - tests/qemu-iotests/205 | 4 +- tests/qemu-iotests/206.out | 10 +- tests/qemu-iotests/207 | 64 +- tests/qemu-iotests/207.out | 24 +- tests/qemu-iotests/210.out | 8 +- tests/qemu-iotests/211.out | 10 +- tests/qemu-iotests/212.out | 10 +- tests/qemu-iotests/213.out | 10 +- tests/qemu-iotests/214 | 1 - tests/qemu-iotests/215 | 1 - tests/qemu-iotests/215.out | 2 +- tests/qemu-iotests/217 | 1 - tests/qemu-iotests/218 | 55 +- tests/qemu-iotests/218.out | 4 + tests/qemu-iotests/219 | 13 +- tests/qemu-iotests/221 | 14 +- tests/qemu-iotests/221.out | 20 +- tests/qemu-iotests/226.out | 16 +- tests/qemu-iotests/227 | 5 +- tests/qemu-iotests/227.out | 4 +- tests/qemu-iotests/231 | 1 - tests/qemu-iotests/233 | 8 +- tests/qemu-iotests/233.out | 8 +- tests/qemu-iotests/235 | 2 +- tests/qemu-iotests/237.out | 22 +- tests/qemu-iotests/238 | 2 +- tests/qemu-iotests/239 | 2 +- tests/qemu-iotests/240 | 30 +- tests/qemu-iotests/240.out | 15 +- tests/qemu-iotests/241 | 2 +- tests/qemu-iotests/242.out | 10 +- tests/qemu-iotests/243 | 2 +- tests/qemu-iotests/244 | 2 +- tests/qemu-iotests/244.out | 10 +- tests/qemu-iotests/245 | 26 +- tests/qemu-iotests/245.out | 12 + tests/qemu-iotests/247 | 1 - tests/qemu-iotests/249 | 115 + tests/qemu-iotests/249.out | 35 + tests/qemu-iotests/250 | 78 + tests/qemu-iotests/250.out | 16 + tests/qemu-iotests/251 | 170 + tests/qemu-iotests/251.out | 43 + tests/qemu-iotests/252 | 124 + tests/qemu-iotests/252.out | 39 + tests/qemu-iotests/253 | 84 + tests/qemu-iotests/253.out | 14 + tests/qemu-iotests/254 | 54 + tests/qemu-iotests/254.out | 52 + tests/qemu-iotests/255 | 135 + tests/qemu-iotests/255.out | 40 + tests/qemu-iotests/256 | 122 + tests/qemu-iotests/256.out | 119 + tests/qemu-iotests/check | 196 +- tests/qemu-iotests/common.nbd | 94 +- tests/qemu-iotests/common.pattern | 4 +- tests/qemu-iotests/common.rc | 8 +- tests/qemu-iotests/group | 293 +- tests/qemu-iotests/iotests.py | 99 +- tests/qmp-cmd-test.c | 15 +- tests/qom-test.c | 28 +- tests/qos-test.c | 20 +- tests/requirements.txt | 1 + tests/sdhci-test.c | 2 + tests/socket-helpers.h | 6 +- tests/spapr-phb-test.c | 1 + tests/tcg/Makefile | 7 +- tests/tcg/aarch64/Makefile.softmmu-target | 34 + tests/tcg/aarch64/Makefile.target | 2 +- tests/tcg/aarch64/pauth-2.c | 61 + tests/tcg/aarch64/system/boot.S | 239 + tests/tcg/aarch64/system/kernel.ld | 24 + tests/tcg/alpha/Makefile.softmmu-target | 34 + tests/tcg/alpha/system/boot.S | 511 +++ tests/tcg/alpha/system/kernel.ld | 30 + tests/tcg/i386/Makefile.softmmu-target | 12 +- tests/tcg/i386/Makefile.target | 4 +- tests/tcg/i386/system/hello.c | 14 - tests/tcg/i386/system/memory.c | 243 - tests/tcg/minilib/printf.c | 3 + tests/tcg/mips/include/test_utils_128.h | 17 +- tests/tcg/mips/include/test_utils_64.h | 9 +- tests/tcg/mips/include/wrappers_msa.h | 615 ++- tests/tcg/mips/user/ase/msa/README | 20 + .../mips/user/ase/msa/bit-count/test_msa_nloc_b.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nloc_d.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nloc_h.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nloc_w.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nlzc_b.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nlzc_d.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nlzc_h.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_nlzc_w.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_pcnt_b.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_pcnt_d.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_pcnt_h.c | 11 +- .../mips/user/ase/msa/bit-count/test_msa_pcnt_w.c | 11 +- .../mips/user/ase/msa/bit-move/test_msa_binsl_b.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsl_d.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsl_h.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsl_w.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsr_b.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsr_d.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsr_h.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_binsr_w.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_bmnz_v.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_bmz_v.c | 214 + .../mips/user/ase/msa/bit-move/test_msa_bsel_v.c | 214 + .../mips/user/ase/msa/bit-set/test_msa_bclr_b.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bclr_d.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bclr_h.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bclr_w.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bneg_b.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bneg_d.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bneg_h.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bneg_w.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bset_b.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bset_d.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bset_h.c | 158 + .../mips/user/ase/msa/bit-set/test_msa_bset_w.c | 158 + .../ase/msa/fixed-multiply/test_msa_madd_q_h.c | 216 + .../ase/msa/fixed-multiply/test_msa_madd_q_w.c | 216 + .../ase/msa/fixed-multiply/test_msa_maddr_q_h.c | 216 + .../ase/msa/fixed-multiply/test_msa_maddr_q_w.c | 216 + .../ase/msa/fixed-multiply/test_msa_msub_q_h.c | 216 + .../ase/msa/fixed-multiply/test_msa_msub_q_w.c | 216 + .../ase/msa/fixed-multiply/test_msa_msubr_q_h.c | 216 + .../ase/msa/fixed-multiply/test_msa_msubr_q_w.c | 216 + .../user/ase/msa/fixed-multiply/test_msa_mul_q_h.c | 160 + .../user/ase/msa/fixed-multiply/test_msa_mul_q_w.c | 160 + .../ase/msa/fixed-multiply/test_msa_mulr_q_h.c | 160 + .../ase/msa/fixed-multiply/test_msa_mulr_q_w.c | 160 + .../user/ase/msa/float-max-min/test_msa_fmax_a_d.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmax_a_w.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmax_d.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmax_w.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmin_a_d.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmin_a_w.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmin_d.c | 158 + .../user/ase/msa/float-max-min/test_msa_fmin_w.c | 158 + .../mips/user/ase/msa/int-add/test_msa_add_a_b.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_add_a_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_add_a_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_add_a_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_b.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_b.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_b.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_addv_b.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_addv_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_addv_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_addv_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_w.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_d.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_h.c | 15 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_w.c | 15 +- .../user/ase/msa/int-average/test_msa_ave_s_b.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_s_d.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_s_h.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_s_w.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_u_b.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_u_d.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_u_h.c | 23 +- .../user/ase/msa/int-average/test_msa_ave_u_w.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_s_b.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_s_d.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_s_h.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_s_w.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_u_b.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_u_d.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_u_h.c | 23 +- .../user/ase/msa/int-average/test_msa_aver_u_w.c | 23 +- .../mips/user/ase/msa/int-compare/test_msa_ceq_b.c | 13 +- .../mips/user/ase/msa/int-compare/test_msa_ceq_d.c | 13 +- .../mips/user/ase/msa/int-compare/test_msa_ceq_h.c | 13 +- .../mips/user/ase/msa/int-compare/test_msa_ceq_w.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_s_b.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_s_d.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_s_h.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_s_w.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_u_b.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_u_d.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_u_h.c | 13 +- .../user/ase/msa/int-compare/test_msa_cle_u_w.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_s_b.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_s_d.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_s_h.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_s_w.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_u_b.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_u_d.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_u_h.c | 13 +- .../user/ase/msa/int-compare/test_msa_clt_u_w.c | 13 +- .../user/ase/msa/int-divide/test_msa_div_s_b.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_s_d.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_s_h.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_s_w.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_u_b.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_u_d.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_u_h.c | 23 +- .../user/ase/msa/int-divide/test_msa_div_u_w.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_s_d.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_s_h.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_s_w.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_u_d.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_u_h.c | 23 +- .../ase/msa/int-dot-product/test_msa_dotp_u_w.c | 23 +- .../ase/msa/int-dot-product/test_msa_dpadd_s_d.c | 214 + .../ase/msa/int-dot-product/test_msa_dpadd_s_h.c | 214 + .../ase/msa/int-dot-product/test_msa_dpadd_s_w.c | 214 + .../ase/msa/int-dot-product/test_msa_dpadd_u_d.c | 214 + .../ase/msa/int-dot-product/test_msa_dpadd_u_h.c | 214 + .../ase/msa/int-dot-product/test_msa_dpadd_u_w.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_s_d.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_s_h.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_s_w.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_u_d.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_u_h.c | 214 + .../ase/msa/int-dot-product/test_msa_dpsub_u_w.c | 214 + .../user/ase/msa/int-max-min/test_msa_max_a_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_a_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_a_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_a_w.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_s_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_s_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_s_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_s_w.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_u_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_u_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_u_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_max_u_w.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_a_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_a_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_a_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_a_w.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_s_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_s_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_s_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_s_w.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_u_b.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_u_d.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_u_h.c | 13 +- .../user/ase/msa/int-max-min/test_msa_min_u_w.c | 13 +- .../user/ase/msa/int-modulo/test_msa_mod_s_b.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_s_d.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_s_h.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_s_w.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_u_b.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_u_d.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_u_h.c | 160 + .../user/ase/msa/int-modulo/test_msa_mod_u_w.c | 160 + .../user/ase/msa/int-multiply/test_msa_maddv_b.c | 214 + .../user/ase/msa/int-multiply/test_msa_maddv_d.c | 214 + .../user/ase/msa/int-multiply/test_msa_maddv_h.c | 214 + .../user/ase/msa/int-multiply/test_msa_maddv_w.c | 214 + .../user/ase/msa/int-multiply/test_msa_msubv_b.c | 214 + .../user/ase/msa/int-multiply/test_msa_msubv_d.c | 214 + .../user/ase/msa/int-multiply/test_msa_msubv_h.c | 214 + .../user/ase/msa/int-multiply/test_msa_msubv_w.c | 214 + .../user/ase/msa/int-multiply/test_msa_mul_q_h.c | 151 - .../user/ase/msa/int-multiply/test_msa_mul_q_w.c | 151 - .../user/ase/msa/int-multiply/test_msa_mulr_q_h.c | 151 - .../user/ase/msa/int-multiply/test_msa_mulr_q_w.c | 151 - .../user/ase/msa/int-multiply/test_msa_mulv_b.c | 23 +- .../user/ase/msa/int-multiply/test_msa_mulv_d.c | 23 +- .../user/ase/msa/int-multiply/test_msa_mulv_h.c | 23 +- .../user/ase/msa/int-multiply/test_msa_mulv_w.c | 23 +- .../user/ase/msa/int-subtract/test_msa_asub_s_b.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_s_d.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_s_h.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_s_w.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_u_b.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_u_d.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_u_h.c | 160 + .../user/ase/msa/int-subtract/test_msa_asub_u_w.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_s_d.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_s_h.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_s_w.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_u_d.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_u_h.c | 160 + .../user/ase/msa/int-subtract/test_msa_hsub_u_w.c | 160 + .../user/ase/msa/int-subtract/test_msa_subs_s_b.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_s_d.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_s_h.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_s_w.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_u_b.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_u_d.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_u_h.c | 23 +- .../user/ase/msa/int-subtract/test_msa_subs_u_w.c | 23 +- .../ase/msa/int-subtract/test_msa_subsus_u_b.c | 23 +- .../ase/msa/int-subtract/test_msa_subsus_u_d.c | 23 +- .../ase/msa/int-subtract/test_msa_subsus_u_h.c | 23 +- .../ase/msa/int-subtract/test_msa_subsus_u_w.c | 23 +- .../ase/msa/int-subtract/test_msa_subsuu_s_b.c | 23 +- .../ase/msa/int-subtract/test_msa_subsuu_s_d.c | 23 +- .../ase/msa/int-subtract/test_msa_subsuu_s_h.c | 23 +- .../ase/msa/int-subtract/test_msa_subsuu_s_w.c | 23 +- _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |