[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [qemu-xen master] Merge tag 'v5.0.0' into 'staging'
=== This changeset includes merge from high-traffic branch === Commits on that branch are not reported individually. commit 221c94e964772cb6cb36b641b9ee993e77182dca Merge: fdd76fecdde1ad444ff4deb7f1c4f7e4a1ef97d6 63cb54f1fe78f2c2365e46d4dccbf30831077049 Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Wed Apr 29 10:19:37 2020 +0100 Commit: Anthony PERARD <anthony.perard@xxxxxxxxxx> CommitDate: Wed Apr 29 10:19:37 2020 +0100 Merge tag 'v5.0.0' into 'staging' .cirrus.yml | 17 +- .github/lockdown.yml | 34 + .gitignore | 9 +- .gitlab-ci-edk2.yml | 49 + .gitlab-ci-opensbi.yml | 63 + .gitlab-ci.d/edk2/Dockerfile | 27 + .gitlab-ci.d/opensbi/Dockerfile | 33 + .gitlab-ci.yml | 68 +- .gitmodules | 6 +- .mailmap | 141 +- .readthedocs.yml | 20 + .shippable.yml | 4 +- .travis.yml | 459 +- CODING_STYLE | 216 - CODING_STYLE.rst | 641 ++ HACKING | 245 - Kconfig.host | 6 + LICENSE | 5 +- MAINTAINERS | 477 +- Makefile | 353 +- Makefile.objs | 53 +- Makefile.target | 33 +- README | 139 - README.rst | 150 + VERSION | 2 +- accel/Makefile.objs | 2 +- accel/accel.c | 72 +- accel/kvm/kvm-all.c | 449 +- accel/stubs/kvm-stub.c | 12 + accel/stubs/tcg-stub.c | 2 - accel/tcg/Makefile.objs | 1 + accel/tcg/atomic_common.inc.c | 54 + accel/tcg/atomic_template.h | 101 +- accel/tcg/cpu-exec.c | 34 +- accel/tcg/cputlb.c | 1260 ++- accel/tcg/plugin-gen.c | 932 +++ accel/tcg/plugin-helpers.h | 5 + accel/tcg/tcg-all.c | 150 +- accel/tcg/tcg-runtime-gvec.c | 300 +- accel/tcg/tcg-runtime.c | 1 + accel/tcg/translate-all.c | 191 +- accel/tcg/translate-all.h | 8 +- accel/tcg/translator.c | 25 +- accel/tcg/user-exec-stub.c | 2 +- accel/tcg/user-exec.c | 273 +- arch_init.c | 17 +- audio/Makefile.objs | 1 - audio/alsaaudio.c | 405 +- audio/audio.c | 867 +- audio/audio.h | 47 +- audio/audio_int.h | 113 +- audio/audio_pt_int.c | 173 - audio/audio_pt_int.h | 22 - audio/audio_template.h | 130 +- audio/coreaudio.c | 131 +- audio/dsound_template.h | 54 +- audio/dsoundaudio.c | 378 +- audio/mixeng.c | 70 + audio/mixeng.h | 14 +- audio/mixeng_template.h | 22 +- audio/noaudio.c | 92 +- audio/ossaudio.c | 389 +- audio/paaudio.c | 916 +-- audio/rate_template.h | 2 +- audio/sdlaudio.c | 141 +- audio/spiceaudio.c | 265 +- audio/wavaudio.c | 83 +- audio/wavcapture.c | 7 +- authz/listfile.c | 2 +- backends/Makefile.objs | 6 +- backends/cryptodev-builtin.c | 1 - backends/cryptodev-vhost-user.c | 8 +- backends/cryptodev.c | 12 +- backends/dbus-vmstate.c | 511 ++ backends/hostmem-file.c | 30 - backends/hostmem-memfd.c | 1 - backends/hostmem-ram.c | 2 - backends/hostmem.c | 57 +- backends/rng-builtin.c | 77 + backends/trace-events | 7 + backends/vhost-user.c | 3 +- balloon.c | 1 - block.c | 686 +- block/Makefile.objs | 13 +- block/accounting.c | 6 + block/aio_task.c | 124 + block/backup-top.c | 285 + block/backup-top.h | 41 + block/backup.c | 521 +- block/blkdebug.c | 93 +- block/blkreplay.c | 8 + block/blkverify.c | 20 +- block/block-backend.c | 277 +- block/block-copy.c | 578 ++ block/bochs.c | 4 +- block/cloop.c | 4 +- block/commit.c | 45 +- block/copy-on-read.c | 17 - block/create.c | 7 +- block/crypto.c | 119 +- block/curl.c | 165 +- block/dirty-bitmap.c | 382 +- block/dmg.c | 4 +- block/file-posix.c | 491 +- block/file-win32.c | 8 +- block/filter-compress.c | 159 + block/gluster.c | 8 +- block/io.c | 875 ++- block/io_uring.c | 433 + block/iscsi.c | 99 +- block/linux-aio.c | 4 +- block/mirror.c | 282 +- block/monitor/Makefile.objs | 1 + block/monitor/block-hmp-cmds.c | 1013 +++ block/nbd.c | 612 +- block/nfs.c | 22 +- block/null.c | 4 +- block/nvme.c | 165 +- block/parallels.c | 25 +- block/qapi-sysemu.c | 590 ++ block/qapi.c | 33 +- block/qcow.c | 12 +- block/qcow2-bitmap.c | 309 +- block/qcow2-cache.c | 2 +- block/qcow2-cluster.c | 118 +- block/qcow2-refcount.c | 7 +- block/qcow2-snapshot.c | 326 +- block/qcow2-threads.c | 79 +- block/qcow2.c | 1081 ++- block/qcow2.h | 53 +- block/qed.c | 13 +- block/quorum.c | 70 +- block/raw-format.c | 15 +- block/rbd.c | 54 +- block/replication.c | 49 +- block/sheepdog.c | 13 +- block/snapshot.c | 30 +- block/ssh.c | 8 +- block/stream.c | 28 +- block/throttle-groups.c | 5 +- block/throttle.c | 8 - block/trace-events | 30 +- block/vdi.c | 22 +- block/vhdx-log.c | 4 +- block/vhdx.c | 158 +- block/vmdk.c | 81 +- block/vpc.c | 15 +- block/vvfat.c | 15 +- block/vxhs.c | 5 +- blockdev-nbd.c | 58 +- blockdev.c | 1551 ++-- blockjob.c | 53 +- bootdevice.c | 147 +- bsd-user/main.c | 4 +- bsd-user/qemu.h | 2 +- bsd-user/syscall.c | 30 +- bt-host.c | 198 - bt-vhci.c | 167 - chardev/baum.c | 1 + chardev/char-mux.c | 8 +- chardev/char-pipe.c | 3 +- chardev/char-socket.c | 18 +- chardev/char-win-stdio.c | 1 + chardev/char-win.c | 3 +- chardev/char.c | 49 +- chardev/spice.c | 4 +- configure | 1071 ++- contrib/gitdm/aliases | 20 +- contrib/gitdm/domain-map | 2 + contrib/gitdm/filetypes.txt | 2 +- contrib/gitdm/group-map-individuals | 5 +- contrib/gitdm/group-map-redhat | 1 + contrib/ivshmem-server/ivshmem-server.c | 6 + contrib/ivshmem-server/main.c | 5 +- contrib/libvhost-user/libvhost-user-glib.c | 17 +- contrib/libvhost-user/libvhost-user-glib.h | 1 + contrib/libvhost-user/libvhost-user.c | 217 +- contrib/libvhost-user/libvhost-user.h | 22 +- contrib/rdmacm-mux/main.c | 2 +- contrib/vhost-user-blk/vhost-user-blk.c | 110 +- contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +- contrib/vhost-user-gpu/Makefile.objs | 6 +- contrib/vhost-user-gpu/main.c | 1191 --- contrib/vhost-user-gpu/vhost-user-gpu.c | 1191 +++ contrib/vhost-user-gpu/virgl.c | 2 +- contrib/vhost-user-gpu/vugbm.c | 2 +- contrib/vhost-user-input/main.c | 10 +- contrib/vhost-user-scsi/vhost-user-scsi.c | 2 +- cpus-common.c | 14 +- cpus.c | 170 +- crypto/Makefile.objs | 15 +- crypto/afsplit.c | 28 +- crypto/block-luks.c | 1091 +-- crypto/block.c | 51 +- crypto/cipher-gcrypt.c | 97 +- crypto/cipher-nettle.c | 18 + crypto/hmac-glib.c | 5 - crypto/pbkdf.c | 5 +- crypto/secret.c | 39 +- crypto/tlscredsanon.c | 16 +- crypto/tlscredspsk.c | 5 +- crypto/tlscredsx509.c | 18 +- default-configs/arm-softmmu.mak | 2 + default-configs/i386-softmmu.mak | 7 +- default-configs/m68k-softmmu.mak | 2 + default-configs/ppc-softmmu.mak | 1 - default-configs/ppc64-softmmu.mak | 1 + default-configs/rx-softmmu.mak | 2 + default-configs/xtensa-softmmu.mak | 1 + device-hotplug.c | 92 - device_tree.c | 7 +- disas.c | 110 + disas/cris.c | 59 +- disas/libvixl/Makefile.objs | 11 +- disas/mips.c | 10 + disas/ppc.c | 5 + dma-helpers.c | 17 +- docs/COLO-FT.txt | 224 +- docs/barrier.txt | 370 + docs/block-replication.txt | 28 +- docs/can.txt | 2 +- docs/conf.py | 51 +- docs/defs.rst.inc | 15 + docs/devel/atomics.rst | 507 ++ docs/devel/atomics.txt | 403 - docs/devel/bitops.rst | 8 + docs/devel/decodetree.rst | 8 +- docs/devel/fuzzing.txt | 116 + docs/devel/index.rst | 5 + docs/devel/kconfig.rst | 2 +- docs/devel/loads-stores.rst | 215 +- docs/devel/memory.rst | 5 + docs/devel/migration.rst | 5 +- docs/devel/multi-thread-tcg.txt | 8 +- docs/devel/qapi-code-gen.txt | 1147 +-- docs/devel/rcu.txt | 20 +- docs/devel/replay.txt | 46 + docs/devel/reset.rst | 289 + docs/devel/s390-dasd-ipl.rst | 138 + docs/devel/s390-dasd-ipl.txt | 133 - docs/devel/stable-process.rst | 6 +- docs/devel/tcg-plugins.rst | 136 + docs/devel/tcg.rst | 2 +- docs/devel/testing.rst | 123 +- docs/devel/tracing.txt | 17 +- docs/hyperv.txt | 13 + docs/index.html.in | 19 + docs/index.rst | 6 +- docs/interop/conf.py | 7 + docs/interop/dbus-vmstate.rst | 74 + docs/interop/dbus.rst | 110 + docs/interop/firmware.json | 5 +- docs/interop/index.rst | 3 + docs/interop/nbd.txt | 2 + docs/interop/pr-helper.rst | 2 +- docs/interop/qcow2.txt | 67 +- docs/interop/qemu-ga.rst | 134 + docs/interop/vhost-user.json | 35 +- docs/interop/vhost-user.rst | 156 +- docs/microvm.rst | 129 + docs/nvdimm.txt | 31 + docs/qemu-block-drivers.texi | 887 --- docs/qemu-cpu-models.texi | 675 -- docs/qemu-option-trace.rst.inc | 26 + docs/replay.txt | 15 +- docs/security.texi | 167 - docs/specs/acpi_cpu_hotplug.txt | 91 +- docs/specs/acpi_hw_reduced_hotplug.rst | 70 + docs/specs/fw_cfg.txt | 2 +- docs/specs/index.rst | 2 + docs/specs/ivshmem-spec.txt | 4 +- docs/specs/ppc-spapr-hotplug.txt | 2 +- docs/specs/ppc-spapr-uv-hcalls.txt | 76 + docs/specs/ppc-xive.rst | 2 +- docs/specs/pvpanic.txt | 18 +- docs/specs/tpm.rst | 526 ++ docs/specs/tpm.txt | 427 - docs/sphinx/hxtool.py | 192 + docs/sphinx/kerneldoc.py | 173 + docs/sphinx/kernellog.py | 28 + docs/system/arm/cpu-features.rst | 346 + docs/system/arm/integratorcp.rst | 16 + docs/system/arm/musicpal.rst | 19 + docs/system/arm/nseries.rst | 33 + docs/system/arm/orangepi.rst | 253 + docs/system/arm/palm.rst | 23 + docs/system/arm/realview.rst | 34 + docs/system/arm/stellaris.rst | 26 + docs/system/arm/sx1.rst | 18 + docs/system/arm/versatile.rst | 29 + docs/system/arm/xscale.rst | 29 + docs/system/build-platforms.rst | 79 + docs/system/conf.py | 28 + docs/system/cpu-models-mips.rst.inc | 105 + docs/system/cpu-models-x86.rst.inc | 418 + docs/system/deprecated.rst | 509 ++ docs/system/device-url-syntax.rst.inc | 228 + docs/system/gdb.rst | 89 + docs/system/images.rst | 85 + docs/system/index.rst | 35 + docs/system/invocation.rst | 18 + docs/system/ivshmem.rst | 64 + docs/system/keys.rst | 6 + docs/system/keys.rst.inc | 35 + docs/system/license.rst | 11 + docs/system/linuxboot.rst | 30 + docs/system/managed-startup.rst | 35 + docs/system/monitor.rst | 31 + docs/system/mux-chardev.rst | 6 + docs/system/mux-chardev.rst.inc | 27 + docs/system/net.rst | 100 + docs/system/qemu-block-drivers.rst | 20 + docs/system/qemu-block-drivers.rst.inc | 954 +++ docs/system/qemu-cpu-models.rst | 20 + docs/system/qemu-manpage.rst | 45 + docs/system/quickstart.rst | 13 + docs/system/s390x/vfio-ap.rst | 916 +++ docs/system/security.rst | 173 + docs/system/target-arm.rst | 88 + docs/system/target-i386-desc.rst.inc | 62 + docs/system/target-i386.rst | 23 + docs/system/target-m68k.rst | 21 + docs/system/target-mips.rst | 120 + docs/system/target-ppc.rst | 47 + docs/system/target-s390x.rst | 26 + docs/system/target-sparc.rst | 62 + docs/system/target-sparc64.rst | 37 + docs/system/target-xtensa.rst | 27 + docs/system/targets.rst | 20 + docs/system/tls.rst | 328 + docs/system/usb.rst | 137 + docs/system/vnc-security.rst | 202 + docs/tools/conf.py | 33 + docs/tools/index.rst | 17 + docs/tools/qemu-img.rst | 832 ++ docs/tools/qemu-nbd.rst | 256 + docs/tools/qemu-trace-stap.rst | 124 + docs/tools/virtfs-proxy-helper.rst | 72 + docs/tools/virtiofsd.rst | 120 + docs/user/conf.py | 15 + docs/user/index.rst | 16 + docs/user/main.rst | 295 + docs/vfio-ap.txt | 876 --- docs/virtio-net-failover.rst | 68 + docs/virtio-pmem.rst | 76 + docs/xbzrle.txt | 7 +- dump/dump-hmp-cmds.c | 4 +- dump/dump.c | 5 +- dump/win_dump.c | 5 +- exec-vary.c | 108 + exec.c | 835 +- fpu/softfloat-specialize.h | 1083 --- fpu/softfloat-specialize.inc.c | 1083 +++ fpu/softfloat.c | 286 +- fsdev/9p-marshal.h | 6 +- fsdev/Makefile.objs | 2 +- fsdev/file-op-9p.h | 5 + fsdev/qemu-fsdev-opts.c | 7 +- fsdev/qemu-fsdev-throttle.c | 5 +- fsdev/qemu-fsdev-throttle.h | 3 +- fsdev/qemu-fsdev.c | 1 + fsdev/virtfs-proxy-helper.c | 106 +- fsdev/virtfs-proxy-helper.texi | 63 - gdb-xml/riscv-32bit-virtual.xml | 11 + gdb-xml/riscv-64bit-virtual.xml | 11 + gdb-xml/rx-core.xml | 70 + gdbstub.c | 949 ++- hmp-commands-info.hx | 610 +- hmp-commands.hx | 1492 ++-- hw/9pfs/9p-local.c | 46 +- hw/9pfs/9p-proxy.c | 10 +- hw/9pfs/9p-synth.c | 19 + hw/9pfs/9p-synth.h | 5 + hw/9pfs/9p.c | 604 +- hw/9pfs/9p.h | 73 +- hw/9pfs/Kconfig | 5 + hw/9pfs/codir.c | 1 + hw/9pfs/cofile.c | 1 + hw/9pfs/cofs.c | 1 + hw/9pfs/coth.c | 1 + hw/9pfs/coth.h | 1 - hw/9pfs/coxattr.c | 1 + hw/9pfs/trace-events | 14 +- hw/9pfs/virtio-9p-device.c | 15 +- hw/9pfs/xen-9p-backend.c | 15 +- hw/Kconfig | 7 +- hw/Makefile.objs | 3 +- hw/acpi/Kconfig | 7 + hw/acpi/Makefile.objs | 5 +- hw/acpi/acpi-x86-stub.c | 7 + hw/acpi/aml-build.c | 50 +- hw/acpi/core.c | 4 +- hw/acpi/cpu.c | 19 + hw/acpi/cpu_hotplug.c | 24 +- hw/acpi/generic_event_device.c | 311 + hw/acpi/hmat.c | 268 + hw/acpi/hmat.h | 42 + hw/acpi/ich9.c | 108 +- hw/acpi/ipmi-stub.c | 2 +- hw/acpi/ipmi.c | 13 +- hw/acpi/memory_hotplug.c | 44 +- hw/acpi/nvdimm.c | 34 +- hw/acpi/pcihp.c | 14 +- hw/acpi/piix4.c | 70 +- hw/acpi/tco.c | 2 + hw/acpi/trace-events | 1 + hw/acpi/vmgenid.c | 6 +- hw/adc/Makefile.objs | 2 +- hw/adc/stm32f2xx_adc.c | 2 +- hw/alpha/alpha_sys.h | 7 +- hw/alpha/dp264.c | 26 +- hw/alpha/pci.c | 1 - hw/alpha/typhoon.c | 12 +- hw/arm/Kconfig | 46 + hw/arm/Makefile.objs | 5 +- hw/arm/allwinner-a10.c | 106 +- hw/arm/allwinner-h3.c | 465 ++ hw/arm/armsse.c | 4 +- hw/arm/armv7m.c | 8 +- hw/arm/aspeed.c | 349 +- hw/arm/aspeed_ast2600.c | 587 ++ hw/arm/aspeed_soc.c | 306 +- hw/arm/bcm2835_peripherals.c | 69 +- hw/arm/bcm2836.c | 49 +- hw/arm/boot.c | 46 +- hw/arm/collie.c | 54 +- hw/arm/cubieboard.c | 71 +- hw/arm/digic.c | 4 +- hw/arm/digic_boards.c | 45 +- hw/arm/exynos4210.c | 97 +- hw/arm/exynos4_boards.c | 13 +- hw/arm/fsl-imx25.c | 83 +- hw/arm/fsl-imx31.c | 12 +- hw/arm/fsl-imx6.c | 67 +- hw/arm/fsl-imx6ul.c | 60 +- hw/arm/gumstix.c | 17 +- hw/arm/highbank.c | 23 +- hw/arm/imx25_pdk.c | 40 +- hw/arm/integratorcp.c | 24 +- hw/arm/kzm.c | 24 +- hw/arm/mainstone.c | 28 +- hw/arm/mcimx6ul-evk.c | 29 +- hw/arm/mcimx7d-sabre.c | 30 +- hw/arm/microbit.c | 1 + hw/arm/mps2-tz.c | 31 +- hw/arm/mps2.c | 16 +- hw/arm/msf2-soc.c | 12 +- hw/arm/msf2-som.c | 1 + hw/arm/musca.c | 11 +- hw/arm/musicpal.c | 59 +- hw/arm/netduino2.c | 1 + hw/arm/netduinoplus2.c | 52 + hw/arm/nrf51_soc.c | 6 +- hw/arm/nseries.c | 54 +- hw/arm/omap1.c | 26 +- hw/arm/omap2.c | 44 +- hw/arm/omap_sx1.c | 41 +- hw/arm/orangepi.c | 130 + hw/arm/palm.c | 33 +- hw/arm/pxa2xx.c | 29 +- hw/arm/pxa2xx_gpio.c | 5 +- hw/arm/pxa2xx_pic.c | 2 +- hw/arm/raspi.c | 225 +- hw/arm/realview.c | 6 +- hw/arm/sabrelite.c | 27 +- hw/arm/sbsa-ref.c | 109 +- hw/arm/smmu-common.c | 28 +- hw/arm/smmuv3-internal.h | 7 +- hw/arm/smmuv3.c | 78 +- hw/arm/spitz.c | 23 +- hw/arm/stellaris.c | 15 +- hw/arm/stm32f205_soc.c | 15 +- hw/arm/stm32f405_soc.c | 300 + hw/arm/strongarm.c | 32 +- hw/arm/strongarm.h | 4 +- hw/arm/sysbus-fdt.c | 34 +- hw/arm/tosa.c | 15 +- hw/arm/versatilepb.c | 14 +- hw/arm/vexpress.c | 19 +- hw/arm/virt-acpi-build.c | 109 +- hw/arm/virt.c | 519 +- hw/arm/xilinx_zynq.c | 36 +- hw/arm/xlnx-versal-virt.c | 44 +- hw/arm/xlnx-versal.c | 31 +- hw/arm/xlnx-zcu102.c | 12 +- hw/arm/xlnx-zynqmp.c | 49 +- hw/arm/z2.c | 26 +- hw/audio/ac97.c | 25 +- hw/audio/adlib.c | 9 +- hw/audio/cs4231.c | 3 +- hw/audio/cs4231a.c | 12 +- hw/audio/es1370.c | 15 +- hw/audio/fmopl.c | 8 +- hw/audio/gus.c | 13 +- hw/audio/hda-codec.c | 30 +- hw/audio/intel-hda.c | 33 +- hw/audio/intel-hda.h | 2 +- hw/audio/lm4549.c | 1 + hw/audio/lm4549.h | 1 + hw/audio/marvell_88w8618.c | 4 +- hw/audio/milkymist-ac97.c | 17 +- hw/audio/pcspk.c | 7 +- hw/audio/pl041.c | 6 +- hw/audio/sb16.c | 10 +- hw/audio/wm8750.c | 11 +- hw/block/Kconfig | 3 + hw/block/Makefile.objs | 3 +- hw/block/dataplane/virtio-blk.c | 6 +- hw/block/dataplane/xen-block.c | 50 +- hw/block/ecc.c | 2 +- hw/block/fdc.c | 74 +- hw/block/hd-geometry.c | 7 +- hw/block/m25p80.c | 64 +- hw/block/nand.c | 5 +- hw/block/nvme.c | 5 +- hw/block/onenand.c | 6 +- hw/block/pflash_cfi01.c | 15 +- hw/block/pflash_cfi02.c | 14 +- hw/block/swim.c | 489 ++ hw/block/tc58128.c | 1 - hw/block/trace-events | 26 +- hw/block/vhost-user-blk.c | 54 +- hw/block/virtio-blk.c | 69 +- hw/block/xen-block.c | 26 +- hw/bt/Kconfig | 2 - hw/bt/Makefile.objs | 3 - hw/bt/core.c | 143 - hw/bt/hci-csr.c | 512 -- hw/bt/hci.c | 2263 ------ hw/bt/hid.c | 553 -- hw/bt/l2cap.c | 1367 ---- hw/bt/sdp.c | 989 --- hw/char/Makefile.objs | 16 +- hw/char/bcm2835_aux.c | 10 +- hw/char/cadence_uart.c | 6 +- hw/char/cmsdk-apb-uart.c | 4 +- hw/char/debugcon.c | 4 +- hw/char/digic-uart.c | 7 +- hw/char/escc.c | 38 +- hw/char/etraxfs_ser.c | 6 +- hw/char/exynos4210_uart.c | 254 +- hw/char/grlib_apbuart.c | 6 +- hw/char/imx_serial.c | 8 +- hw/char/ipoctal232.c | 7 +- hw/char/lm32_juart.c | 7 +- hw/char/lm32_uart.c | 8 +- hw/char/mcf_uart.c | 7 +- hw/char/milkymist-uart.c | 8 +- hw/char/nrf51_uart.c | 7 +- hw/char/omap_uart.c | 3 +- hw/char/parallel-isa.c | 2 + hw/char/parallel.c | 7 +- hw/char/pl011.c | 6 +- hw/char/sclpconsole-lm.c | 7 +- hw/char/sclpconsole.c | 7 +- hw/char/serial-isa.c | 17 +- hw/char/serial-pci-multi.c | 62 +- hw/char/serial-pci.c | 23 +- hw/char/serial.c | 203 +- hw/char/sh_serial.c | 5 +- hw/char/spapr_vty.c | 37 +- hw/char/stm32f2xx_usart.c | 4 +- hw/char/terminal3270.c | 10 +- hw/char/trace-events | 20 + hw/char/virtio-console.c | 10 +- hw/char/virtio-serial-bus.c | 19 +- hw/char/xen_console.c | 2 +- hw/char/xilinx_uartlite.c | 7 +- hw/core/Kconfig | 13 + hw/core/Makefile.objs | 38 +- hw/core/bus.c | 104 +- hw/core/cpu.c | 456 ++ hw/core/empty_slot.c | 1 - hw/core/generic-loader.c | 8 +- hw/core/irq.c | 14 - hw/core/loader-fit.c | 16 +- hw/core/loader.c | 106 +- hw/core/machine-hmp-cmds.c | 19 +- hw/core/machine-qmp-cmds.c | 16 + hw/core/machine.c | 302 +- hw/core/null-machine.c | 11 +- hw/core/numa.c | 482 +- hw/core/or-irq.c | 7 +- hw/core/platform-bus.c | 7 +- hw/core/ptimer.c | 108 +- hw/core/qdev-fw.c | 2 +- hw/core/qdev-properties-system.c | 59 +- hw/core/qdev-properties.c | 75 +- hw/core/qdev.c | 433 +- hw/core/register.c | 1 - hw/core/resettable.c | 301 + hw/core/split-irq.c | 4 +- hw/core/sysbus.c | 32 - hw/core/trace-events | 29 + hw/core/vm-change-state-handler.c | 3 +- hw/core/vmstate-if.c | 23 + hw/cpu/a15mpcore.c | 4 +- hw/cpu/a9mpcore.c | 10 +- hw/cpu/arm11mpcore.c | 9 +- hw/cpu/cluster.c | 5 +- hw/cpu/realview_mpcore.c | 4 +- hw/cris/axis_dev88.c | 14 +- hw/cris/boot.c | 4 +- hw/display/Kconfig | 9 + hw/display/Makefile.objs | 23 +- hw/display/ads7846.c | 4 +- hw/display/artist.c | 1443 ++++ hw/display/ati.c | 129 +- hw/display/ati_2d.c | 37 +- hw/display/ati_dbg.c | 10 + hw/display/ati_int.h | 5 + hw/display/ati_regs.h | 17 + hw/display/bcm2835_fb.c | 9 +- hw/display/bochs-display.c | 11 +- hw/display/cg3.c | 10 +- hw/display/cirrus_vga.c | 6 +- hw/display/cirrus_vga_isa.c | 4 +- hw/display/dpcd.c | 1 + hw/display/edid-generate.c | 4 +- hw/display/edid-region.c | 1 + hw/display/exynos4210_fimd.c | 7 +- hw/display/framebuffer.c | 1 - hw/display/g364fb.c | 8 +- hw/display/i2c-ddc.c | 4 +- hw/display/jazz_led.c | 124 +- hw/display/macfb.c | 477 ++ hw/display/milkymist-tmu2.c | 11 +- hw/display/milkymist-vgafb.c | 4 +- hw/display/next-fb.c | 146 + hw/display/omap_dss.c | 4 +- hw/display/omap_lcdc.c | 13 +- hw/display/pl110.c | 2 + hw/display/pxa2xx_lcd.c | 3 +- hw/display/qxl-render.c | 10 +- hw/display/qxl.c | 21 +- hw/display/qxl.h | 3 +- hw/display/ramfb-standalone.c | 4 +- hw/display/ramfb.c | 5 +- hw/display/sii9022.c | 1 + hw/display/sm501.c | 39 +- hw/display/ssd0303.c | 1 + hw/display/ssd0323.c | 1 + hw/display/tc6393xb.c | 4 +- hw/display/tcx.c | 11 +- hw/display/trace-events | 9 + hw/display/vga-access.h | 49 + hw/display/vga-helpers.h | 26 - hw/display/vga-isa-mm.c | 9 +- hw/display/vga-isa.c | 8 +- hw/display/vga-pci.c | 20 +- hw/display/vga.c | 19 +- hw/display/vga_int.h | 3 - hw/display/vhost-user-gpu.c | 3 +- hw/display/virtio-gpu-pci.c | 3 +- hw/display/virtio-gpu.c | 5 +- hw/display/virtio-vga.c | 4 +- hw/display/vmware_vga.c | 10 +- hw/display/xenfb.c | 1 - hw/display/xlnx_dp.c | 11 +- hw/dma/Kconfig | 1 + hw/dma/Makefile.objs | 7 +- hw/dma/bcm2835_dma.c | 24 +- hw/dma/etraxfs_dma.c | 30 +- hw/dma/i82374.c | 4 +- hw/dma/i8257.c | 27 +- hw/dma/omap_dma.c | 2 +- hw/dma/pl080.c | 6 +- hw/dma/pl330.c | 93 +- hw/dma/puv3_dma.c | 1 - hw/dma/pxa2xx_dma.c | 5 +- hw/dma/rc4030.c | 27 +- hw/dma/soc_dma.c | 2 +- hw/dma/sparc32_dma.c | 6 +- hw/dma/trace-events | 24 + hw/dma/xilinx_axidma.c | 30 +- hw/dma/xlnx-zdma.c | 72 +- hw/dma/xlnx-zynq-devcfg.c | 3 +- hw/dma/xlnx_dpdma.c | 2 + hw/gpio/Makefile.objs | 9 +- hw/gpio/aspeed_gpio.c | 1015 +++ hw/gpio/bcm2835_gpio.c | 2 + hw/gpio/gpio_key.c | 2 + hw/gpio/imx_gpio.c | 5 +- hw/gpio/max7310.c | 4 + hw/gpio/mpc8xxx.c | 2 + hw/gpio/nrf51_gpio.c | 2 + hw/gpio/omap_gpio.c | 49 +- hw/gpio/pl061.c | 2 + hw/gpio/puv3_gpio.c | 1 - hw/gpio/zaurus.c | 3 +- hw/hppa/Kconfig | 4 + hw/hppa/Makefile.objs | 2 +- hw/hppa/dino.c | 105 +- hw/hppa/hppa_hardware.h | 1 + hw/hppa/hppa_sys.h | 7 +- hw/hppa/lasi.c | 368 + hw/hppa/machine.c | 61 +- hw/hppa/pci.c | 1 - hw/hppa/trace-events | 10 + hw/hyperv/hyperv.c | 24 +- hw/hyperv/hyperv_testdev.c | 1 - hw/i2c/Makefile.objs | 4 +- hw/i2c/aspeed_i2c.c | 547 +- hw/i2c/bitbang_i2c.c | 2 +- hw/i2c/core.c | 6 +- hw/i2c/exynos4210_i2c.c | 2 + hw/i2c/imx_i2c.c | 2 + hw/i2c/microbit_i2c.c | 1 + hw/i2c/mpc_i2c.c | 2 + hw/i2c/omap_i2c.c | 24 +- hw/i2c/pm_smbus.c | 3 +- hw/i2c/ppc4xx_i2c.c | 3 +- hw/i2c/smbus_eeprom.c | 21 +- hw/i2c/smbus_ich9.c | 4 +- hw/i2c/smbus_master.c | 1 - hw/i2c/smbus_slave.c | 2 +- hw/i2c/trace-events | 9 + hw/i386/Kconfig | 25 +- hw/i386/Makefile.objs | 14 +- hw/i386/acpi-build.c | 211 +- hw/i386/amd_iommu.c | 38 +- hw/i386/amd_iommu.h | 1 - hw/i386/e820_memory_layout.c | 59 + hw/i386/e820_memory_layout.h | 42 + hw/i386/fw_cfg.c | 143 + hw/i386/fw_cfg.h | 9 + hw/i386/intel_iommu.c | 233 +- hw/i386/intel_iommu_internal.h | 19 +- hw/i386/kvm/Makefile.objs | 6 +- hw/i386/kvm/clock.c | 21 +- hw/i386/kvm/i8254.c | 5 +- hw/i386/kvm/i8259.c | 2 + hw/i386/kvm/ioapic.c | 18 +- hw/i386/kvmvapic.c | 2 + hw/i386/microvm.c | 572 ++ hw/i386/multiboot.c | 3 +- hw/i386/pc.c | 1396 +--- hw/i386/pc_piix.c | 259 +- hw/i386/pc_q35.c | 109 +- hw/i386/pc_sysfw.c | 63 +- hw/i386/port92.c | 126 + hw/i386/trace-events | 8 + hw/i386/vmmouse.c | 22 +- hw/i386/vmport.c | 2 - hw/i386/x86-iommu-stub.c | 43 + hw/i386/x86-iommu.c | 3 +- hw/i386/x86.c | 1021 +++ hw/i386/xen/xen-hvm.c | 38 +- hw/i386/xen/xen-mapcache.c | 1 + hw/i386/xen/xen_platform.c | 2 +- hw/i386/xen/xen_pvdevice.c | 5 +- hw/ide/ahci-allwinner.c | 2 +- hw/ide/ahci.c | 11 +- hw/ide/ahci_internal.h | 2 + hw/ide/atapi.c | 80 +- hw/ide/cmd646.c | 36 +- hw/ide/core.c | 63 +- hw/ide/ich.c | 2 +- hw/ide/ioport.c | 2 - hw/ide/isa.c | 7 +- hw/ide/macio.c | 7 +- hw/ide/microdrive.c | 10 +- hw/ide/mmio.c | 5 +- hw/ide/pci.c | 15 +- hw/ide/piix.c | 44 +- hw/ide/qdev.c | 23 +- hw/ide/sii3112.c | 14 +- hw/ide/via.c | 40 +- hw/input/Kconfig | 4 +- hw/input/Makefile.objs | 7 +- hw/input/adb-kbd.c | 2 +- hw/input/adb-mouse.c | 1 + hw/input/adb.c | 4 +- hw/input/hid.c | 3 +- hw/input/lasips2.c | 291 + hw/input/lm832x.c | 14 +- hw/input/milkymist-softusb.c | 6 +- hw/input/pckbd.c | 16 +- hw/input/pl050.c | 2 + hw/input/ps2.c | 21 +- hw/input/pxa2xx_keypad.c | 2 + hw/input/stellaris_input.c | 7 +- hw/input/trace-events | 5 + hw/input/tsc2005.c | 4 +- hw/input/tsc210x.c | 3 + hw/input/vhost-user-input.c | 1 - hw/input/virtio-input-hid.c | 8 +- hw/input/virtio-input-host.c | 4 +- hw/input/virtio-input.c | 8 +- hw/intc/Kconfig | 3 + hw/intc/Makefile.objs | 2 +- hw/intc/allwinner-a10-pic.c | 3 +- hw/intc/apic.c | 4 +- hw/intc/apic_common.c | 60 +- hw/intc/arm_gic.c | 36 +- hw/intc/arm_gic_common.c | 5 +- hw/intc/arm_gic_kvm.c | 16 +- hw/intc/arm_gicv2m.c | 4 +- hw/intc/arm_gicv3_common.c | 6 +- hw/intc/arm_gicv3_cpuif.c | 4 + hw/intc/arm_gicv3_its_common.c | 1 + hw/intc/arm_gicv3_its_kvm.c | 5 +- hw/intc/arm_gicv3_kvm.c | 13 +- hw/intc/armv7m_nvic.c | 76 +- hw/intc/aspeed_vic.c | 2 + hw/intc/bcm2835_ic.c | 6 +- hw/intc/bcm2836_control.c | 13 +- hw/intc/etraxfs_pic.c | 29 +- hw/intc/exynos4210_combiner.c | 6 +- hw/intc/exynos4210_gic.c | 15 +- hw/intc/grlib_irqmp.c | 36 +- hw/intc/heathrow_pic.c | 3 +- hw/intc/i8259.c | 5 +- hw/intc/i8259_common.c | 7 +- hw/intc/imx_avic.c | 2 + hw/intc/imx_gpcv2.c | 1 + hw/intc/ioapic.c | 10 +- hw/intc/ioapic_common.c | 1 + hw/intc/lm32_pic.c | 3 +- hw/intc/mips_gic.c | 7 +- hw/intc/nios2_iic.c | 1 + hw/intc/omap_intc.c | 24 +- hw/intc/ompic.c | 6 +- hw/intc/openpic.c | 6 +- hw/intc/openpic_kvm.c | 4 +- hw/intc/pl190.c | 2 + hw/intc/pnv_xive.c | 432 +- hw/intc/puv3_intc.c | 1 + hw/intc/realview_gic.c | 2 + hw/intc/s390_flic.c | 5 +- hw/intc/s390_flic_kvm.c | 43 +- hw/intc/sh_intc.c | 2 +- hw/intc/slavio_intctl.c | 2 + hw/intc/spapr_xive.c | 445 +- hw/intc/spapr_xive_kvm.c | 114 +- hw/intc/trace-events | 11 +- hw/intc/xics.c | 314 +- hw/intc/xics_kvm.c | 40 +- hw/intc/xics_pnv.c | 1 - hw/intc/xics_spapr.c | 177 +- hw/intc/xilinx_intc.c | 5 +- hw/intc/xive.c | 646 +- hw/intc/xlnx-pmu-iomod-intc.c | 5 +- hw/intc/xlnx-zynqmp-ipi.c | 2 + hw/ipack/ipack.c | 5 +- hw/ipack/tpci200.c | 2 + hw/ipmi/Kconfig | 15 + hw/ipmi/Makefile.objs | 5 +- hw/ipmi/ipmi.c | 12 +- hw/ipmi/ipmi_bmc_extern.c | 20 +- hw/ipmi/ipmi_bmc_sim.c | 84 +- hw/ipmi/ipmi_bt.c | 437 ++ hw/ipmi/ipmi_kcs.c | 423 + hw/ipmi/isa_ipmi_bt.c | 454 +- hw/ipmi/isa_ipmi_kcs.c | 430 +- hw/ipmi/pci_ipmi_bt.c | 148 + hw/ipmi/pci_ipmi_kcs.c | 148 + hw/ipmi/smbus_ipmi.c | 384 + hw/isa/Kconfig | 15 +- hw/isa/Makefile.objs | 3 +- hw/isa/apm.c | 2 +- hw/isa/i82378.c | 4 +- hw/isa/isa-bus.c | 11 +- hw/isa/isa-superio.c | 3 +- hw/isa/lpc_ich9.c | 39 +- hw/isa/pc87312.c | 4 +- hw/isa/piix3.c | 399 + hw/isa/piix4.c | 150 +- hw/isa/smc37c669-superio.c | 2 +- hw/isa/vt82c686.c | 39 +- hw/lm32/lm32.h | 1 + hw/lm32/lm32_boards.c | 49 +- hw/lm32/milkymist-hw.h | 2 +- hw/lm32/milkymist.c | 28 +- hw/m68k/Kconfig | 15 + hw/m68k/Makefile.objs | 2 + hw/m68k/an5206.c | 8 +- hw/m68k/bootinfo.h | 114 + hw/m68k/mcf5206.c | 16 +- hw/m68k/mcf5208.c | 21 +- hw/m68k/mcf_intc.c | 1 + hw/m68k/next-cube.c | 984 +++ hw/m68k/next-kbd.c | 291 + hw/m68k/q800.c | 455 ++ hw/mem/Kconfig | 2 +- hw/mem/Makefile.objs | 2 +- hw/mem/memory-device.c | 10 +- hw/mem/nvdimm.c | 44 +- hw/mem/pc-dimm.c | 8 +- hw/microblaze/Kconfig | 1 + hw/microblaze/boot.c | 6 +- hw/microblaze/boot.h | 1 - hw/microblaze/petalogix_ml605_mmu.c | 3 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 3 +- hw/microblaze/xlnx-zynqmp-pmu.c | 1 - hw/mips/Kconfig | 1 + hw/mips/addr.c | 1 - hw/mips/boston.c | 18 +- hw/mips/cps.c | 12 +- hw/mips/gt64xxx_pci.c | 26 +- hw/mips/mips_fulong2e.c | 130 +- hw/mips/mips_int.c | 8 +- hw/mips/mips_jazz.c | 108 +- hw/mips/mips_malta.c | 443 +- hw/mips/mips_mipssim.c | 50 +- hw/mips/mips_r4k.c | 80 +- hw/mips/trace-events | 4 +- hw/misc/Kconfig | 14 + hw/misc/Makefile.objs | 102 +- hw/misc/a9scu.c | 4 +- hw/misc/allwinner-cpucfg.c | 282 + hw/misc/allwinner-h3-ccu.c | 242 + hw/misc/allwinner-h3-dramc.c | 358 + hw/misc/allwinner-h3-sysctrl.c | 140 + hw/misc/allwinner-sid.c | 168 + hw/misc/applesmc.c | 4 +- hw/misc/arm11scu.c | 3 +- hw/misc/arm_integrator_debug.c | 1 - hw/misc/arm_l2x0.c | 4 +- hw/misc/arm_sysctl.c | 8 +- hw/misc/armsse-cpuid.c | 4 +- hw/misc/armsse-mhu.c | 3 +- hw/misc/aspeed_scu.c | 395 +- hw/misc/aspeed_sdmc.c | 320 +- hw/misc/aspeed_xdma.c | 2 + hw/misc/bcm2835_mbox.c | 20 +- hw/misc/bcm2835_property.c | 29 +- hw/misc/bcm2835_rng.c | 1 + hw/misc/bcm2835_thermal.c | 135 + hw/misc/cbus.c | 2 +- hw/misc/debugexit.c | 4 +- hw/misc/eccmemctl.c | 5 +- hw/misc/edu.c | 14 +- hw/misc/exynos4210_clk.c | 1 + hw/misc/exynos4210_pmu.c | 3 +- hw/misc/exynos4210_rng.c | 1 + hw/misc/grlib_ahb_apb_pnp.c | 12 + hw/misc/imx25_ccm.c | 1 + hw/misc/imx2_wdt.c | 2 +- hw/misc/imx31_ccm.c | 1 + hw/misc/imx6_ccm.c | 1 + hw/misc/imx6_src.c | 5 +- hw/misc/imx6ul_ccm.c | 1 + hw/misc/imx7_ccm.c | 1 + hw/misc/imx7_gpr.c | 1 - hw/misc/imx7_snvs.c | 2 +- hw/misc/imx_rngc.c | 278 + hw/misc/iotkit-secctl.c | 4 +- hw/misc/iotkit-sysctl.c | 6 +- hw/misc/iotkit-sysinfo.c | 4 +- hw/misc/ivshmem.c | 49 +- hw/misc/mac_via.c | 1140 +++ hw/misc/macio/cuda.c | 7 +- hw/misc/macio/gpio.c | 3 +- hw/misc/macio/mac_dbdma.c | 3 +- hw/misc/macio/macio.c | 8 +- hw/misc/macio/pmu.c | 8 +- hw/misc/max111x.c | 5 +- hw/misc/milkymist-hpdmc.c | 2 +- hw/misc/milkymist-pfpu.c | 3 +- hw/misc/mips_cmgcr.c | 6 +- hw/misc/mips_cpc.c | 4 +- hw/misc/mips_itu.c | 3 +- hw/misc/mos6522.c | 96 +- hw/misc/mps2-fpgaio.c | 4 +- hw/misc/mps2-scc.c | 4 +- hw/misc/msf2-sysreg.c | 4 +- hw/misc/mst_fpga.c | 3 +- hw/misc/nrf51_rng.c | 5 +- hw/misc/omap_clk.c | 2 + hw/misc/omap_gpmc.c | 3 +- hw/misc/omap_l4.c | 3 +- hw/misc/omap_sdrc.c | 1 - hw/misc/pc-testdev.c | 5 +- hw/misc/pca9552.c | 92 +- hw/misc/pci-testdev.c | 4 +- hw/misc/puv3_pm.c | 1 - hw/misc/pvpanic.c | 16 +- hw/misc/sga.c | 1 - hw/misc/slavio_misc.c | 4 +- hw/misc/stm32f4xx_exti.c | 188 + hw/misc/stm32f4xx_syscfg.c | 171 + hw/misc/tmp105.c | 3 +- hw/misc/tmp421.c | 6 +- hw/misc/trace-events | 65 +- hw/misc/tz-mpc.c | 5 +- hw/misc/tz-msc.c | 5 +- hw/misc/tz-ppc.c | 5 +- hw/misc/unimp.c | 3 +- hw/misc/vmcoreinfo.c | 6 + hw/misc/zynq-xadc.c | 4 +- hw/misc/zynq_slcr.c | 476 +- hw/moxie/moxiesim.c | 7 +- hw/net/Kconfig | 17 + hw/net/Makefile.objs | 10 +- hw/net/allwinner-sun8i-emac.c | 867 ++ hw/net/allwinner_emac.c | 7 +- hw/net/cadence_gem.c | 54 +- hw/net/can/can_kvaser_pci.c | 4 +- hw/net/can/can_mioe3680_pci.c | 4 +- hw/net/can/can_pcm3680_pci.c | 4 +- hw/net/can/can_sja1000.c | 16 +- hw/net/can/can_sja1000.h | 3 +- hw/net/dp8393x.c | 364 +- hw/net/e1000.c | 15 +- hw/net/e1000e.c | 9 +- hw/net/e1000e_core.c | 26 +- hw/net/e1000e_core.h | 2 +- hw/net/e1000x_common.c | 1 - hw/net/eepro100.c | 11 +- hw/net/etraxfs_eth.c | 46 +- hw/net/fsl_etsec/etsec.c | 13 +- hw/net/fsl_etsec/etsec.h | 2 - hw/net/ftgmac100.c | 185 +- hw/net/i82596.c | 755 ++ hw/net/i82596.h | 55 + hw/net/imx_fec.c | 24 +- hw/net/lan9118.c | 17 +- hw/net/lance.c | 9 +- hw/net/lasi_i82596.c | 189 + hw/net/mcf_fec.c | 4 +- hw/net/milkymist-minimac2.c | 6 +- hw/net/mipsnet.c | 46 +- hw/net/ne2000-isa.c | 4 +- hw/net/ne2000-pci.c | 6 +- hw/net/ne2000.c | 4 +- hw/net/ne2000.h | 1 - hw/net/net_rx_pkt.c | 44 +- hw/net/net_rx_pkt.h | 6 +- hw/net/opencores_eth.c | 11 +- hw/net/pcnet-pci.c | 7 +- hw/net/pcnet.c | 5 +- hw/net/pcnet.h | 3 +- hw/net/rocker/rocker.c | 20 +- hw/net/rocker/rocker_desc.c | 1 - hw/net/rtl8139.c | 27 +- hw/net/smc91c111.c | 15 +- hw/net/spapr_llan.c | 12 +- hw/net/stellaris_enet.c | 5 +- hw/net/sungem.c | 10 +- hw/net/sunhme.c | 9 +- hw/net/trace-events | 41 + hw/net/tulip.c | 1047 +++ hw/net/tulip.h | 267 + hw/net/vhost_net.c | 4 +- hw/net/virtio-net.c | 384 +- hw/net/vmxnet3.c | 59 +- hw/net/xen_nic.c | 1 - hw/net/xgmac.c | 5 +- hw/net/xilinx_axienet.c | 23 +- hw/net/xilinx_ethlite.c | 7 +- hw/nios2/10m50_devboard.c | 4 +- hw/nios2/boot.c | 6 +- hw/nios2/boot.h | 1 - hw/nios2/cpu_pic.c | 1 + hw/nios2/generic_nommu.c | 2 - hw/nubus/Kconfig | 2 + hw/nubus/Makefile.objs | 4 + hw/nubus/mac-nubus-bridge.c | 45 + hw/nubus/nubus-bridge.c | 34 + hw/nubus/nubus-bus.c | 111 + hw/nubus/nubus-device.c | 215 + hw/nvram/Kconfig | 8 + hw/nvram/Makefile.objs | 6 +- hw/nvram/chrp_nvram.c | 1 - hw/nvram/ds1225y.c | 4 +- hw/nvram/eeprom93xx.c | 9 +- hw/nvram/eeprom_at24c.c | 4 +- hw/nvram/fw_cfg.c | 150 +- hw/nvram/mac_nvram.c | 5 +- hw/nvram/nrf51_nvm.c | 4 +- hw/nvram/spapr_nvram.c | 10 +- hw/openrisc/cputimer.c | 2 +- hw/openrisc/openrisc_sim.c | 8 +- hw/openrisc/pic_cpu.c | 2 +- hw/pci-bridge/gen_pcie_root_port.c | 4 +- hw/pci-bridge/i82801b11.c | 1 + hw/pci-bridge/ioh3420.c | 1 + hw/pci-bridge/pci_bridge_dev.c | 3 +- hw/pci-bridge/pci_expander_bridge.c | 14 +- hw/pci-bridge/pcie_pci_bridge.c | 3 +- hw/pci-bridge/pcie_root_port.c | 5 +- hw/pci-bridge/xio3130_downstream.c | 6 +- hw/pci-bridge/xio3130_upstream.c | 1 + hw/pci-host/Kconfig | 11 +- hw/pci-host/Makefile.objs | 5 +- hw/pci-host/bonito.c | 67 +- hw/pci-host/designware.c | 5 +- hw/pci-host/gpex.c | 4 +- hw/pci-host/grackle.c | 4 +- hw/pci-host/i440fx.c | 419 + hw/pci-host/pam.c | 1 - hw/pci-host/piix.c | 939 --- hw/pci-host/pnv_phb3.c | 1197 +++ hw/pci-host/pnv_phb3_msi.c | 349 + hw/pci-host/pnv_phb3_pbcq.c | 359 + hw/pci-host/pnv_phb4.c | 1439 ++++ hw/pci-host/pnv_phb4_pec.c | 595 ++ hw/pci-host/ppce500.c | 6 +- hw/pci-host/prep.c | 16 +- hw/pci-host/q35.c | 106 +- hw/pci-host/sabre.c | 6 +- hw/pci-host/uninorth.c | 5 +- hw/pci-host/versatile.c | 5 +- hw/pci-host/xen_igd_pt.c | 120 + hw/pci-host/xilinx-pcie.c | 4 +- hw/pci/msix.c | 3 +- hw/pci/pci-stub.c | 27 + hw/pci/pci.c | 96 +- hw/pci/pci_bridge.c | 2 +- hw/pci/pci_host.c | 25 +- hw/pci/pcie.c | 17 +- hw/pci/pcie_aer.c | 1 + hw/pci/pcie_host.c | 1 - hw/pci/pcie_port.c | 6 +- hw/pci/shpc.c | 1 + hw/pcmcia/Makefile.objs | 2 +- hw/pcmcia/pcmcia.c | 1 - hw/pcmcia/pxa2xx.c | 2 +- hw/ppc/Kconfig | 22 + hw/ppc/Makefile.objs | 11 +- hw/ppc/e500.c | 34 +- hw/ppc/e500plat.c | 2 +- hw/ppc/mac.h | 1 - hw/ppc/mac_newworld.c | 19 +- hw/ppc/mac_oldworld.c | 19 +- hw/ppc/mpc8544_guts.c | 3 +- hw/ppc/mpc8544ds.c | 2 +- hw/ppc/pnv.c | 988 ++- hw/ppc/pnv_bmc.c | 170 +- hw/ppc/pnv_core.c | 72 +- hw/ppc/pnv_homer.c | 382 + hw/ppc/pnv_lpc.c | 92 +- hw/ppc/pnv_occ.c | 98 +- hw/ppc/pnv_pnor.c | 141 + hw/ppc/pnv_psi.c | 122 +- hw/ppc/pnv_xscom.c | 74 +- hw/ppc/ppc.c | 113 +- hw/ppc/ppc405_boards.c | 65 +- hw/ppc/ppc405_uc.c | 5 +- hw/ppc/ppc440_bamboo.c | 24 +- hw/ppc/ppc440_pcix.c | 2 +- hw/ppc/ppc440_uc.c | 14 +- hw/ppc/ppc4xx_devs.c | 71 +- hw/ppc/ppc4xx_pci.c | 4 +- hw/ppc/ppc_booke.c | 5 +- hw/ppc/ppce500_spin.c | 1 - hw/ppc/prep.c | 393 +- hw/ppc/prep_systemio.c | 7 +- hw/ppc/rs6000_mc.c | 19 +- hw/ppc/sam460ex.c | 12 +- hw/ppc/spapr.c | 1511 ++-- hw/ppc/spapr_caps.c | 90 +- hw/ppc/spapr_cpu_core.c | 82 +- hw/ppc/spapr_drc.c | 84 +- hw/ppc/spapr_events.c | 329 +- hw/ppc/spapr_hcall.c | 299 +- hw/ppc/spapr_iommu.c | 17 +- hw/ppc/spapr_irq.c | 912 +-- hw/ppc/spapr_nvdimm.c | 478 ++ hw/ppc/spapr_ovec.c | 35 +- hw/ppc/spapr_pci.c | 150 +- hw/ppc/spapr_pci_nvlink2.c | 50 +- hw/ppc/spapr_rng.c | 5 +- hw/ppc/spapr_rtas.c | 209 +- hw/ppc/spapr_rtc.c | 1 + hw/ppc/spapr_tpm_proxy.c | 178 + hw/ppc/spapr_vio.c | 19 +- hw/ppc/trace-events | 8 +- hw/ppc/virtex_ml507.c | 25 +- hw/rdma/rdma_backend.c | 58 +- hw/rdma/rdma_backend.h | 2 +- hw/rdma/rdma_rm.c | 10 +- hw/rdma/vmw/pvrdma_cmd.c | 1 - hw/rdma/vmw/pvrdma_dev_ring.c | 5 +- hw/rdma/vmw/pvrdma_main.c | 14 +- hw/rdma/vmw/pvrdma_qp_ops.c | 4 +- hw/riscv/Kconfig | 4 + hw/riscv/Makefile.objs | 4 +- hw/riscv/boot.c | 42 +- hw/riscv/riscv_hart.c | 38 +- hw/riscv/riscv_htif.c | 2 +- hw/riscv/sifive_clint.c | 9 +- hw/riscv/sifive_e.c | 42 +- hw/riscv/sifive_e_prci.c | 124 + hw/riscv/sifive_gpio.c | 2 + hw/riscv/sifive_plic.c | 15 +- hw/riscv/sifive_prci.c | 123 - hw/riscv/sifive_test.c | 11 +- hw/riscv/sifive_u.c | 362 +- hw/riscv/sifive_u_otp.c | 191 + hw/riscv/sifive_u_prci.c | 169 + hw/riscv/sifive_uart.c | 14 +- hw/riscv/spike.c | 22 +- hw/riscv/virt.c | 220 +- hw/rtc/Kconfig | 27 + hw/rtc/Makefile.objs | 15 + hw/rtc/allwinner-rtc.c | 411 + hw/rtc/aspeed_rtc.c | 181 + hw/rtc/ds1338.c | 241 + hw/rtc/exynos4210_rtc.c | 608 ++ hw/rtc/goldfish_rtc.c | 285 + hw/rtc/m41t80.c | 119 + hw/rtc/m48t59-internal.h | 75 + hw/rtc/m48t59-isa.c | 184 + hw/rtc/m48t59.c | 722 ++ hw/rtc/mc146818rtc.c | 1033 +++ hw/rtc/pl031.c | 340 + hw/rtc/sun4v-rtc.c | 95 + hw/rtc/trace-events | 33 + hw/rtc/twl92230.c | 897 +++ hw/rtc/xlnx-zynqmp-rtc.c | 275 + hw/s390x/3270-ccw.c | 4 +- hw/s390x/ap-device.c | 1 - hw/s390x/ccw-device.c | 3 +- hw/s390x/css-bridge.c | 3 +- hw/s390x/css.c | 14 +- hw/s390x/event-facility.c | 46 +- hw/s390x/ipl.c | 51 +- hw/s390x/ipl.h | 20 +- hw/s390x/s390-ccw.c | 1 + hw/s390x/s390-pci-bus.c | 12 +- hw/s390x/s390-pci-inst.c | 71 +- hw/s390x/s390-skeys.c | 7 +- hw/s390x/s390-stattrib-kvm.c | 4 +- hw/s390x/s390-stattrib.c | 6 +- hw/s390x/s390-virtio-ccw.c | 107 +- hw/s390x/sclp.c | 70 +- hw/s390x/sclpcpu.c | 1 - hw/s390x/sclpquiesce.c | 4 +- hw/s390x/tod-kvm.c | 2 +- hw/s390x/tod.c | 3 +- hw/s390x/vhost-vsock-ccw.c | 3 +- hw/s390x/virtio-ccw-9p.c | 3 +- hw/s390x/virtio-ccw-balloon.c | 3 +- hw/s390x/virtio-ccw-blk.c | 3 +- hw/s390x/virtio-ccw-crypto.c | 3 +- hw/s390x/virtio-ccw-gpu.c | 3 +- hw/s390x/virtio-ccw-input.c | 3 +- hw/s390x/virtio-ccw-net.c | 3 +- hw/s390x/virtio-ccw-rng.c | 3 +- hw/s390x/virtio-ccw-scsi.c | 5 +- hw/s390x/virtio-ccw-serial.c | 3 +- hw/s390x/virtio-ccw.c | 11 +- hw/scsi/Kconfig | 1 + hw/scsi/esp-pci.c | 2 + hw/scsi/esp.c | 338 +- hw/scsi/lsi53c895a.c | 44 +- hw/scsi/megasas.c | 5 +- hw/scsi/mptconfig.c | 1 - hw/scsi/mptendian.c | 1 - hw/scsi/mptsas.c | 7 +- hw/scsi/scsi-bus.c | 37 +- hw/scsi/scsi-disk.c | 63 +- hw/scsi/scsi-generic.c | 4 +- hw/scsi/spapr_vscsi.c | 78 +- hw/scsi/trace-events | 3 +- hw/scsi/vhost-scsi.c | 7 +- hw/scsi/vhost-user-scsi.c | 30 +- hw/scsi/viosrp.h | 3 +- hw/scsi/virtio-scsi.c | 34 +- hw/scsi/vmw_pvscsi.c | 20 +- hw/sd/Makefile.objs | 10 +- hw/sd/allwinner-sdhost.c | 854 ++ hw/sd/aspeed_sdhci.c | 205 + hw/sd/bcm2835_sdhost.c | 2 + hw/sd/milkymist-memcard.c | 4 +- hw/sd/omap_mmc.c | 5 +- hw/sd/pl181.c | 4 +- hw/sd/pxa2xx_mmci.c | 4 +- hw/sd/sd.c | 6 +- hw/sd/sdhci-pci.c | 4 +- hw/sd/sdhci.c | 91 +- hw/sd/ssi-sd.c | 18 +- hw/sd/trace-events | 9 +- hw/semihosting/config.c | 1 + hw/semihosting/console.c | 79 + hw/sh4/r2d.c | 7 +- hw/sh4/sh7750.c | 3 +- hw/sh4/sh7750_regnames.c | 1 - hw/sh4/sh_pci.c | 12 +- hw/sh4/shix.c | 6 +- hw/smbios/smbios.c | 2 - hw/smbios/smbios_type_38.c | 3 + hw/sparc/Kconfig | 1 + hw/sparc/leon3.c | 31 +- hw/sparc/sun4m.c | 90 +- hw/sparc/sun4m_iommu.c | 5 +- hw/sparc64/Kconfig | 2 + hw/sparc64/niagara.c | 37 +- hw/sparc64/sparc64.c | 1 + hw/sparc64/sun4u.c | 26 +- hw/ssi/Makefile.objs | 4 +- hw/ssi/aspeed_smc.c | 644 +- hw/ssi/imx_spi.c | 3 +- hw/ssi/mss-spi.c | 2 + hw/ssi/omap_spi.c | 2 + hw/ssi/pl022.c | 2 + hw/ssi/ssi.c | 1 + hw/ssi/stm32f2xx_spi.c | 1 + hw/ssi/trace-events | 11 + hw/ssi/xilinx_spi.c | 6 +- hw/ssi/xilinx_spips.c | 32 +- hw/timer/Kconfig | 28 +- hw/timer/Makefile.objs | 36 +- hw/timer/a9gtimer.c | 8 +- hw/timer/allwinner-a10-pit.c | 17 +- hw/timer/altera_timer.c | 17 +- hw/timer/arm_mptimer.c | 22 +- hw/timer/arm_timer.c | 24 +- hw/timer/armv7m_systick.c | 8 + hw/timer/aspeed_rtc.c | 180 - hw/timer/aspeed_timer.c | 254 +- hw/timer/bcm2835_systmr.c | 163 + hw/timer/cadence_ttc.c | 18 +- hw/timer/cmsdk-apb-dualtimer.c | 19 +- hw/timer/cmsdk-apb-timer.c | 19 +- hw/timer/digic-timer.c | 17 +- hw/timer/ds1338.c | 240 - hw/timer/etraxfs_timer.c | 26 +- hw/timer/exynos4210_mct.c | 113 +- hw/timer/exynos4210_pwm.c | 19 +- hw/timer/exynos4210_rtc.c | 597 -- hw/timer/grlib_gptimer.c | 32 +- hw/timer/hpet.c | 10 +- hw/timer/i8254.c | 4 +- hw/timer/i8254_common.c | 41 +- hw/timer/imx_epit.c | 34 +- hw/timer/imx_gpt.c | 23 +- hw/timer/lm32_timer.c | 21 +- hw/timer/m41t80.c | 119 - hw/timer/m48t59-internal.h | 80 - hw/timer/m48t59-isa.c | 183 - hw/timer/m48t59.c | 720 -- hw/timer/mc146818rtc.c | 1078 --- hw/timer/milkymist-sysctl.c | 34 +- hw/timer/mips_gictimer.c | 1 - hw/timer/mss-timer.c | 16 +- hw/timer/nrf51_timer.c | 2 + hw/timer/omap_gptimer.c | 3 +- hw/timer/omap_synctimer.c | 1 - hw/timer/pl031.c | 341 - hw/timer/puv3_ost.c | 10 +- hw/timer/pxa2xx_timer.c | 10 +- hw/timer/sh_timer.c | 14 +- hw/timer/slavio_timer.c | 37 +- hw/timer/stm32f2xx_timer.c | 10 +- hw/timer/sun4v-rtc.c | 96 - hw/timer/trace-events | 21 +- hw/timer/twl92230.c | 896 --- hw/timer/xilinx_timer.c | 17 +- hw/timer/xlnx-zynqmp-rtc.c | 274 - hw/tpm/Kconfig | 18 +- hw/tpm/Makefile.objs | 5 +- hw/tpm/tpm_crb.c | 4 +- hw/tpm/tpm_emulator.c | 13 +- hw/tpm/tpm_passthrough.c | 1 - hw/tpm/tpm_ppi.c | 4 +- hw/tpm/tpm_spapr.c | 429 + hw/tpm/tpm_tis.c | 1048 --- hw/tpm/tpm_tis.h | 91 + hw/tpm/tpm_tis_common.c | 872 +++ hw/tpm/tpm_tis_isa.c | 170 + hw/tpm/tpm_tis_sysbus.c | 159 + hw/tpm/tpm_util.c | 27 +- hw/tpm/tpm_util.h | 3 + hw/tpm/trace-events | 20 +- hw/tricore/tricore_testboard.c | 5 +- hw/unicore32/puv3.c | 3 +- hw/usb/Kconfig | 6 +- hw/usb/Makefile.objs | 9 +- hw/usb/bus.c | 6 +- hw/usb/ccid-card-emulated.c | 3 +- hw/usb/ccid-card-passthru.c | 11 +- hw/usb/ccid.h | 2 +- hw/usb/dev-audio.c | 465 +- hw/usb/dev-bluetooth.c | 580 -- hw/usb/dev-hid.c | 9 +- hw/usb/dev-hub.c | 4 +- hw/usb/dev-mtp.c | 42 +- hw/usb/dev-network.c | 8 +- hw/usb/dev-serial.c | 113 +- hw/usb/dev-smartcard-reader.c | 10 +- hw/usb/dev-storage.c | 6 +- hw/usb/dev-uas.c | 7 +- hw/usb/dev-wacom.c | 2 +- hw/usb/hcd-ehci-pci.c | 4 +- hw/usb/hcd-ehci-sysbus.c | 28 +- hw/usb/hcd-ehci.c | 10 +- hw/usb/hcd-ehci.h | 3 +- hw/usb/hcd-ohci-pci.c | 5 +- hw/usb/hcd-ohci.c | 21 +- hw/usb/hcd-ohci.h | 16 + hw/usb/hcd-uhci.c | 7 +- hw/usb/hcd-xhci-nec.c | 4 +- hw/usb/hcd-xhci.c | 26 +- hw/usb/host-libusb.c | 56 +- hw/usb/imx-usb-phy.c | 225 + hw/usb/libhw.c | 1 - hw/usb/quirks.c | 4 +- hw/usb/quirks.h | 22 +- hw/usb/redirect.c | 116 +- hw/usb/trace-events | 1 + hw/usb/tusb6010.c | 1 + hw/usb/xen-usb.c | 11 +- hw/vfio/Kconfig | 6 + hw/vfio/Makefile.objs | 1 + hw/vfio/amd-xgbe.c | 1 + hw/vfio/ap.c | 15 +- hw/vfio/calxeda-xgmac.c | 1 + hw/vfio/ccw.c | 6 +- hw/vfio/common.c | 58 +- hw/vfio/display.c | 2 +- hw/vfio/igd.c | 616 ++ hw/vfio/pci-quirks.c | 623 +- hw/vfio/pci.c | 108 +- hw/vfio/pci.h | 19 + hw/vfio/platform.c | 7 +- hw/vfio/spapr.c | 17 +- hw/virtio/Kconfig | 8 + hw/virtio/Makefile.objs | 8 +- hw/virtio/trace-events | 20 + hw/virtio/vhost-backend.c | 1 + hw/virtio/vhost-scsi-pci.c | 3 +- hw/virtio/vhost-user-blk-pci.c | 3 +- hw/virtio/vhost-user-fs-pci.c | 86 + hw/virtio/vhost-user-fs.c | 310 + hw/virtio/vhost-user-scsi-pci.c | 3 +- hw/virtio/vhost-user.c | 21 +- hw/virtio/vhost-vsock-pci.c | 3 +- hw/virtio/vhost-vsock.c | 23 +- hw/virtio/vhost.c | 83 +- hw/virtio/virtio-9p-pci.c | 3 +- hw/virtio/virtio-balloon-pci.c | 3 +- hw/virtio/virtio-balloon.c | 10 +- hw/virtio/virtio-blk-pci.c | 3 +- hw/virtio/virtio-bus.c | 6 +- hw/virtio/virtio-crypto-pci.c | 3 +- hw/virtio/virtio-crypto.c | 8 +- hw/virtio/virtio-input-pci.c | 3 +- hw/virtio/virtio-iommu-pci.c | 104 + hw/virtio/virtio-iommu.c | 893 +++ hw/virtio/virtio-mmio.c | 380 +- hw/virtio/virtio-net-pci.c | 3 +- hw/virtio/virtio-pci.c | 45 +- hw/virtio/virtio-pci.h | 4 + hw/virtio/virtio-pmem.c | 6 +- hw/virtio/virtio-rng.c | 26 +- hw/virtio/virtio-scsi-pci.c | 3 +- hw/virtio/virtio-serial-pci.c | 3 +- hw/virtio/virtio.c | 1327 +++- hw/watchdog/cmsdk-apb-watchdog.c | 18 +- hw/watchdog/watchdog.c | 2 +- hw/watchdog/wdt_aspeed.c | 186 +- hw/watchdog/wdt_diag288.c | 2 + hw/watchdog/wdt_i6300esb.c | 2 +- hw/watchdog/wdt_ib700.c | 2 +- hw/xen/xen-bus-helper.c | 1 - hw/xen/xen-bus.c | 4 +- hw/xen/xen-common.c | 26 + hw/xen/xen-legacy-backend.c | 7 +- hw/xen/xen_devconfig.c | 1 + hw/xen/xen_pt.c | 5 +- hw/xen/xen_pt.h | 2 +- hw/xen/xen_pt_graphics.c | 2 +- hw/xen/xen_pt_load_rom.c | 6 - hw/xen/xen_pvdev.c | 1 + hw/xenpv/xen_machine_pv.c | 4 +- hw/xtensa/Kconfig | 6 + hw/xtensa/Makefile.objs | 1 + hw/xtensa/mx_pic.c | 2 +- hw/xtensa/pic_cpu.c | 2 +- hw/xtensa/sim.c | 42 +- hw/xtensa/virt.c | 135 + hw/xtensa/xtensa_memory.c | 2 - hw/xtensa/xtensa_memory.h | 1 - hw/xtensa/xtensa_sim.h | 34 + hw/xtensa/xtfpga.c | 7 +- include/authz/listfile.h | 1 - include/block/accounting.h | 2 + include/block/aio-wait.h | 22 + include/block/aio.h | 142 +- include/block/aio_task.h | 54 + include/block/block-copy.h | 47 + include/block/block-hmp-cmds.h | 54 + include/block/block.h | 45 +- include/block/block_int.h | 123 +- include/block/blockjob_int.h | 19 - include/block/dirty-bitmap.h | 51 +- include/block/nbd.h | 23 +- include/block/nvme.h | 21 +- include/block/qapi.h | 4 +- include/block/raw-aio.h | 14 + include/block/snapshot.h | 2 +- include/block/write-threshold.h | 2 + include/chardev/char-fe.h | 3 +- include/chardev/char-io.h | 1 + include/chardev/char-mux.h | 2 +- include/chardev/char.h | 6 +- include/crypto/block.h | 24 + include/crypto/cipher.h | 2 + include/crypto/hmac.h | 2 + include/crypto/ivgen.h | 2 + include/crypto/tlssession.h | 4 +- include/disas/dis-asm.h | 8 + include/disas/disas.h | 3 + include/elf.h | 1 + include/exec/cpu-all.h | 64 +- include/exec/cpu-common.h | 15 +- include/exec/cpu-defs.h | 6 +- include/exec/cpu_ldst.h | 430 +- include/exec/cpu_ldst_template.h | 210 - include/exec/cpu_ldst_useronly_template.h | 157 - include/exec/cputlb.h | 3 + include/exec/exec-all.h | 104 +- include/exec/gdbstub.h | 80 +- include/exec/gen-icount.h | 44 +- include/exec/helper-gen.h | 14 + include/exec/helper-head.h | 2 + include/exec/helper-proto.h | 7 + include/exec/helper-tcg.h | 8 + include/exec/ioport.h | 2 + include/exec/log.h | 36 +- include/exec/memattrs.h | 2 + include/exec/memop.h | 134 + include/exec/memory-internal.h | 67 +- include/exec/memory.h | 355 +- include/exec/plugin-gen.h | 71 + include/exec/poison.h | 2 + include/exec/ram_addr.h | 195 +- include/exec/ramblock.h | 64 + include/exec/softmmu-semi.h | 2 + include/exec/tb-hash.h | 2 + include/exec/translator.h | 40 +- include/exec/user/thunk.h | 2 + include/fpu/softfloat-helpers.h | 132 + include/fpu/softfloat-macros.h | 8 +- include/fpu/softfloat.h | 65 +- include/glib-compat.h | 42 +- include/hw/acpi/acpi-defs.h | 16 +- include/hw/acpi/acpi.h | 2 - include/hw/acpi/acpi_dev_interface.h | 3 + include/hw/acpi/aml-build.h | 21 +- include/hw/acpi/generic_event_device.h | 103 + include/hw/acpi/ipmi.h | 2 +- include/hw/acpi/memory_hotplug.h | 9 +- include/hw/acpi/pci.h | 3 + include/hw/acpi/piix4.h | 6 - include/hw/acpi/tco.h | 2 + include/hw/acpi/vmgenid.h | 2 +- include/hw/adc/stm32f2xx_adc.h | 2 + include/hw/arm/allwinner-a10.h | 20 +- include/hw/arm/allwinner-h3.h | 161 + include/hw/arm/aspeed.h | 25 +- include/hw/arm/aspeed_soc.h | 45 +- include/hw/arm/bcm2835_peripherals.h | 21 +- include/hw/arm/bcm2836.h | 8 +- include/hw/arm/boot.h | 13 +- include/hw/arm/exynos4210.h | 7 +- include/hw/arm/fsl-imx25.h | 24 + include/hw/arm/fsl-imx31.h | 1 + include/hw/arm/fsl-imx6.h | 9 + include/hw/arm/fsl-imx6ul.h | 16 +- include/hw/arm/fsl-imx7.h | 1 - include/hw/arm/omap.h | 63 +- include/hw/arm/raspi_platform.h | 25 +- include/hw/arm/sharpsl.h | 3 + include/hw/arm/smmu-common.h | 2 +- include/hw/arm/soc_dma.h | 3 +- include/hw/arm/stm32f405_soc.h | 73 + include/hw/arm/virt.h | 23 +- include/hw/arm/xlnx-versal.h | 9 + include/hw/arm/xlnx-zynqmp.h | 4 +- include/hw/audio/pcspk.h | 2 +- include/hw/audio/wm8750.h | 1 - include/hw/block/block.h | 22 +- include/hw/block/fdc.h | 1 + include/hw/block/flash.h | 2 +- include/hw/block/swim.h | 76 + include/hw/boards.h | 103 +- include/hw/bt.h | 2178 ------ include/hw/char/bcm2835_aux.h | 3 +- include/hw/char/cadence_uart.h | 1 + include/hw/char/cmsdk-apb-uart.h | 1 + include/hw/char/escc.h | 2 + include/hw/char/lm32_juart.h | 2 +- include/hw/char/parallel.h | 1 - include/hw/char/pl011.h | 1 + include/hw/char/serial.h | 45 +- include/hw/char/stm32f2xx_usart.h | 1 - include/hw/char/xilinx_uartlite.h | 3 + include/hw/core/cpu.h | 1157 +++ include/hw/core/generic-loader.h | 1 + include/hw/core/split-irq.h | 1 - include/hw/cpu/cluster.h | 2 +- include/hw/cpu/core.h | 2 +- include/hw/cris/etraxfs.h | 22 +- include/hw/cris/etraxfs_dma.h | 2 + include/hw/display/bcm2835_fb.h | 3 +- include/hw/display/blizzard.h | 1 - include/hw/display/edid.h | 2 +- include/hw/display/i2c-ddc.h | 1 + include/hw/display/macfb.h | 64 + include/hw/display/milkymist_tmu2.h | 3 +- include/hw/display/tc6393xb.h | 3 - include/hw/display/vga.h | 2 +- include/hw/dma/bcm2835_dma.h | 4 +- include/hw/dma/i8257.h | 1 - include/hw/elf_ops.h | 130 +- include/hw/empty_slot.h | 2 + include/hw/gpio/aspeed_gpio.h | 100 + include/hw/gpio/bcm2835_gpio.h | 1 + include/hw/hw.h | 9 - include/hw/i2c/aspeed_i2c.h | 38 +- include/hw/i2c/i2c.h | 2 +- include/hw/i2c/pm_smbus.h | 1 + include/hw/i2c/smbus_eeprom.h | 1 + include/hw/i386/apic_internal.h | 1 + include/hw/i386/ich9.h | 2 - include/hw/i386/intel_iommu.h | 9 +- include/hw/i386/ioapic_internal.h | 1 - include/hw/i386/microvm.h | 71 + include/hw/i386/pc.h | 130 +- include/hw/i386/topology.h | 215 +- include/hw/i386/x86.h | 136 + include/hw/ide.h | 9 - include/hw/ide/internal.h | 9 +- include/hw/ide/pci.h | 3 +- include/hw/input/adb.h | 2 +- include/hw/input/gamepad.h | 1 - include/hw/input/hid.h | 1 - include/hw/input/i8042.h | 5 +- include/hw/input/lasips2.h | 16 + include/hw/input/ps2.h | 1 + include/hw/input/tsc2xxx.h | 1 - include/hw/intc/allwinner-a10-pic.h | 2 + include/hw/intc/arm_gic.h | 2 + include/hw/intc/arm_gic_common.h | 1 + include/hw/intc/bcm2835_ic.h | 4 +- include/hw/intc/bcm2836_control.h | 3 +- include/hw/intc/heathrow_pic.h | 2 + include/hw/intc/i8259.h | 12 + include/hw/intc/mips_gic.h | 1 + include/hw/ipack/ipack.h | 2 +- include/hw/ipmi/ipmi.h | 51 +- include/hw/ipmi/ipmi_bt.h | 73 + include/hw/ipmi/ipmi_kcs.h | 76 + include/hw/irq.h | 9 - include/hw/isa/apm.h | 1 - include/hw/isa/i8259_internal.h | 3 +- include/hw/isa/isa.h | 13 +- include/hw/isa/superio.h | 2 +- include/hw/isa/vt82c686.h | 1 + include/hw/loader.h | 27 +- include/hw/m68k/next-cube.h | 47 + include/hw/mem/memory-device.h | 3 +- include/hw/mem/nvdimm.h | 7 + include/hw/mem/pc-dimm.h | 4 +- include/hw/mips/cps.h | 1 + include/hw/mips/mips.h | 1 - include/hw/misc/allwinner-cpucfg.h | 52 + include/hw/misc/allwinner-h3-ccu.h | 66 + include/hw/misc/allwinner-h3-dramc.h | 106 + include/hw/misc/allwinner-h3-sysctrl.h | 67 + include/hw/misc/allwinner-sid.h | 60 + include/hw/misc/aspeed_scu.h | 28 +- include/hw/misc/aspeed_sdmc.h | 21 +- include/hw/misc/auxbus.h | 3 +- include/hw/misc/bcm2835_mbox.h | 4 +- include/hw/misc/bcm2835_mbox_defs.h | 4 +- include/hw/misc/bcm2835_property.h | 4 +- include/hw/misc/bcm2835_thermal.h | 27 + include/hw/misc/cbus.h | 1 - include/hw/misc/imx_rngc.h | 35 + include/hw/misc/mac_via.h | 118 + include/hw/misc/macio/cuda.h | 2 + include/hw/misc/macio/gpio.h | 3 + include/hw/misc/macio/macio.h | 3 + include/hw/misc/macio/pmu.h | 3 + include/hw/misc/mips_cmgcr.h | 2 + include/hw/misc/mips_cpc.h | 2 + include/hw/misc/mos6522.h | 2 - include/hw/misc/pvpanic.h | 3 + include/hw/misc/stm32f2xx_syscfg.h | 1 - include/hw/misc/stm32f4xx_exti.h | 60 + include/hw/misc/stm32f4xx_syscfg.h | 61 + include/hw/misc/unimp.h | 1 + include/hw/misc/vmcoreinfo.h | 2 +- include/hw/net/allwinner-sun8i-emac.h | 99 + include/hw/net/allwinner_emac.h | 1 + include/hw/net/ftgmac100.h | 17 + include/hw/net/lan9118.h | 1 - include/hw/net/lance.h | 1 + include/hw/net/lasi_82596.h | 29 + include/hw/net/ne2000-isa.h | 3 +- include/hw/net/smc91c111.h | 1 - include/hw/nmi.h | 2 +- include/hw/nubus/mac-nubus-bridge.h | 24 + include/hw/nubus/nubus.h | 69 + include/hw/nvram/chrp_nvram.h | 2 + include/hw/nvram/fw_cfg.h | 48 + include/hw/or-irq.h | 3 +- include/hw/pci-host/designware.h | 1 - include/hw/pci-host/gpex.h | 1 - include/hw/pci-host/i440fx.h | 51 + include/hw/pci-host/pnv_phb3.h | 164 + include/hw/pci-host/pnv_phb3_regs.h | 450 ++ include/hw/pci-host/pnv_phb4.h | 230 + include/hw/pci-host/pnv_phb4_regs.h | 553 ++ include/hw/pci-host/q35.h | 19 +- include/hw/pci-host/sabre.h | 2 + include/hw/pci-host/spapr.h | 35 +- include/hw/pci-host/uninorth.h | 3 +- include/hw/pci-host/xilinx-pcie.h | 1 - include/hw/pci/pci.h | 9 +- include/hw/pci/pci_bridge.h | 2 +- include/hw/pci/pci_host.h | 4 +- include/hw/pci/pci_ids.h | 1 + include/hw/pci/pcie.h | 3 +- include/hw/pci/pcie_aer.h | 2 +- include/hw/pci/pcie_port.h | 4 + include/hw/pci/shpc.h | 1 + include/hw/pcmcia.h | 2 +- include/hw/ppc/openpic.h | 3 +- include/hw/ppc/pnv.h | 128 +- include/hw/ppc/pnv_core.h | 5 + include/hw/ppc/pnv_homer.h | 56 + include/hw/ppc/pnv_lpc.h | 6 +- include/hw/ppc/pnv_occ.h | 7 + include/hw/ppc/pnv_pnor.h | 30 + include/hw/ppc/pnv_psi.h | 5 +- include/hw/ppc/pnv_xive.h | 13 +- include/hw/ppc/pnv_xscom.h | 78 +- include/hw/ppc/ppc.h | 8 +- include/hw/ppc/ppc4xx.h | 12 +- include/hw/ppc/spapr.h | 83 +- include/hw/ppc/spapr_cpu_core.h | 7 +- include/hw/ppc/spapr_drc.h | 18 +- include/hw/ppc/spapr_irq.h | 96 +- include/hw/ppc/spapr_nvdimm.h | 37 + include/hw/ppc/spapr_ovec.h | 9 +- include/hw/ppc/spapr_tpm_proxy.h | 31 + include/hw/ppc/spapr_vio.h | 13 +- include/hw/ppc/spapr_xive.h | 22 +- include/hw/ppc/xics.h | 40 +- include/hw/ppc/xics_spapr.h | 11 +- include/hw/ppc/xive.h | 93 +- include/hw/ppc/xive_regs.h | 64 +- include/hw/ptimer.h | 91 +- include/hw/qdev-core.h | 114 +- include/hw/qdev-properties.h | 43 +- include/hw/qdev.h | 8 - include/hw/registerfields.h | 30 + include/hw/resettable.h | 247 + include/hw/riscv/boot.h | 6 +- include/hw/riscv/riscv_hart.h | 4 + include/hw/riscv/riscv_htif.h | 2 - include/hw/riscv/sifive_clint.h | 5 +- include/hw/riscv/sifive_cpu.h | 31 + include/hw/riscv/sifive_e.h | 8 +- include/hw/riscv/sifive_e_prci.h | 71 + include/hw/riscv/sifive_plic.h | 5 +- include/hw/riscv/sifive_prci.h | 69 - include/hw/riscv/sifive_test.h | 5 +- include/hw/riscv/sifive_u.h | 44 +- include/hw/riscv/sifive_u_otp.h | 80 + include/hw/riscv/sifive_u_prci.h | 91 + include/hw/riscv/sifive_uart.h | 3 + include/hw/riscv/spike.h | 7 +- include/hw/riscv/virt.h | 19 +- include/hw/rtc/allwinner-rtc.h | 134 + include/hw/rtc/aspeed_rtc.h | 27 + include/hw/rtc/goldfish_rtc.h | 46 + include/hw/rtc/m48t59.h | 57 + include/hw/rtc/mc146818rtc.h | 56 + include/hw/rtc/mc146818rtc_regs.h | 89 + include/hw/rtc/pl031.h | 47 + include/hw/rtc/sun4v-rtc.h | 19 + include/hw/rtc/xlnx-zynqmp-rtc.h | 92 + include/hw/s390x/ap-device.h | 3 + include/hw/s390x/css-bridge.h | 3 +- include/hw/s390x/css.h | 1 + include/hw/s390x/event-facility.h | 4 +- include/hw/s390x/sclp.h | 9 +- include/hw/s390x/storage-attributes.h | 2 +- include/hw/s390x/storage-keys.h | 2 +- include/hw/s390x/tod.h | 4 +- include/hw/scsi/esp.h | 15 + include/hw/scsi/scsi.h | 5 +- include/hw/sd/allwinner-sdhost.h | 135 + include/hw/sd/aspeed_sdhci.h | 35 + include/hw/sd/sd.h | 2 +- include/hw/sd/sdhci.h | 2 + include/hw/semihosting/console.h | 18 + include/hw/semihosting/semihost.h | 4 + include/hw/sh4/sh_intc.h | 2 +- include/hw/southbridge/piix.h | 73 + include/hw/sparc/grlib.h | 1 - include/hw/sparc/sparc64.h | 2 + include/hw/ssi/aspeed_smc.h | 13 + include/hw/ssi/ssi.h | 2 +- include/hw/ssi/stm32f2xx_spi.h | 1 - include/hw/ssi/xilinx_spips.h | 1 + include/hw/sysbus.h | 15 +- include/hw/timer/allwinner-a10-pit.h | 1 + include/hw/timer/aspeed_rtc.h | 31 - include/hw/timer/aspeed_timer.h | 18 + include/hw/timer/bcm2835_systmr.h | 33 + include/hw/timer/cmsdk-apb-timer.h | 1 + include/hw/timer/i8254.h | 3 +- include/hw/timer/i8254_internal.h | 2 +- include/hw/timer/m48t59.h | 31 - include/hw/timer/mc146818rtc.h | 14 - include/hw/timer/mc146818rtc_regs.h | 88 - include/hw/timer/mss-timer.h | 1 - include/hw/timer/pl031.h | 46 - include/hw/timer/stm32f2xx_timer.h | 1 - include/hw/timer/sun4v-rtc.h | 1 - include/hw/timer/xlnx-zynqmp-rtc.h | 91 - include/hw/tricore/tricore.h | 1 - include/hw/usb.h | 3 +- include/hw/usb/imx-usb-phy.h | 53 + include/hw/vfio/vfio-common.h | 2 +- include/hw/vfio/vfio-platform.h | 1 - include/hw/virtio/vhost-scsi-common.h | 1 - include/hw/virtio/vhost-scsi.h | 1 - include/hw/virtio/vhost-user-blk.h | 5 +- include/hw/virtio/vhost-user-fs.h | 46 + include/hw/virtio/vhost-user-scsi.h | 1 - include/hw/virtio/vhost-vsock.h | 2 + include/hw/virtio/vhost.h | 1 - include/hw/virtio/virtio-access.h | 1 + include/hw/virtio/virtio-blk.h | 2 + include/hw/virtio/virtio-bus.h | 3 +- include/hw/virtio/virtio-gpu-bswap.h | 1 + include/hw/virtio/virtio-iommu.h | 61 + include/hw/virtio/virtio-mmio.h | 73 + include/hw/virtio/virtio-net.h | 14 + include/hw/virtio/virtio-pmem.h | 2 +- include/hw/virtio/virtio-rng.h | 3 +- include/hw/virtio/virtio-scsi.h | 1 + include/hw/virtio/virtio-serial.h | 1 - include/hw/virtio/virtio.h | 54 +- include/hw/vmstate-if.h | 40 + include/hw/watchdog/wdt_aspeed.h | 21 +- include/hw/watchdog/wdt_diag288.h | 2 +- include/hw/xen/interface/io/blkif.h | 2 +- include/hw/xen/interface/io/ring.h | 13 +- include/hw/xen/xen-legacy-backend.h | 1 - include/hw/xen/xen.h | 1 - include/hw/xen/xen_common.h | 2 - include/hw/xtensa/mx_pic.h | 1 - include/io/channel-socket.h | 4 + include/io/net-listener.h | 2 + include/io/task.h | 2 +- include/libdecnumber/decNumberLocal.h | 1 + include/migration/cpu.h | 5 + include/migration/global_state.h | 1 - include/migration/misc.h | 2 +- include/migration/qemu-file-types.h | 4 + include/migration/register.h | 9 +- include/migration/vmstate.h | 76 +- include/monitor/hmp-target.h | 2 + include/monitor/hmp.h | 26 +- include/monitor/monitor.h | 9 +- include/monitor/qdev.h | 2 - include/net/can_emu.h | 3 +- include/net/filter.h | 3 + include/net/net.h | 5 +- include/qapi/error.h | 8 +- include/qapi/qmp/dispatch.h | 9 +- include/qapi/qmp/qstring.h | 1 + include/qapi/visitor.h | 8 +- include/qemu-common.h | 9 +- include/qemu/atomic.h | 6 + include/qemu/atomic128.h | 2 + include/qemu/bitops.h | 91 +- include/qemu/co-shared-resource.h | 71 + include/qemu/compiler.h | 33 + include/qemu/coroutine.h | 38 +- include/qemu/cpuid.h | 3 + include/qemu/cutils.h | 3 + include/qemu/dbus.h | 19 + include/qemu/error-report.h | 3 +- include/qemu/fifo8.h | 1 - include/qemu/hbitmap.h | 102 +- include/qemu/id.h | 1 + include/qemu/iov.h | 10 +- include/qemu/job.h | 26 +- include/qemu/lockable.h | 86 +- include/qemu/log.h | 51 +- include/qemu/main-loop.h | 8 + include/qemu/memfd.h | 4 + include/qemu/module.h | 8 +- include/qemu/nvdimm-utils.h | 7 + include/qemu/osdep.h | 32 +- include/qemu/plugin-memory.h | 40 + include/qemu/plugin.h | 255 + include/qemu/progress_meter.h | 58 + include/qemu/qemu-plugin.h | 412 + include/qemu/queue.h | 93 +- include/qemu/range.h | 2 - include/qemu/ratelimit.h | 2 + include/qemu/rcu.h | 25 + include/qemu/rcu_queue.h | 47 + include/qemu/selfmap.h | 44 + include/qemu/seqlock.h | 4 +- include/qemu/sockets.h | 2 +- include/qemu/thread-win32.h | 2 +- include/qemu/thread.h | 29 +- include/qemu/timer.h | 48 +- include/qemu/typedefs.h | 38 +- include/qom/cpu.h | 1129 --- include/qom/object.h | 184 +- include/qom/object_interfaces.h | 19 + include/standard-headers/asm-x86/bootparam.h | 9 +- include/standard-headers/asm-x86/kvm_para.h | 3 + .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +- include/standard-headers/drm/drm_fourcc.h | 52 +- include/standard-headers/linux/ethtool.h | 41 + include/standard-headers/linux/fuse.h | 891 +++ include/standard-headers/linux/input-event-codes.h | 77 + include/standard-headers/linux/input.h | 1 + include/standard-headers/linux/pci_regs.h | 23 +- include/standard-headers/linux/virtio_fs.h | 19 + include/standard-headers/linux/virtio_ids.h | 2 + include/standard-headers/linux/virtio_iommu.h | 165 + include/standard-headers/linux/virtio_pmem.h | 6 +- include/standard-headers/linux/virtio_ring.h | 2 +- include/standard-headers/rdma/vmw_pvrdma-abi.h | 5 + include/sysemu/accel.h | 7 +- include/sysemu/arch_init.h | 4 +- include/sysemu/balloon.h | 1 + include/sysemu/block-backend.h | 12 +- include/sysemu/blockdev.h | 4 - include/sysemu/bt.h | 20 - include/sysemu/cpus.h | 2 - include/sysemu/cryptodev-vhost-user.h | 3 + include/sysemu/cryptodev.h | 3 +- include/sysemu/dma.h | 1 - include/sysemu/hax.h | 1 - include/sysemu/hostmem.h | 21 +- include/sysemu/hvf.h | 2 +- include/sysemu/hw_accel.h | 2 +- include/sysemu/iothread.h | 1 + include/sysemu/kvm.h | 20 +- include/sysemu/kvm_int.h | 3 +- include/sysemu/memory_mapping.h | 1 + include/sysemu/numa.h | 97 +- include/sysemu/os-win32.h | 2 - include/sysemu/qtest.h | 6 +- include/sysemu/replay.h | 19 +- include/sysemu/rng.h | 3 + include/sysemu/runstate.h | 69 + include/sysemu/sysemu.h | 87 +- include/sysemu/tpm.h | 10 +- include/sysemu/whpx.h | 7 + include/sysemu/xen-mapcache.h | 2 + include/tcg/tcg-gvec-desc.h | 54 + include/tcg/tcg-mo.h | 48 + include/tcg/tcg-op-gvec.h | 387 + include/tcg/tcg-op.h | 1328 ++++ include/tcg/tcg-opc.h | 276 + include/tcg/tcg.h | 1430 ++++ include/ui/console.h | 3 + include/ui/egl-helpers.h | 4 +- include/ui/gtk.h | 2 + include/ui/input.h | 1 + include/ui/qemu-pixman.h | 2 + include/ui/spice-display.h | 2 +- include/user/syscall-trace.h | 42 + io/channel-socket.c | 35 +- io/channel-websock.c | 36 +- io/net-listener.c | 3 +- io/task.c | 1 + io/trace-events | 4 +- job-qmp.c | 13 +- job.c | 68 +- linux-headers/asm-arm/kvm.h | 19 +- linux-headers/asm-arm/unistd-common.h | 4 + linux-headers/asm-arm64/kvm.h | 38 +- linux-headers/asm-arm64/unistd.h | 1 + linux-headers/asm-generic/mman-common.h | 20 +- linux-headers/asm-generic/mman.h | 10 +- linux-headers/asm-generic/unistd.h | 15 +- linux-headers/asm-mips/mman.h | 3 + linux-headers/asm-mips/unistd_n32.h | 4 + linux-headers/asm-mips/unistd_n64.h | 4 + linux-headers/asm-mips/unistd_o32.h | 4 + linux-headers/asm-powerpc/kvm.h | 3 + linux-headers/asm-powerpc/mman.h | 6 +- linux-headers/asm-powerpc/unistd_32.h | 4 + linux-headers/asm-powerpc/unistd_64.h | 4 + linux-headers/asm-s390/kvm.h | 6 + linux-headers/asm-s390/unistd_32.h | 4 + linux-headers/asm-s390/unistd_64.h | 4 + linux-headers/asm-x86/kvm.h | 28 +- linux-headers/asm-x86/unistd.h | 2 +- linux-headers/asm-x86/unistd_32.h | 4 + linux-headers/asm-x86/unistd_64.h | 4 + linux-headers/asm-x86/unistd_x32.h | 4 + linux-headers/linux/kvm.h | 33 +- linux-headers/linux/psp-sev.h | 8 +- linux-headers/linux/vfio.h | 71 +- linux-user/Makefile.objs | 19 +- linux-user/aarch64/cpu_loop.c | 2 + linux-user/aarch64/syscall_nr.h | 34 +- linux-user/aarch64/target_cpu.h | 7 +- linux-user/alpha/Makefile.objs | 5 + linux-user/alpha/syscall.tbl | 479 ++ linux-user/alpha/syscall_nr.h | 457 -- linux-user/alpha/syscallhdr.sh | 32 + linux-user/alpha/target_cpu.h | 16 +- linux-user/arm/Makefile.objs | 8 + linux-user/arm/cpu_loop.c | 10 +- linux-user/arm/semihost.c | 27 + linux-user/arm/signal.c | 4 +- linux-user/arm/syscall.tbl | 453 ++ linux-user/arm/syscall_nr.h | 403 - linux-user/arm/syscallhdr.sh | 31 + linux-user/arm/target_cpu.h | 31 +- linux-user/arm/target_syscall.h | 3 - linux-user/cris/target_cpu.h | 7 +- linux-user/elfload.c | 149 +- linux-user/exit.c | 5 +- linux-user/fd-trans.c | 106 +- linux-user/flatload.c | 2 +- linux-user/hppa/Makefile.objs | 5 + linux-user/hppa/syscall.tbl | 437 ++ linux-user/hppa/syscall_nr.h | 358 - linux-user/hppa/syscallhdr.sh | 32 + linux-user/hppa/target_cpu.h | 7 +- linux-user/hppa/target_signal.h | 1 + linux-user/i386/Makefile.objs | 5 + linux-user/i386/cpu_loop.c | 201 +- linux-user/i386/syscall_32.tbl | 444 ++ linux-user/i386/syscall_nr.h | 387 - linux-user/i386/syscallhdr.sh | 28 + linux-user/i386/target_cpu.h | 11 +- linux-user/ioctls.h | 75 + linux-user/m68k/Makefile.objs | 5 + linux-user/m68k/syscall.tbl | 439 ++ linux-user/m68k/syscall_nr.h | 386 - linux-user/m68k/syscallhdr.sh | 32 + linux-user/m68k/target_cpu.h | 7 +- linux-user/main.c | 131 +- linux-user/microblaze/Makefile.objs | 5 + linux-user/microblaze/syscall.tbl | 445 ++ linux-user/microblaze/syscall_nr.h | 397 - linux-user/microblaze/syscallhdr.sh | 32 + linux-user/microblaze/target_cpu.h | 7 +- linux-user/mips/Makefile.objs | 5 + linux-user/mips/cpu_loop.c | 376 +- linux-user/mips/syscall-args-o32.c.inc | 436 ++ linux-user/mips/syscall_nr.h | 380 - linux-user/mips/syscall_o32.tbl | 427 + linux-user/mips/syscallhdr.sh | 36 + linux-user/mips/target_cpu.h | 7 +- linux-user/mips64/Makefile.objs | 12 + linux-user/mips64/syscall_n32.tbl | 378 + linux-user/mips64/syscall_n64.tbl | 354 + linux-user/mips64/syscall_nr.h | 679 -- linux-user/mips64/syscallhdr.sh | 33 + linux-user/mmap.c | 60 +- linux-user/nios2/syscall_nr.h | 650 +- linux-user/nios2/target_cpu.h | 7 +- linux-user/openrisc/syscall_nr.h | 309 +- linux-user/openrisc/target_cpu.h | 8 +- linux-user/openrisc/target_elf.h | 2 +- linux-user/ppc/Makefile.objs | 6 + linux-user/ppc/cpu_loop.c | 5 + linux-user/ppc/signal.c | 81 +- linux-user/ppc/syscall.tbl | 521 ++ linux-user/ppc/syscall_nr.h | 402 - linux-user/ppc/syscallhdr.sh | 34 + linux-user/ppc/target_cpu.h | 7 +- linux-user/qemu.h | 4 +- linux-user/riscv/cpu_loop.c | 3 +- linux-user/riscv/syscall32_nr.h | 295 + linux-user/riscv/syscall64_nr.h | 301 + linux-user/riscv/syscall_nr.h | 294 +- linux-user/riscv/target_cpu.h | 7 +- linux-user/s390x/Makefile.objs | 5 + linux-user/s390x/syscall.tbl | 442 ++ linux-user/s390x/syscall_nr.h | 398 - linux-user/s390x/syscallhdr.sh | 32 + linux-user/s390x/target_cpu.h | 7 +- linux-user/sh4/Makefile.objs | 5 + linux-user/sh4/syscall.tbl | 442 ++ linux-user/sh4/syscall_nr.h | 393 - linux-user/sh4/syscallhdr.sh | 32 + linux-user/sh4/target_cpu.h | 7 +- linux-user/signal.c | 138 +- linux-user/sparc/Makefile.objs | 5 + linux-user/sparc/signal.c | 102 +- linux-user/sparc/syscall.tbl | 485 ++ linux-user/sparc/syscall_nr.h | 363 - linux-user/sparc/syscallhdr.sh | 32 + linux-user/sparc/target_cpu.h | 60 +- linux-user/sparc64/Makefile.objs | 5 + linux-user/sparc64/syscall.tbl | 485 ++ linux-user/sparc64/syscall_nr.h | 366 - linux-user/sparc64/syscallhdr.sh | 32 + linux-user/strace.c | 585 +- linux-user/strace.list | 57 +- linux-user/syscall.c | 707 +- linux-user/syscall_defs.h | 199 +- linux-user/syscall_types.h | 103 + linux-user/tilegx/target_cpu.h | 7 +- linux-user/trace-events | 9 + linux-user/vm86.c | 3 +- linux-user/x86_64/Makefile.objs | 5 + linux-user/x86_64/syscall_64.tbl | 404 + linux-user/x86_64/syscall_nr.h | 332 - linux-user/x86_64/syscallhdr.sh | 28 + linux-user/xtensa/Makefile.objs | 5 + linux-user/xtensa/signal.c | 25 +- linux-user/xtensa/syscall.tbl | 410 + linux-user/xtensa/syscall_nr.h | 437 -- linux-user/xtensa/syscallhdr.sh | 32 + linux-user/xtensa/target_cpu.h | 8 +- memory.c | 312 +- memory_ldst.inc.c | 81 +- migration/Makefile.objs | 3 + migration/block-dirty-bitmap.c | 17 +- migration/block.c | 53 +- migration/colo.c | 267 +- migration/global_state.c | 1 + migration/migration.c | 424 +- migration/migration.h | 16 +- migration/multifd-zlib.c | 325 + migration/multifd-zstd.c | 339 + migration/multifd.c | 1074 +++ migration/multifd.h | 170 + migration/postcopy-ram.c | 163 +- migration/postcopy-ram.h | 22 +- migration/qemu-file-channel.c | 31 +- migration/qemu-file.c | 154 +- migration/qemu-file.h | 21 +- migration/qjson.h | 2 + migration/ram.c | 1765 +---- migration/ram.h | 8 +- migration/rdma.c | 126 +- migration/savevm.c | 293 +- migration/savevm.h | 1 + migration/socket.c | 7 +- migration/trace-events | 22 +- migration/vmstate-types.c | 227 +- migration/vmstate.c | 1 - monitor/Makefile.objs | 5 +- monitor/hmp-cmds.c | 951 +-- monitor/hmp.c | 16 +- monitor/misc.c | 200 +- monitor/monitor-internal.h | 7 +- monitor/monitor.c | 69 + monitor/qmp-cmds-control.c | 169 + monitor/qmp-cmds.c | 21 +- monitor/qmp.c | 58 +- nbd/client.c | 121 +- nbd/common.c | 5 + nbd/nbd-internal.h | 2 - nbd/server.c | 450 +- nbd/trace-events | 6 +- net/can/can_socketcan.c | 10 +- net/colo-compare.c | 101 +- net/filter-buffer.c | 2 +- net/filter-mirror.c | 2 +- net/filter.c | 92 +- net/hub.c | 29 +- net/hub.h | 2 - net/net.c | 60 +- net/netmap.c | 1 + net/queue.c | 2 +- net/slirp.c | 50 +- net/tap-bsd.c | 1 - net/tap-linux.c | 1 - net/tap-solaris.c | 1 - net/tap-win32.c | 2 +- net/tap.c | 1 + net/trace-events | 6 +- net/vhost-user.c | 13 +- os-posix.c | 43 +- os-win32.c | 24 +- pc-bios/README | 5 +- pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-microvm.bin | Bin 0 -> 65536 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes pc-bios/hppa-firmware.img | Bin 783724 -> 766136 bytes pc-bios/openbios-ppc | Bin 767256 -> 696912 bytes pc-bios/openbios-sparc32 | Bin 382048 -> 382048 bytes pc-bios/openbios-sparc64 | Bin 1593408 -> 1593408 bytes pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin | Bin 0 -> 49472 bytes pc-bios/opensbi-riscv32-virt-fw_jump.bin | Bin 36888 -> 41280 bytes pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 40968 -> 53760 bytes pc-bios/opensbi-riscv64-virt-fw_jump.bin | Bin 40968 -> 49664 bytes pc-bios/optionrom/pvh_main.c | 2 +- pc-bios/ppc_rom.bin | Bin 1048576 -> 0 bytes pc-bios/s390-ccw.img | Bin 42608 -> 42608 bytes pc-bios/s390-ccw/bootmap.h | 2 +- pc-bios/s390-ccw/jump2ipl.c | 13 +- pc-bios/s390-ccw/main.c | 10 +- pc-bios/s390-ccw/netmain.c | 2 + pc-bios/s390-ccw/s390-arch.h | 10 +- pc-bios/s390-ccw/s390-ccw.h | 1 + pc-bios/s390-ccw/sclp.c | 2 +- pc-bios/s390-ccw/sclp.h | 2 +- pc-bios/s390-netboot.img | Bin 67232 -> 67232 bytes pc-bios/skiboot.lid | Bin 1591384 -> 1667280 bytes pc-bios/slof.bin | Bin 926432 -> 965112 bytes pc-bios/spapr-rtas.bin | Bin 20 -> 0 bytes pc-bios/spapr-rtas/Makefile | 27 - pc-bios/spapr-rtas/spapr-rtas.S | 37 - pc-bios/vgabios-ati.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-bochs-display.bin | Bin 27648 -> 28672 bytes pc-bios/vgabios-cirrus.bin | Bin 38400 -> 38912 bytes pc-bios/vgabios-qxl.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-ramfb.bin | Bin 28160 -> 28672 bytes pc-bios/vgabios-stdvga.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-virtio.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios-vmware.bin | Bin 38912 -> 39424 bytes pc-bios/vgabios.bin | Bin 38400 -> 38912 bytes plugins/.gitignore | 2 + plugins/Makefile.objs | 21 + plugins/api.c | 342 + plugins/core.c | 502 ++ plugins/loader.c | 398 + plugins/plugin.h | 99 + plugins/qemu-plugins.symbols | 40 + po/bg.po | 10 +- po/zh_CN.po | 2 +- python/qemu/__init__.py | 24 - python/qemu/accel.py | 78 + python/qemu/machine.py | 104 +- python/qemu/qmp.py | 104 +- python/qemu/qtest.py | 11 +- qapi/Makefile.objs | 12 +- qapi/audio.json | 28 +- qapi/block-core.json | 2206 +++--- qapi/block.json | 526 +- qapi/char.json | 11 +- qapi/common.json | 49 - qapi/control.json | 258 + qapi/dump.json | 4 +- qapi/error.json | 29 + qapi/introspect.json | 32 +- qapi/job.json | 32 +- qapi/machine-target.json | 24 +- qapi/machine.json | 275 +- qapi/migration.json | 365 +- qapi/misc-target.json | 8 +- qapi/misc.json | 369 +- qapi/net.json | 55 +- qapi/opts-visitor.c | 26 +- qapi/pragma.json | 24 + qapi/qapi-dealloc-visitor.c | 1 - qapi/qapi-schema.json | 27 +- qapi/qdev.json | 10 +- qapi/qmp-dispatch.c | 141 +- qapi/qmp-registry.c | 6 +- qapi/qom.json | 23 +- qapi/rocker.json | 12 +- qapi/run-state.json | 58 +- qapi/sockets.json | 14 +- qapi/string-output-visitor.c | 2 +- qapi/tpm.json | 10 +- qapi/trace.json | 15 +- qapi/transaction.json | 8 +- qapi/ui.json | 123 +- qdev-monitor.c | 119 +- qemu-bridge-helper.c | 6 +- qemu-deprecated.texi | 333 - qemu-doc.texi | 3009 ------- qemu-ga.texi | 137 - qemu-img-cmds.hx | 103 +- qemu-img.c | 171 +- qemu-img.texi | 795 -- qemu-io-cmds.c | 110 +- qemu-io.c | 34 +- qemu-nbd.c | 174 +- qemu-nbd.texi | 214 - qemu-option-trace.texi | 24 - qemu-options.hx | 7616 +++++++++--------- qemu-storage-daemon.c | 340 + qemu-tech.texi | 195 - qemu.nsi | 26 +- qga/Makefile.objs | 1 + qga/channel-posix.c | 2 +- qga/channel-win32.c | 7 +- qga/commands-common.h | 21 + qga/commands-posix.c | 56 +- qga/commands-win32.c | 51 +- qga/commands.c | 56 +- qga/installer/qemu-ga.wxs | 2 +- qga/main.c | 12 +- qga/qapi-schema.json | 162 +- qga/vss-win32/Makefile.objs | 4 +- qga/vss-win32/install.cpp | 11 + qobject/json-parser.c | 2 +- qobject/json-streamer.c | 2 +- qobject/qstring.c | 27 +- qom/Makefile.objs | 2 +- qom/cpu.c | 459 -- qom/object.c | 534 +- qom/object_interfaces.c | 78 + qom/qom-hmp-cmds.c | 4 +- qom/qom-qmp-cmds.c | 107 +- qtest.c | 109 +- replay/Makefile.objs | 3 +- replay/replay-audio.c | 17 +- replay/replay-char.c | 1 - replay/replay-events.c | 18 +- replay/replay-internal.c | 13 +- replay/replay-internal.h | 13 +- replay/replay-net.c | 1 - replay/replay-random.c | 44 + replay/replay-snapshot.c | 14 +- replay/replay-time.c | 36 +- replay/replay.c | 36 +- roms/Makefile | 22 +- roms/Makefile.edk2 | 7 +- roms/SLOF | 2 +- roms/config.seabios-128k | 1 + roms/edk2-build.sh | 4 +- roms/edk2-funcs.sh | 20 + roms/openbios | 2 +- roms/openhackware | 1 - roms/opensbi | 2 +- roms/qboot | 1 + roms/seabios | 2 +- roms/seabios-hppa | 2 +- roms/skiboot | 2 +- rules.mak | 43 +- scripts/analyse-9p-simpletrace.py | 3 +- scripts/analyse-locks-simpletrace.py | 3 +- scripts/analyze-migration.py | 39 +- scripts/checkpatch.pl | 48 +- scripts/coccinelle/cpu-reset.cocci | 47 + scripts/coccinelle/error-use-after-free.cocci | 52 + scripts/coccinelle/exec_rw_const.cocci | 111 + .../coccinelle/memory-region-housekeeping.cocci | 159 + scripts/coccinelle/memory-region-init-ram.cocci | 38 - scripts/coverity-scan/coverity-scan.docker | 131 + scripts/coverity-scan/run-coverity-scan | 401 + scripts/decodetree.py | 77 +- scripts/device-crash-test | 3 +- scripts/dump-guest-memory.py | 3 +- scripts/gensyscalls.sh | 102 + scripts/get_maintainer.pl | 5 +- scripts/git-submodule.sh | 12 +- scripts/git.orderfile | 11 +- scripts/hxtool | 47 +- scripts/hxtool-conv.pl | 137 + scripts/kernel-doc | 2250 ++++++ scripts/kvm/kvm_flightrecorder | 3 +- scripts/kvm/vmxcap | 23 +- scripts/make-release | 8 + scripts/minikconf.py | 8 +- scripts/modules/module_block.py | 1 - scripts/qapi-gen.py | 13 +- scripts/qapi/commands.py | 33 +- scripts/qapi/common.py | 2389 +----- scripts/qapi/doc.py | 100 +- scripts/qapi/error.py | 43 + scripts/qapi/events.py | 23 +- scripts/qapi/expr.py | 360 + scripts/qapi/gen.py | 295 + scripts/qapi/introspect.py | 108 +- scripts/qapi/parser.py | 579 ++ scripts/qapi/schema.py | 1138 +++ scripts/qapi/source.py | 67 + scripts/qapi/types.py | 78 +- scripts/qapi/visit.py | 22 +- scripts/qemu-binfmt-conf.sh | 8 +- scripts/qemu-trace-stap | 8 +- scripts/qemu-trace-stap.texi | 140 - scripts/qmp/qemu-ga-client | 3 +- scripts/qmp/qmp | 3 +- scripts/qmp/qmp-shell | 3 +- scripts/qmp/qom-fuse | 2 +- scripts/qmp/qom-get | 1 - scripts/qmp/qom-list | 1 - scripts/qmp/qom-set | 1 - scripts/qmp/qom-tree | 1 - scripts/render_block_graph.py | 2 +- scripts/replay-dump.py | 3 +- scripts/signrom.py | 13 +- scripts/simplebench/bench-example.py | 80 + scripts/simplebench/bench_block_job.py | 119 + scripts/simplebench/simplebench.py | 128 + scripts/simpletrace.py | 3 +- scripts/texi2pod.pl | 36 +- scripts/tracetool.py | 2 +- scripts/tracetool/__init__.py | 8 +- scripts/tracetool/backend/__init__.py | 1 - scripts/tracetool/backend/dtrace.py | 1 - scripts/tracetool/backend/ftrace.py | 1 - scripts/tracetool/backend/log.py | 1 - scripts/tracetool/backend/simple.py | 1 - scripts/tracetool/backend/syslog.py | 1 - scripts/tracetool/backend/ust.py | 1 - scripts/tracetool/format/__init__.py | 1 - scripts/tracetool/format/c.py | 2 +- scripts/tracetool/format/d.py | 1 - scripts/tracetool/format/h.py | 8 +- scripts/tracetool/format/log_stap.py | 4 - scripts/tracetool/format/simpletrace_stap.py | 1 - scripts/tracetool/format/stap.py | 1 - scripts/tracetool/format/tcg_h.py | 1 - scripts/tracetool/format/tcg_helper_c.py | 1 - scripts/tracetool/format/tcg_helper_h.py | 1 - scripts/tracetool/format/tcg_helper_wrapper_h.py | 1 - scripts/tracetool/format/ust_events_c.py | 1 - scripts/tracetool/format/ust_events_h.py | 1 - scripts/tracetool/transform.py | 2 +- scripts/tracetool/vcpu.py | 1 - scripts/update-linux-headers.sh | 1 + scripts/update-mips-syscall-args.sh | 57 + scripts/update-syscalltbl.sh | 49 + scripts/vmstate-static-checker.py | 9 +- scsi/pr-manager.c | 1 - scsi/qemu-pr-helper.c | 38 +- slirp | 2 +- softmmu/Makefile.objs | 3 + softmmu/main.c | 53 + softmmu/vl.c | 4517 +++++++++++ storage-daemon/Makefile.objs | 1 + storage-daemon/qapi/Makefile.objs | 1 + storage-daemon/qapi/qapi-schema.json | 26 + stubs/Makefile.objs | 5 +- stubs/arch_type.c | 4 + stubs/change-state-handler.c | 2 +- stubs/io_uring.c | 32 + stubs/monitor-core.c | 21 + stubs/monitor.c | 17 +- stubs/pc_madt_cpu_entry.c | 7 - stubs/pci-host-piix.c | 3 +- stubs/replay-user.c | 9 + stubs/replay.c | 10 +- stubs/runstate-check.c | 2 +- stubs/semihost.c | 5 + stubs/vm-stop.c | 2 +- stubs/vmstate.c | 6 +- target/alpha/cpu-qom.h | 4 +- target/alpha/cpu.h | 8 +- target/alpha/fpu_helper.c | 15 +- target/alpha/gdbstub.c | 2 +- target/alpha/helper.c | 70 +- target/alpha/machine.c | 2 - target/alpha/sys_helper.c | 1 + target/alpha/translate.c | 8 +- target/arm/Makefile.objs | 24 + target/arm/a32-uncond.decode | 74 + target/arm/a32.decode | 534 ++ target/arm/arch_dump.c | 133 +- target/arm/arm-powerctl.c | 6 + target/arm/arm-semi.c | 718 +- target/arm/arm_ldst.h | 15 +- target/arm/cpu-param.h | 2 +- target/arm/cpu-qom.h | 5 +- target/arm/cpu.c | 587 +- target/arm/cpu.h | 924 ++- target/arm/cpu64.c | 447 +- target/arm/debug_helper.c | 56 +- target/arm/gdbstub.c | 181 +- target/arm/gdbstub64.c | 2 +- target/arm/helper-a64.c | 127 +- target/arm/helper-a64.h | 1 + target/arm/helper-sve.h | 2 + target/arm/helper.c | 3522 ++++++--- target/arm/helper.h | 31 +- target/arm/internals.h | 218 +- target/arm/kvm.c | 196 +- target/arm/kvm32.c | 55 +- target/arm/kvm64.c | 423 +- target/arm/kvm_arm.h | 156 +- target/arm/m_helper.c | 160 +- target/arm/machine.c | 15 +- target/arm/monitor.c | 157 + target/arm/neon_helper.c | 117 - target/arm/op_helper.c | 155 +- target/arm/pauth_helper.c | 21 +- target/arm/psci.c | 4 +- target/arm/sve_helper.c | 1 + target/arm/t16.decode | 281 + target/arm/t32.decode | 631 ++ target/arm/tlb_helper.c | 2 +- target/arm/translate-a64.c | 511 +- target/arm/translate-a64.h | 4 +- target/arm/translate-sve.c | 8 +- target/arm/translate-vfp.inc.c | 535 +- target/arm/translate.c | 8241 +++++++++----------- target/arm/translate.h | 51 +- target/arm/vec_helper.c | 211 + target/arm/vfp-uncond.decode | 12 +- target/arm/vfp.decode | 171 +- target/arm/vfp_helper.c | 31 +- target/cris/cpu-qom.h | 4 +- target/cris/cpu.c | 17 +- target/cris/cpu.h | 9 +- target/cris/gdbstub.c | 4 +- target/cris/machine.c | 1 - target/cris/translate.c | 8 +- target/cris/translate_v10.inc.c | 3 +- target/hppa/cpu-qom.h | 4 +- target/hppa/cpu.h | 7 +- target/hppa/gdbstub.c | 2 +- target/hppa/helper.h | 2 + target/hppa/int_helper.c | 2 +- target/hppa/machine.c | 2 - target/hppa/mem_helper.c | 2 +- target/hppa/op_helper.c | 13 +- target/hppa/translate.c | 47 +- target/i386/cpu-qom.h | 4 +- target/i386/cpu.c | 1950 ++++- target/i386/cpu.h | 372 +- target/i386/excp_helper.c | 2 +- target/i386/fpu_helper.c | 66 +- target/i386/gdbstub.c | 33 +- target/i386/hax-all.c | 9 +- target/i386/hax-posix.c | 33 +- target/i386/hax-windows.c | 33 +- target/i386/helper.c | 7 +- target/i386/hvf/hvf.c | 69 +- target/i386/hvf/vmx.h | 28 +- target/i386/hvf/x86_cpuid.c | 2 +- target/i386/hvf/x86_decode.c | 64 +- target/i386/hvf/x86_decode.h | 20 +- target/i386/hvf/x86_emu.c | 7 +- target/i386/hvf/x86_mmu.c | 12 +- target/i386/hvf/x86_task.c | 2 - target/i386/hvf/x86hvf.c | 18 +- target/i386/hyperv-proto.h | 1 + target/i386/kvm.c | 744 +- target/i386/kvm_i386.h | 21 +- target/i386/machine.c | 76 +- target/i386/mem_helper.c | 2 +- target/i386/misc_helper.c | 4 + target/i386/monitor.c | 2 +- target/i386/ops_sse.h | 88 +- target/i386/seg_helper.c | 62 +- target/i386/sev.c | 107 +- target/i386/sev_i386.h | 2 +- target/i386/translate.c | 173 +- target/i386/whp-dispatch.h | 13 + target/i386/whpx-all.c | 254 +- target/lm32/cpu-qom.h | 4 +- target/lm32/cpu.c | 9 +- target/lm32/cpu.h | 4 +- target/lm32/gdbstub.c | 2 +- target/lm32/helper.c | 1 - target/lm32/machine.c | 2 - target/lm32/op_helper.c | 3 +- target/lm32/translate.c | 15 +- target/m68k/cpu-qom.h | 4 +- target/m68k/cpu.c | 37 +- target/m68k/cpu.h | 9 +- target/m68k/fpu_helper.c | 8 +- target/m68k/gdbstub.c | 2 +- target/m68k/helper.c | 45 +- target/m68k/m68k-semi.c | 1 - target/m68k/op_helper.c | 77 +- target/m68k/softfloat.c | 98 +- target/m68k/translate.c | 48 +- target/microblaze/cpu-qom.h | 4 +- target/microblaze/cpu.c | 13 +- target/microblaze/cpu.h | 5 +- target/microblaze/gdbstub.c | 2 +- target/microblaze/translate.c | 89 +- target/mips/Makefile.objs | 5 +- target/mips/cp0_helper.c | 1678 ++++ target/mips/cp0_timer.c | 43 +- target/mips/cpu-qom.h | 4 +- target/mips/cpu.c | 28 +- target/mips/cpu.h | 131 +- target/mips/fpu_helper.c | 1911 +++++ target/mips/gdbstub.c | 5 +- target/mips/helper.c | 141 +- target/mips/helper.h | 304 +- target/mips/internal.h | 80 +- target/mips/kvm.c | 5 +- target/mips/kvm_mips.h | 2 +- target/mips/machine.c | 11 +- target/mips/mips-defs.h | 58 +- target/mips/mips-semi.c | 15 +- target/mips/msa_helper.c | 5385 +++++++++---- target/mips/op_helper.c | 4234 ++-------- target/mips/translate.c | 3308 +++++--- target/moxie/cpu.c | 8 +- target/moxie/cpu.h | 4 +- target/moxie/machine.c | 2 - target/moxie/translate.c | 2 +- target/nios2/cpu.c | 13 +- target/nios2/cpu.h | 6 +- target/nios2/nios2-semi.c | 1 - target/nios2/translate.c | 10 +- target/openrisc/cpu.c | 39 +- target/openrisc/cpu.h | 32 +- target/openrisc/disas.c | 81 + target/openrisc/fpu_helper.c | 49 +- target/openrisc/gdbstub.c | 2 +- target/openrisc/helper.h | 6 + target/openrisc/insns.decode | 45 + target/openrisc/machine.c | 13 +- target/openrisc/sys_helper.c | 36 +- target/openrisc/translate.c | 718 +- target/ppc/compat.c | 21 +- target/ppc/cpu-models.c | 3 + target/ppc/cpu-models.h | 3 + target/ppc/cpu-qom.h | 9 +- target/ppc/cpu.h | 236 +- target/ppc/dfp_helper.c | 394 +- target/ppc/excp_helper.c | 160 +- target/ppc/fpu_helper.c | 206 +- target/ppc/gdbstub.c | 48 +- target/ppc/helper.h | 19 +- target/ppc/helper_regs.h | 5 + target/ppc/int_helper.c | 409 +- target/ppc/internal.h | 3 + target/ppc/kvm.c | 192 +- target/ppc/kvm_ppc.h | 31 +- target/ppc/machine.c | 3 +- target/ppc/mem_helper.c | 212 +- target/ppc/misc_helper.c | 65 + target/ppc/mmu-hash64.c | 392 +- target/ppc/mmu-radix64.c | 6 + target/ppc/mmu_helper.c | 8 +- target/ppc/timebase_helper.c | 60 +- target/ppc/trace-events | 1 + target/ppc/translate.c | 139 +- target/ppc/translate/fp-impl.inc.c | 125 +- target/ppc/translate/fp-ops.inc.c | 10 +- target/ppc/translate/vmx-impl.inc.c | 417 +- target/ppc/translate/vsx-impl.inc.c | 2 +- target/ppc/translate_init.inc.c | 532 +- target/riscv/Makefile.objs | 7 +- target/riscv/cpu.c | 94 +- target/riscv/cpu.h | 88 +- target/riscv/cpu_bits.h | 144 +- target/riscv/cpu_helper.c | 583 +- target/riscv/csr.c | 477 +- target/riscv/fpu_helper.c | 1 + target/riscv/gdbstub.c | 83 +- target/riscv/insn32.decode | 22 +- target/riscv/insn_trans/trans_privileged.inc.c | 45 +- target/riscv/insn_trans/trans_rva.inc.c | 8 +- target/riscv/insn_trans/trans_rvd.inc.c | 1 - target/riscv/insn_trans/trans_rvf.inc.c | 1 - target/riscv/insn_trans/trans_rvi.inc.c | 5 +- target/riscv/instmap.h | 8 +- target/riscv/monitor.c | 229 + target/riscv/op_helper.c | 75 +- target/riscv/pmp.c | 48 +- target/riscv/trace-events | 6 + target/riscv/translate.c | 100 +- target/rx/Makefile.objs | 11 + target/rx/cpu-param.h | 30 + target/rx/cpu-qom.h | 53 + target/rx/cpu.c | 225 + target/rx/cpu.h | 180 + target/rx/disas.c | 1446 ++++ target/rx/gdbstub.c | 112 + target/rx/helper.c | 149 + target/rx/helper.h | 31 + target/rx/insns.decode | 621 ++ target/rx/op_helper.c | 470 ++ target/rx/translate.c | 2440 ++++++ target/s390x/cc_helper.c | 4 +- target/s390x/cpu-qom.h | 13 +- target/s390x/cpu.c | 145 +- target/s390x/cpu.h | 127 +- target/s390x/cpu_models.c | 105 +- target/s390x/cpu_models.h | 2 +- target/s390x/crypto_helper.c | 7 +- target/s390x/diag.c | 62 +- target/s390x/excp_helper.c | 67 +- target/s390x/fpu_helper.c | 6 +- target/s390x/gdbstub.c | 30 +- target/s390x/gen-features.c | 11 +- target/s390x/helper.c | 22 +- target/s390x/helper.h | 7 +- target/s390x/insn-data.def | 10 +- target/s390x/int_helper.c | 15 +- target/s390x/internal.h | 8 +- target/s390x/interrupt.c | 9 +- target/s390x/ioinst.c | 42 +- target/s390x/kvm-stub.c | 10 +- target/s390x/kvm.c | 112 +- target/s390x/kvm_s390x.h | 4 +- target/s390x/machine.c | 2 +- target/s390x/mem_helper.c | 895 ++- target/s390x/misc_helper.c | 37 +- target/s390x/mmu_helper.c | 557 +- target/s390x/sigp.c | 10 +- target/s390x/tcg-stub.c | 4 +- target/s390x/tcg_s390x.h | 4 +- target/s390x/translate.c | 1039 +-- target/s390x/translate_vx.inc.c | 691 +- target/s390x/vec_int_helper.c | 18 +- target/sh4/cpu-qom.h | 4 +- target/sh4/cpu.c | 12 +- target/sh4/cpu.h | 6 +- target/sh4/gdbstub.c | 8 +- target/sh4/helper.c | 3 +- target/sh4/translate.c | 6 +- target/sparc/TODO | 88 - target/sparc/cpu-qom.h | 4 +- target/sparc/cpu.c | 13 +- target/sparc/cpu.h | 49 +- target/sparc/gdbstub.c | 2 +- target/sparc/helper.c | 1 - target/sparc/int32_helper.c | 2 +- target/sparc/ldst_helper.c | 319 +- target/sparc/machine.c | 2 - target/sparc/mmu_helper.c | 97 +- target/sparc/translate.c | 34 +- target/tilegx/cpu.c | 9 +- target/tilegx/cpu.h | 4 +- target/tilegx/translate.c | 18 +- target/tricore/cpu-qom.h | 4 +- target/tricore/cpu.c | 8 +- target/tricore/helper.c | 2 +- target/tricore/helper.h | 1 + target/tricore/op_helper.c | 7 + target/tricore/translate.c | 587 +- target/unicore32/cpu-qom.h | 2 +- target/unicore32/cpu.c | 1 - target/unicore32/cpu.h | 2 - target/unicore32/translate.c | 7 +- target/xtensa/core-test_mmuhifi_c3.c | 3 +- target/xtensa/core-test_mmuhifi_c3/core-isa.h | 116 +- .../xtensa/core-test_mmuhifi_c3/gdb-config.inc.c | 114 +- .../core-test_mmuhifi_c3/xtensa-modules.inc.c | 6384 ++++++++------- target/xtensa/cpu-qom.h | 4 +- target/xtensa/cpu.c | 33 +- target/xtensa/cpu.h | 24 +- target/xtensa/gdbstub.c | 8 +- target/xtensa/helper.c | 1 + target/xtensa/import_core.sh | 6 +- target/xtensa/mmu_helper.c | 5 +- target/xtensa/overlay_tool.h | 15 +- target/xtensa/translate.c | 40 +- target/xtensa/xtensa-semi.c | 1 - tcg/LICENSE | 3 - tcg/README | 4 +- tcg/aarch64/tcg-target.inc.c | 30 +- tcg/aarch64/tcg-target.opc.h | 15 +- tcg/arm/tcg-target.inc.c | 59 +- tcg/i386/tcg-target.h | 2 +- tcg/i386/tcg-target.inc.c | 49 +- tcg/i386/tcg-target.opc.h | 28 +- tcg/mips/tcg-target.inc.c | 28 +- tcg/optimize.c | 5 +- tcg/ppc/tcg-target.h | 51 +- tcg/ppc/tcg-target.inc.c | 1130 ++- tcg/ppc/tcg-target.opc.h | 33 + tcg/riscv/tcg-target.inc.c | 24 +- tcg/s390/tcg-target.inc.c | 18 +- tcg/sparc/tcg-target.inc.c | 8 +- tcg/tcg-common.c | 3 +- tcg/tcg-gvec-desc.h | 54 - tcg/tcg-mo.h | 48 - tcg/tcg-op-gvec.c | 41 +- tcg/tcg-op-gvec.h | 380 - tcg/tcg-op-vec.c | 6 +- tcg/tcg-op.c | 101 +- tcg/tcg-op.h | 1312 ---- tcg/tcg-opc.h | 273 - tcg/tcg.c | 57 +- tcg/tcg.h | 1517 ---- tcg/tci.c | 17 +- tests/.gitignore | 2 + tests/Makefile.include | 496 +- tests/ac97-test.c | 57 - tests/acceptance/avocado_qemu/__init__.py | 131 +- tests/acceptance/boot_linux.py | 222 + tests/acceptance/boot_linux_console.py | 680 +- tests/acceptance/cpu_queries.py | 5 +- tests/acceptance/empty_cpu_model.py | 12 +- tests/acceptance/linux_initrd.py | 20 +- tests/acceptance/linux_ssh_mips_malta.py | 256 +- tests/acceptance/machine_arm_integratorcp.py | 99 + tests/acceptance/machine_arm_n8x0.py | 49 + tests/acceptance/machine_m68k_nextcube.py | 110 + tests/acceptance/machine_mips_malta.py | 118 + tests/acceptance/machine_sparc_leon3.py | 37 + tests/acceptance/migration.py | 56 +- tests/acceptance/pc_cpu_hotplug_props.py | 35 + tests/acceptance/ppc_prep_40p.py | 80 + tests/acceptance/version.py | 1 + tests/acceptance/virtio_check_params.py | 144 + tests/acceptance/vnc.py | 4 +- tests/acceptance/x86_cpu_model_versions.py | 160 +- tests/acpi-utils.c | 147 - tests/acpi-utils.h | 56 - tests/ahci-test.c | 1955 ----- tests/benchmark-crypto-cipher.c | 39 +- tests/benchmark-crypto-hash.c | 17 +- tests/bios-tables-test-allowed-diff.h | 1 - tests/bios-tables-test.c | 924 --- tests/boot-order-test.c | 205 - tests/boot-sector.c | 168 - tests/boot-sector.h | 28 - tests/boot-serial-test.c | 241 - tests/cdrom-test.c | 228 - tests/check-block.sh | 49 +- tests/check-qjson.c | 2 +- tests/cpu-plug-test.c | 266 - tests/data/acpi/pc/APIC.acpihmat | Bin 0 -> 128 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 0 -> 6455 bytes tests/data/acpi/pc/HMAT.acpihmat | Bin 0 -> 280 bytes tests/data/acpi/pc/SRAT.acpihmat | Bin 0 -> 280 bytes tests/data/acpi/q35/APIC.acpihmat | Bin 0 -> 128 bytes tests/data/acpi/q35/DSDT | Bin 7841 -> 7869 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 0 -> 9193 bytes tests/data/acpi/q35/DSDT.bridge | Bin 7858 -> 7886 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8304 -> 8332 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9494 -> 9522 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 7916 -> 7944 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9200 -> 9228 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 8971 -> 8999 bytes tests/data/acpi/q35/DSDT.numamem | Bin 7847 -> 7875 bytes tests/data/acpi/q35/HMAT.acpihmat | Bin 0 -> 280 bytes tests/data/acpi/q35/SRAT.acpihmat | Bin 0 -> 280 bytes tests/data/acpi/rebuild-expected-aml.sh | 13 +- tests/data/acpi/virt/APIC.memhp | Bin 0 -> 168 bytes tests/data/acpi/virt/APIC.numamem | Bin 0 -> 168 bytes tests/data/acpi/virt/DSDT | Bin 18476 -> 5307 bytes tests/data/acpi/virt/DSDT.memhp | Bin 0 -> 6644 bytes tests/data/acpi/virt/DSDT.numamem | Bin 0 -> 5307 bytes tests/data/acpi/virt/FACP.memhp | Bin 0 -> 268 bytes tests/data/acpi/virt/FACP.numamem | Bin 0 -> 268 bytes tests/data/acpi/virt/GTDT.memhp | Bin 0 -> 96 bytes tests/data/acpi/virt/GTDT.numamem | Bin 0 -> 96 bytes tests/data/acpi/virt/MCFG.memhp | Bin 0 -> 60 bytes tests/data/acpi/virt/MCFG.numamem | Bin 0 -> 60 bytes tests/data/acpi/virt/SLIT.memhp | Bin 0 -> 48 bytes tests/data/acpi/virt/SPCR.memhp | Bin 0 -> 80 bytes tests/data/acpi/virt/SPCR.numamem | Bin 0 -> 80 bytes tests/data/acpi/virt/SRAT.memhp | Bin 0 -> 186 bytes tests/data/acpi/virt/SRAT.numamem | Bin 0 -> 106 bytes tests/dbus-vmstate-daemon.sh | 95 + tests/decode/err_field6.decode | 5 + tests/decode/succ_function.decode | 6 + tests/device-introspect-test.c | 323 - tests/device-plug-test.c | 178 - tests/display-vga-test.c | 69 - tests/docker/Makefile.include | 98 +- tests/docker/common.rc | 11 +- tests/docker/docker.py | 161 +- tests/docker/dockerfiles/centos7.docker | 6 +- tests/docker/dockerfiles/centos8.docker | 32 + tests/docker/dockerfiles/debian-alpha-cross.docker | 7 +- tests/docker/dockerfiles/debian-amd64-cross.docker | 22 + tests/docker/dockerfiles/debian-amd64.docker | 10 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 7 +- tests/docker/dockerfiles/debian-armel-cross.docker | 5 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 5 +- .../dockerfiles/debian-buster-arm64-cross.docker | 16 - tests/docker/dockerfiles/debian-hppa-cross.docker | 5 +- tests/docker/dockerfiles/debian-m68k-cross.docker | 5 +- tests/docker/dockerfiles/debian-mips-cross.docker | 7 +- .../docker/dockerfiles/debian-mips64-cross.docker | 5 +- .../dockerfiles/debian-mips64el-cross.docker | 5 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 4 +- tests/docker/dockerfiles/debian-ports.docker | 36 - .../docker/dockerfiles/debian-powerpc-cross.docker | 8 +- .../dockerfiles/debian-powerpc-user-cross.docker | 15 - tests/docker/dockerfiles/debian-ppc64-cross.docker | 7 +- .../docker/dockerfiles/debian-ppc64el-cross.docker | 5 +- .../docker/dockerfiles/debian-riscv64-cross.docker | 5 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 5 +- tests/docker/dockerfiles/debian-sh4-cross.docker | 5 +- tests/docker/dockerfiles/debian-sid.docker | 41 - .../docker/dockerfiles/debian-sparc64-cross.docker | 5 +- tests/docker/dockerfiles/debian-win32-cross.docker | 2 +- .../docker/dockerfiles/debian-xtensa-cross.docker | 2 +- tests/docker/dockerfiles/debian10.docker | 8 +- tests/docker/dockerfiles/debian8.docker | 34 - tests/docker/dockerfiles/debian9-mxe.docker | 3 +- tests/docker/dockerfiles/debian9.docker | 7 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 3 +- tests/docker/dockerfiles/fedora.docker | 12 +- tests/docker/dockerfiles/travis.docker | 10 +- tests/docker/dockerfiles/ubuntu.docker | 8 +- tests/docker/dockerfiles/ubuntu1804.docker | 10 +- tests/docker/run | 4 +- tests/docker/test-build | 1 - tests/docker/test-clang | 6 +- tests/docker/test-debug | 1 + tests/docker/test-mingw | 1 - tests/docker/test-misc | 2 + tests/docker/test-quick | 1 - tests/docker/travis.py | 3 +- tests/drive_del-test.c | 153 - tests/ds1338-test.c | 58 - tests/e1000-test.c | 68 - tests/e1000e-test.c | 279 - tests/eepro100-test.c | 77 - tests/endianness-test.c | 306 - tests/es1370-test.c | 58 - tests/fdc-test.c | 587 -- tests/fp/Makefile | 14 +- tests/fw_cfg-test.c | 239 - tests/guest-debug/run-test.py | 57 + tests/guest-debug/test-gdbstub.py | 1 - tests/hd-geo-test.c | 427 - tests/hexloader-test.c | 45 - tests/i440fx-test.c | 413 - tests/i82801b11-test.c | 31 - tests/ide-test.c | 1092 --- tests/image-fuzzer/qcow2/__init__.py | 1 - tests/image-fuzzer/qcow2/fuzz.py | 54 +- tests/image-fuzzer/qcow2/layout.py | 57 +- tests/image-fuzzer/runner.py | 16 +- tests/intel-hda-test.c | 39 - tests/ioh3420-test.c | 32 - tests/iothread.c | 40 +- tests/ipmi-bt-test.c | 423 - tests/ipmi-kcs-test.c | 286 - tests/ipoctal232-test.c | 49 - tests/ivshmem-test.c | 503 -- tests/libqos/aarch64-xlnx-zcu102-machine.c | 95 - tests/libqos/ahci.c | 1242 --- tests/libqos/ahci.h | 651 -- tests/libqos/arm-imx25-pdk-machine.c | 92 - tests/libqos/arm-n800-machine.c | 92 - tests/libqos/arm-raspi2-machine.c | 92 - tests/libqos/arm-sabrelite-machine.c | 92 - tests/libqos/arm-smdkc210-machine.c | 92 - tests/libqos/arm-virt-machine.c | 91 - tests/libqos/arm-xilinx-zynq-a9-machine.c | 95 - tests/libqos/e1000e.c | 260 - tests/libqos/e1000e.h | 53 - tests/libqos/fw_cfg.c | 164 - tests/libqos/fw_cfg.h | 52 - tests/libqos/i2c-imx.c | 216 - tests/libqos/i2c-omap.c | 196 - tests/libqos/i2c.c | 85 - tests/libqos/i2c.h | 82 - tests/libqos/libqos-pc.c | 35 - tests/libqos/libqos-pc.h | 10 - tests/libqos/libqos-spapr.c | 33 - tests/libqos/libqos-spapr.h | 10 - tests/libqos/libqos.c | 239 - tests/libqos/libqos.h | 45 - tests/libqos/malloc-pc.c | 33 - tests/libqos/malloc-pc.h | 20 - tests/libqos/malloc-spapr.c | 23 - tests/libqos/malloc-spapr.h | 15 - tests/libqos/malloc.c | 347 - tests/libqos/malloc.h | 50 - tests/libqos/pci-pc.c | 200 - tests/libqos/pci-pc.h | 49 - tests/libqos/pci-spapr.c | 232 - tests/libqos/pci-spapr.h | 41 - tests/libqos/pci.c | 439 -- tests/libqos/pci.h | 129 - tests/libqos/ppc64_pseries-machine.c | 112 - tests/libqos/qgraph.c | 759 -- tests/libqos/qgraph.h | 574 -- tests/libqos/qgraph_internal.h | 257 - tests/libqos/rtas.c | 120 - tests/libqos/rtas.h | 17 - tests/libqos/sdhci.c | 164 - tests/libqos/sdhci.h | 70 - tests/libqos/tpci200.c | 66 - tests/libqos/usb.c | 57 - tests/libqos/usb.h | 18 - tests/libqos/virtio-9p.c | 174 - tests/libqos/virtio-9p.h | 47 - tests/libqos/virtio-balloon.c | 114 - tests/libqos/virtio-balloon.h | 44 - tests/libqos/virtio-blk.c | 125 - tests/libqos/virtio-blk.h | 45 - tests/libqos/virtio-mmio.c | 232 - tests/libqos/virtio-mmio.h | 50 - tests/libqos/virtio-net.c | 196 - tests/libqos/virtio-net.h | 46 - tests/libqos/virtio-pci.c | 400 - tests/libqos/virtio-pci.h | 56 - tests/libqos/virtio-rng.c | 111 - tests/libqos/virtio-rng.h | 44 - tests/libqos/virtio-scsi.c | 118 - tests/libqos/virtio-scsi.h | 44 -
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |