mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 07:02:03 -06:00
Accel & Exec patch queue
- Ignore writes to CNTP_CTL_EL0 on HVF ARM (Alexander) - Add '-d invalid_mem' logging option (Zoltan) - Create QOM containers explicitly (Peter) - Rename sysemu/ -> system/ (Philippe) - Re-orderning of include/exec/ headers (Philippe) Move a lot of declarations from these legacy mixed bag headers: . "exec/cpu-all.h" . "exec/cpu-common.h" . "exec/cpu-defs.h" . "exec/exec-all.h" . "exec/translate-all" to these more specific ones: . "exec/page-protection.h" . "exec/translation-block.h" . "user/cpu_loop.h" . "user/guest-host.h" . "user/page-protection.h" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmdlnyAACgkQ4+MsLN6t wN6mBw//QFWi7CrU+bb8KMM53kOU9C507tjn99LLGFb5or73/umDsw6eo/b8DHBt KIwGLgATel42oojKfNKavtAzLK5rOrywpboPDpa3SNeF1onW+99NGJ52LQUqIX6K A6bS0fPdGG9ZzEuPpbjDXlp++0yhDcdSgZsS42fEsT7Dyj5gzJYlqpqhiXGqpsn8 4Y0UMxSL21K3HEexlzw2hsoOBFA3tUm2ujNDhNkt8QASr85yQVLCypABJnuoe/// 5Ojl5wTBeDwhANET0rhwHK8eIYaNboiM9fHopJYhvyw1bz6yAu9jQwzF/MrL3s/r xa4OBHBy5mq2hQV9Shcl3UfCQdk/vDaYaWpgzJGX8stgMGYfnfej1SIl8haJIfcl VMX8/jEFdYbjhO4AeGRYcBzWjEJymkDJZoiSWp2NuEDi6jqIW+7yW1q0Rnlg9lay ShAqLK5Pv4zUw3t0Jy3qv9KSW8sbs6PQxtzXjk8p97rTf76BJ2pF8sv1tVzmsidP 9L92Hv5O34IqzBu2oATOUZYJk89YGmTIUSLkpT7asJZpBLwNM2qLp5jO00WVU0Sd +kAn324guYPkko/TVnjC/AY7CMu55EOtD9NU35k3mUAnxXT9oDUeL4NlYtfgrJx6 x1Nzr2FkS68+wlPAFKNSSU5lTjsjNaFM0bIJ4LCNtenJVP+SnRo= =cjz8 -----END PGP SIGNATURE----- Merge tag 'exec-20241220' of https://github.com/philmd/qemu into staging Accel & Exec patch queue - Ignore writes to CNTP_CTL_EL0 on HVF ARM (Alexander) - Add '-d invalid_mem' logging option (Zoltan) - Create QOM containers explicitly (Peter) - Rename sysemu/ -> system/ (Philippe) - Re-orderning of include/exec/ headers (Philippe) Move a lot of declarations from these legacy mixed bag headers: . "exec/cpu-all.h" . "exec/cpu-common.h" . "exec/cpu-defs.h" . "exec/exec-all.h" . "exec/translate-all" to these more specific ones: . "exec/page-protection.h" . "exec/translation-block.h" . "user/cpu_loop.h" . "user/guest-host.h" . "user/page-protection.h" # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmdlnyAACgkQ4+MsLN6t # wN6mBw//QFWi7CrU+bb8KMM53kOU9C507tjn99LLGFb5or73/umDsw6eo/b8DHBt # KIwGLgATel42oojKfNKavtAzLK5rOrywpboPDpa3SNeF1onW+99NGJ52LQUqIX6K # A6bS0fPdGG9ZzEuPpbjDXlp++0yhDcdSgZsS42fEsT7Dyj5gzJYlqpqhiXGqpsn8 # 4Y0UMxSL21K3HEexlzw2hsoOBFA3tUm2ujNDhNkt8QASr85yQVLCypABJnuoe/// # 5Ojl5wTBeDwhANET0rhwHK8eIYaNboiM9fHopJYhvyw1bz6yAu9jQwzF/MrL3s/r # xa4OBHBy5mq2hQV9Shcl3UfCQdk/vDaYaWpgzJGX8stgMGYfnfej1SIl8haJIfcl # VMX8/jEFdYbjhO4AeGRYcBzWjEJymkDJZoiSWp2NuEDi6jqIW+7yW1q0Rnlg9lay # ShAqLK5Pv4zUw3t0Jy3qv9KSW8sbs6PQxtzXjk8p97rTf76BJ2pF8sv1tVzmsidP # 9L92Hv5O34IqzBu2oATOUZYJk89YGmTIUSLkpT7asJZpBLwNM2qLp5jO00WVU0Sd # +kAn324guYPkko/TVnjC/AY7CMu55EOtD9NU35k3mUAnxXT9oDUeL4NlYtfgrJx6 # x1Nzr2FkS68+wlPAFKNSSU5lTjsjNaFM0bIJ4LCNtenJVP+SnRo= # =cjz8 # -----END PGP SIGNATURE----- # gpg: Signature made Fri 20 Dec 2024 11:45:20 EST # gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'exec-20241220' of https://github.com/philmd/qemu: (59 commits) util/qemu-timer: fix indentation meson: Do not define CONFIG_DEVICES on user emulation system/accel-ops: Remove unnecessary 'exec/cpu-common.h' header system/numa: Remove unnecessary 'exec/cpu-common.h' header hw/xen: Remove unnecessary 'exec/cpu-common.h' header target/mips: Drop left-over comment about Jazz machine target/mips: Remove tswap() calls in semihosting uhi_fstat_cb() target/xtensa: Remove tswap() calls in semihosting simcall() helper accel/tcg: Un-inline translator_is_same_page() accel/tcg: Include missing 'exec/translation-block.h' header accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h' accel/tcg: Restrict curr_cflags() declaration to 'internal-common.h' qemu/coroutine: Include missing 'qemu/atomic.h' header exec/translation-block: Include missing 'qemu/atomic.h' header accel/tcg: Declare cpu_loop_exit_requested() in 'exec/cpu-common.h' exec/cpu-all: Include 'cpu.h' earlier so MMU_USER_IDX is always defined target/sparc: Move sparc_restore_state_to_opc() to cpu.c target/sparc: Uninline cpu_get_tb_cpu_state() target/loongarch: Declare loongarch_cpu_dump_state() locally user: Move various declarations out of 'exec/exec-all.h' ... Conflicts: hw/char/riscv_htif.c hw/intc/riscv_aplic.c target/s390x/cpu.c Apply sysemu header path changes to not in the pull request. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
commit
65cb7129f4
1080 changed files with 2575 additions and 2312 deletions
76
MAINTAINERS
76
MAINTAINERS
|
@ -170,8 +170,8 @@ F: include/exec/helper*.h
|
||||||
F: include/exec/helper*.h.inc
|
F: include/exec/helper*.h.inc
|
||||||
F: include/exec/helper-info.c.inc
|
F: include/exec/helper-info.c.inc
|
||||||
F: include/exec/page-protection.h
|
F: include/exec/page-protection.h
|
||||||
F: include/sysemu/cpus.h
|
F: include/system/cpus.h
|
||||||
F: include/sysemu/tcg.h
|
F: include/system/tcg.h
|
||||||
F: include/hw/core/tcg-cpu-ops.h
|
F: include/hw/core/tcg-cpu-ops.h
|
||||||
F: host/include/*/host/cpuinfo.h
|
F: host/include/*/host/cpuinfo.h
|
||||||
F: util/cpuinfo-*.c
|
F: util/cpuinfo-*.c
|
||||||
|
@ -436,7 +436,7 @@ F: */*/kvm*
|
||||||
F: accel/kvm/
|
F: accel/kvm/
|
||||||
F: accel/stubs/kvm-stub.c
|
F: accel/stubs/kvm-stub.c
|
||||||
F: include/hw/kvm/
|
F: include/hw/kvm/
|
||||||
F: include/sysemu/kvm*.h
|
F: include/system/kvm*.h
|
||||||
F: scripts/kvm/kvm_flightrecorder
|
F: scripts/kvm/kvm_flightrecorder
|
||||||
|
|
||||||
ARM KVM CPUs
|
ARM KVM CPUs
|
||||||
|
@ -449,7 +449,7 @@ MIPS KVM CPUs
|
||||||
M: Huacai Chen <chenhuacai@kernel.org>
|
M: Huacai Chen <chenhuacai@kernel.org>
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
F: target/mips/kvm*
|
F: target/mips/kvm*
|
||||||
F: target/mips/sysemu/
|
F: target/mips/system/
|
||||||
|
|
||||||
PPC KVM CPUs
|
PPC KVM CPUs
|
||||||
M: Nicholas Piggin <npiggin@gmail.com>
|
M: Nicholas Piggin <npiggin@gmail.com>
|
||||||
|
@ -483,7 +483,7 @@ Xen emulation on X86 KVM CPUs
|
||||||
M: David Woodhouse <dwmw2@infradead.org>
|
M: David Woodhouse <dwmw2@infradead.org>
|
||||||
M: Paul Durrant <paul@xen.org>
|
M: Paul Durrant <paul@xen.org>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: include/sysemu/kvm_xen.h
|
F: include/system/kvm_xen.h
|
||||||
F: target/i386/kvm/xen*
|
F: target/i386/kvm/xen*
|
||||||
F: hw/i386/kvm/xen*
|
F: hw/i386/kvm/xen*
|
||||||
F: tests/avocado/kvm_xen_guest.py
|
F: tests/avocado/kvm_xen_guest.py
|
||||||
|
@ -495,7 +495,7 @@ M: Richard Henderson <richard.henderson@linaro.org>
|
||||||
R: Paolo Bonzini <pbonzini@redhat.com>
|
R: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: include/qemu/accel.h
|
F: include/qemu/accel.h
|
||||||
F: include/sysemu/accel-*.h
|
F: include/system/accel-*.h
|
||||||
F: include/hw/core/accel-cpu.h
|
F: include/hw/core/accel-cpu.h
|
||||||
F: accel/accel-*.c
|
F: accel/accel-*.c
|
||||||
F: accel/Makefile.objs
|
F: accel/Makefile.objs
|
||||||
|
@ -519,14 +519,14 @@ M: Roman Bolshakov <rbolshakov@ddn.com>
|
||||||
W: https://wiki.qemu.org/Features/HVF
|
W: https://wiki.qemu.org/Features/HVF
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: accel/hvf/
|
F: accel/hvf/
|
||||||
F: include/sysemu/hvf.h
|
F: include/system/hvf.h
|
||||||
F: include/sysemu/hvf_int.h
|
F: include/system/hvf_int.h
|
||||||
|
|
||||||
WHPX CPUs
|
WHPX CPUs
|
||||||
M: Sunil Muthuswamy <sunilmut@microsoft.com>
|
M: Sunil Muthuswamy <sunilmut@microsoft.com>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: target/i386/whpx/
|
F: target/i386/whpx/
|
||||||
F: include/sysemu/whpx.h
|
F: include/system/whpx.h
|
||||||
|
|
||||||
Guest CPU Cores (Xen)
|
Guest CPU Cores (Xen)
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -552,8 +552,8 @@ F: hw/i386/xen/
|
||||||
F: hw/pci-host/xen_igd_pt.c
|
F: hw/pci-host/xen_igd_pt.c
|
||||||
F: include/hw/block/dataplane/xen*
|
F: include/hw/block/dataplane/xen*
|
||||||
F: include/hw/xen/
|
F: include/hw/xen/
|
||||||
F: include/sysemu/xen.h
|
F: include/system/xen.h
|
||||||
F: include/sysemu/xen-mapcache.h
|
F: include/system/xen-mapcache.h
|
||||||
F: stubs/xen-hw-stub.c
|
F: stubs/xen-hw-stub.c
|
||||||
F: docs/system/arm/xenpvh.rst
|
F: docs/system/arm/xenpvh.rst
|
||||||
F: docs/system/i386/xenpvh.rst
|
F: docs/system/i386/xenpvh.rst
|
||||||
|
@ -563,7 +563,7 @@ Guest CPU Cores (NVMM)
|
||||||
NetBSD Virtual Machine Monitor (NVMM) CPU support
|
NetBSD Virtual Machine Monitor (NVMM) CPU support
|
||||||
M: Reinoud Zandijk <reinoud@netbsd.org>
|
M: Reinoud Zandijk <reinoud@netbsd.org>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: include/sysemu/nvmm.h
|
F: include/system/nvmm.h
|
||||||
F: target/i386/nvmm/
|
F: target/i386/nvmm/
|
||||||
|
|
||||||
Hosts
|
Hosts
|
||||||
|
@ -581,7 +581,7 @@ POSIX
|
||||||
M: Paolo Bonzini <pbonzini@redhat.com>
|
M: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: os-posix.c
|
F: os-posix.c
|
||||||
F: include/sysemu/os-posix.h
|
F: include/system/os-posix.h
|
||||||
F: util/*posix*.c
|
F: util/*posix*.c
|
||||||
F: include/qemu/*posix*.h
|
F: include/qemu/*posix*.h
|
||||||
|
|
||||||
|
@ -1874,7 +1874,7 @@ R: Yanan Wang <wangyanan55@huawei.com>
|
||||||
R: Zhao Liu <zhao1.liu@intel.com>
|
R: Zhao Liu <zhao1.liu@intel.com>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: hw/core/cpu-common.c
|
F: hw/core/cpu-common.c
|
||||||
F: hw/core/cpu-sysemu.c
|
F: hw/core/cpu-system.c
|
||||||
F: hw/core/machine-qmp-cmds.c
|
F: hw/core/machine-qmp-cmds.c
|
||||||
F: hw/core/machine.c
|
F: hw/core/machine.c
|
||||||
F: hw/core/machine-smp.c
|
F: hw/core/machine-smp.c
|
||||||
|
@ -1887,7 +1887,7 @@ F: qapi/machine-target.json
|
||||||
F: include/hw/boards.h
|
F: include/hw/boards.h
|
||||||
F: include/hw/core/cpu.h
|
F: include/hw/core/cpu.h
|
||||||
F: include/hw/cpu/cluster.h
|
F: include/hw/cpu/cluster.h
|
||||||
F: include/sysemu/numa.h
|
F: include/system/numa.h
|
||||||
F: tests/functional/test_cpu_queries.py
|
F: tests/functional/test_cpu_queries.py
|
||||||
F: tests/functional/test_empty_cpu_model.py
|
F: tests/functional/test_empty_cpu_model.py
|
||||||
F: tests/unit/test-smp-parse.c
|
F: tests/unit/test-smp-parse.c
|
||||||
|
@ -2197,9 +2197,9 @@ M: Eric Auger <eric.auger@redhat.com>
|
||||||
M: Zhenzhong Duan <zhenzhong.duan@intel.com>
|
M: Zhenzhong Duan <zhenzhong.duan@intel.com>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: backends/iommufd.c
|
F: backends/iommufd.c
|
||||||
F: include/sysemu/iommufd.h
|
F: include/system/iommufd.h
|
||||||
F: backends/host_iommu_device.c
|
F: backends/host_iommu_device.c
|
||||||
F: include/sysemu/host_iommu_device.h
|
F: include/system/host_iommu_device.h
|
||||||
F: include/qemu/chardev_open.h
|
F: include/qemu/chardev_open.h
|
||||||
F: util/chardev_open.c
|
F: util/chardev_open.c
|
||||||
F: docs/devel/vfio-iommufd.rst
|
F: docs/devel/vfio-iommufd.rst
|
||||||
|
@ -2213,7 +2213,7 @@ F: docs/interop/vhost-user.json
|
||||||
F: docs/interop/vhost-user.rst
|
F: docs/interop/vhost-user.rst
|
||||||
F: contrib/vhost-user-*/
|
F: contrib/vhost-user-*/
|
||||||
F: backends/vhost-user.c
|
F: backends/vhost-user.c
|
||||||
F: include/sysemu/vhost-user-backend.h
|
F: include/system/vhost-user-backend.h
|
||||||
F: subprojects/libvhost-user/
|
F: subprojects/libvhost-user/
|
||||||
|
|
||||||
vhost-shadow-virtqueue
|
vhost-shadow-virtqueue
|
||||||
|
@ -2241,7 +2241,7 @@ F: docs/interop/virtio-balloon-stats.rst
|
||||||
F: hw/virtio/virtio-balloon*.c
|
F: hw/virtio/virtio-balloon*.c
|
||||||
F: include/hw/virtio/virtio-balloon.h
|
F: include/hw/virtio/virtio-balloon.h
|
||||||
F: system/balloon.c
|
F: system/balloon.c
|
||||||
F: include/sysemu/balloon.h
|
F: include/system/balloon.h
|
||||||
F: tests/qtest/virtio-balloon-test.c
|
F: tests/qtest/virtio-balloon-test.c
|
||||||
|
|
||||||
virtio-9p
|
virtio-9p
|
||||||
|
@ -2323,7 +2323,7 @@ R: Amit Shah <amit@kernel.org>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: hw/virtio/virtio-rng.c
|
F: hw/virtio/virtio-rng.c
|
||||||
F: include/hw/virtio/virtio-rng.h
|
F: include/hw/virtio/virtio-rng.h
|
||||||
F: include/sysemu/rng*.h
|
F: include/system/rng*.h
|
||||||
F: backends/rng*.c
|
F: backends/rng*.c
|
||||||
F: tests/qtest/virtio-rng-test.c
|
F: tests/qtest/virtio-rng-test.c
|
||||||
|
|
||||||
|
@ -2849,7 +2849,7 @@ F: hw/block/
|
||||||
F: qapi/block*.json
|
F: qapi/block*.json
|
||||||
F: qapi/transaction.json
|
F: qapi/transaction.json
|
||||||
F: include/block/
|
F: include/block/
|
||||||
F: include/sysemu/block-*.h
|
F: include/system/block-*.h
|
||||||
F: qemu-img*
|
F: qemu-img*
|
||||||
F: docs/tools/qemu-img.rst
|
F: docs/tools/qemu-img.rst
|
||||||
F: qemu-io*
|
F: qemu-io*
|
||||||
|
@ -2988,7 +2988,7 @@ M: Alistair Francis <alistair.francis@wdc.com>
|
||||||
R: David Gibson <david@gibson.dropbear.id.au>
|
R: David Gibson <david@gibson.dropbear.id.au>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: system/device_tree.c
|
F: system/device_tree.c
|
||||||
F: include/sysemu/device_tree.h
|
F: include/system/device_tree.h
|
||||||
|
|
||||||
Dump
|
Dump
|
||||||
S: Supported
|
S: Supported
|
||||||
|
@ -2997,8 +2997,8 @@ F: dump/
|
||||||
F: hw/misc/vmcoreinfo.c
|
F: hw/misc/vmcoreinfo.c
|
||||||
F: include/hw/misc/vmcoreinfo.h
|
F: include/hw/misc/vmcoreinfo.h
|
||||||
F: include/qemu/win_dump_defs
|
F: include/qemu/win_dump_defs
|
||||||
F: include/sysemu/dump-arch.h
|
F: include/system/dump-arch.h
|
||||||
F: include/sysemu/dump.h
|
F: include/system/dump.h
|
||||||
F: qapi/dump.json
|
F: qapi/dump.json
|
||||||
F: scripts/dump-guest-memory.py
|
F: scripts/dump-guest-memory.py
|
||||||
F: stubs/dump.c
|
F: stubs/dump.c
|
||||||
|
@ -3044,7 +3044,7 @@ F: include/exec/memop.h
|
||||||
F: include/exec/memory.h
|
F: include/exec/memory.h
|
||||||
F: include/exec/ram_addr.h
|
F: include/exec/ram_addr.h
|
||||||
F: include/exec/ramblock.h
|
F: include/exec/ramblock.h
|
||||||
F: include/sysemu/memory_mapping.h
|
F: include/system/memory_mapping.h
|
||||||
F: system/dma-helpers.c
|
F: system/dma-helpers.c
|
||||||
F: system/ioport.c
|
F: system/ioport.c
|
||||||
F: system/memory.c
|
F: system/memory.c
|
||||||
|
@ -3097,8 +3097,8 @@ Main loop
|
||||||
M: Paolo Bonzini <pbonzini@redhat.com>
|
M: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: include/qemu/main-loop.h
|
F: include/qemu/main-loop.h
|
||||||
F: include/sysemu/runstate.h
|
F: include/system/runstate.h
|
||||||
F: include/sysemu/runstate-action.h
|
F: include/system/runstate-action.h
|
||||||
F: util/main-loop.c
|
F: util/main-loop.c
|
||||||
F: util/qemu-timer*.c
|
F: util/qemu-timer*.c
|
||||||
F: system/vl.c
|
F: system/vl.c
|
||||||
|
@ -3161,7 +3161,7 @@ M: David Hildenbrand <david@redhat.com>
|
||||||
M: Igor Mammedov <imammedo@redhat.com>
|
M: Igor Mammedov <imammedo@redhat.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: backends/hostmem*.c
|
F: backends/hostmem*.c
|
||||||
F: include/sysemu/hostmem.h
|
F: include/system/hostmem.h
|
||||||
F: docs/system/vm-templating.rst
|
F: docs/system/vm-templating.rst
|
||||||
T: git https://gitlab.com/ehabkost/qemu.git machine-next
|
T: git https://gitlab.com/ehabkost/qemu.git machine-next
|
||||||
|
|
||||||
|
@ -3169,7 +3169,7 @@ Cryptodev Backends
|
||||||
M: Gonglei <arei.gonglei@huawei.com>
|
M: Gonglei <arei.gonglei@huawei.com>
|
||||||
M: zhenwei pi <pizhenwei@bytedance.com>
|
M: zhenwei pi <pizhenwei@bytedance.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: include/sysemu/cryptodev*.h
|
F: include/system/cryptodev*.h
|
||||||
F: backends/cryptodev*.c
|
F: backends/cryptodev*.c
|
||||||
F: qapi/cryptodev.json
|
F: qapi/cryptodev.json
|
||||||
|
|
||||||
|
@ -3318,7 +3318,7 @@ M: Laurent Vivier <lvivier@redhat.com>
|
||||||
R: Paolo Bonzini <pbonzini@redhat.com>
|
R: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: system/qtest.c
|
F: system/qtest.c
|
||||||
F: include/sysemu/qtest.h
|
F: include/system/qtest.h
|
||||||
F: accel/qtest/
|
F: accel/qtest/
|
||||||
F: tests/qtest/
|
F: tests/qtest/
|
||||||
F: docs/devel/qgraph.rst
|
F: docs/devel/qgraph.rst
|
||||||
|
@ -3369,7 +3369,7 @@ T: git https://people.debian.org/~sthibault/qemu.git slirp
|
||||||
|
|
||||||
Stats
|
Stats
|
||||||
S: Orphan
|
S: Orphan
|
||||||
F: include/sysemu/stats.h
|
F: include/system/stats.h
|
||||||
F: stats/
|
F: stats/
|
||||||
F: qapi/stats.json
|
F: qapi/stats.json
|
||||||
|
|
||||||
|
@ -3410,7 +3410,7 @@ S: Maintained
|
||||||
F: system/tpm*
|
F: system/tpm*
|
||||||
F: hw/tpm/*
|
F: hw/tpm/*
|
||||||
F: include/hw/acpi/tpm.h
|
F: include/hw/acpi/tpm.h
|
||||||
F: include/sysemu/tpm*
|
F: include/system/tpm*
|
||||||
F: qapi/tpm.json
|
F: qapi/tpm.json
|
||||||
F: backends/tpm/
|
F: backends/tpm/
|
||||||
F: tests/qtest/*tpm*
|
F: tests/qtest/*tpm*
|
||||||
|
@ -3421,7 +3421,7 @@ SPDM
|
||||||
M: Alistair Francis <alistair.francis@wdc.com>
|
M: Alistair Francis <alistair.francis@wdc.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: backends/spdm-socket.c
|
F: backends/spdm-socket.c
|
||||||
F: include/sysemu/spdm-socket.h
|
F: include/system/spdm-socket.h
|
||||||
|
|
||||||
Checkpatch
|
Checkpatch
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
|
@ -3456,10 +3456,10 @@ Migration dirty limit and dirty page rate
|
||||||
M: Hyman Huang <yong.huang@smartx.com>
|
M: Hyman Huang <yong.huang@smartx.com>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: system/dirtylimit.c
|
F: system/dirtylimit.c
|
||||||
F: include/sysemu/dirtylimit.h
|
F: include/system/dirtylimit.h
|
||||||
F: migration/dirtyrate.c
|
F: migration/dirtyrate.c
|
||||||
F: migration/dirtyrate.h
|
F: migration/dirtyrate.h
|
||||||
F: include/sysemu/dirtyrate.h
|
F: include/system/dirtyrate.h
|
||||||
F: docs/devel/migration/dirty-limit.rst
|
F: docs/devel/migration/dirty-limit.rst
|
||||||
|
|
||||||
Detached LUKS header
|
Detached LUKS header
|
||||||
|
@ -3487,7 +3487,7 @@ Seccomp
|
||||||
M: Daniel P. Berrange <berrange@redhat.com>
|
M: Daniel P. Berrange <berrange@redhat.com>
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
F: system/qemu-seccomp.c
|
F: system/qemu-seccomp.c
|
||||||
F: include/sysemu/seccomp.h
|
F: include/system/seccomp.h
|
||||||
F: tests/unit/test-seccomp.c
|
F: tests/unit/test-seccomp.c
|
||||||
|
|
||||||
Cryptography
|
Cryptography
|
||||||
|
@ -3600,7 +3600,7 @@ F: replay/*
|
||||||
F: block/blkreplay.c
|
F: block/blkreplay.c
|
||||||
F: net/filter-replay.c
|
F: net/filter-replay.c
|
||||||
F: include/exec/replay-core.h
|
F: include/exec/replay-core.h
|
||||||
F: include/sysemu/replay.h
|
F: include/system/replay.h
|
||||||
F: docs/devel/replay.rst
|
F: docs/devel/replay.rst
|
||||||
F: docs/system/replay.rst
|
F: docs/system/replay.rst
|
||||||
F: stubs/replay.c
|
F: stubs/replay.c
|
||||||
|
@ -3719,7 +3719,7 @@ M: Peter Maydell <peter.maydell@linaro.org>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: include/hw/resettable.h
|
F: include/hw/resettable.h
|
||||||
F: include/hw/core/resetcontainer.h
|
F: include/hw/core/resetcontainer.h
|
||||||
F: include/sysemu/reset.h
|
F: include/system/reset.h
|
||||||
F: hw/core/reset.c
|
F: hw/core/reset.c
|
||||||
F: hw/core/resettable.c
|
F: hw/core/resettable.c
|
||||||
F: hw/core/resetcontainer.c
|
F: hw/core/resetcontainer.c
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "qemu/thread.h"
|
#include "qemu/thread.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
#include "sysemu/accel-blocker.h"
|
#include "system/accel-blocker.h"
|
||||||
|
|
||||||
static QemuLockCnt accel_in_ioctl_lock;
|
static QemuLockCnt accel_in_ioctl_lock;
|
||||||
static QemuEvent accel_in_ioctl_event;
|
static QemuEvent accel_in_ioctl_event;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu/accel.h"
|
#include "qemu/accel.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "accel-system.h"
|
#include "accel-system.h"
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu/rcu.h"
|
#include "qemu/rcu.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
|
|
|
@ -54,10 +54,10 @@
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "gdbstub/enums.h"
|
#include "gdbstub/enums.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/hvf.h"
|
#include "system/hvf.h"
|
||||||
#include "sysemu/hvf_int.h"
|
#include "system/hvf_int.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
|
|
||||||
HVFState *hvf_state;
|
HVFState *hvf_state;
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "sysemu/hvf.h"
|
#include "system/hvf.h"
|
||||||
#include "sysemu/hvf_int.h"
|
#include "system/hvf_int.h"
|
||||||
|
|
||||||
const char *hvf_return_string(hv_return_t ret)
|
const char *hvf_return_string(hv_return_t ret)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,10 +16,10 @@
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "sysemu/kvm.h"
|
#include "system/kvm.h"
|
||||||
#include "sysemu/kvm_int.h"
|
#include "system/kvm_int.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
#include "hw/pci/msix.h"
|
#include "hw/pci/msix.h"
|
||||||
#include "hw/s390x/adapter.h"
|
#include "hw/s390x/adapter.h"
|
||||||
#include "gdbstub/enums.h"
|
#include "gdbstub/enums.h"
|
||||||
#include "sysemu/kvm_int.h"
|
#include "system/kvm_int.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/accel-blocker.h"
|
#include "system/accel-blocker.h"
|
||||||
#include "qemu/bswap.h"
|
#include "qemu/bswap.h"
|
||||||
#include "exec/memory.h"
|
#include "exec/memory.h"
|
||||||
#include "exec/ram_addr.h"
|
#include "exec/ram_addr.h"
|
||||||
|
@ -42,15 +42,15 @@
|
||||||
#include "qapi/visitor.h"
|
#include "qapi/visitor.h"
|
||||||
#include "qapi/qapi-types-common.h"
|
#include "qapi/qapi-types-common.h"
|
||||||
#include "qapi/qapi-visit-common.h"
|
#include "qapi/qapi-visit-common.h"
|
||||||
#include "sysemu/reset.h"
|
#include "system/reset.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "sysemu/hw_accel.h"
|
#include "system/hw_accel.h"
|
||||||
#include "kvm-cpus.h"
|
#include "kvm-cpus.h"
|
||||||
#include "sysemu/dirtylimit.h"
|
#include "system/dirtylimit.h"
|
||||||
#include "qemu/range.h"
|
#include "qemu/range.h"
|
||||||
|
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "sysemu/stats.h"
|
#include "system/stats.h"
|
||||||
|
|
||||||
/* This check must be after config-host.h is included */
|
/* This check must be after config-host.h is included */
|
||||||
#ifdef CONFIG_EVENTFD
|
#ifdef CONFIG_EVENTFD
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef KVM_CPUS_H
|
#ifndef KVM_CPUS_H
|
||||||
#define KVM_CPUS_H
|
#define KVM_CPUS_H
|
||||||
|
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
|
|
||||||
int kvm_init_vcpu(CPUState *cpu, Error **errp);
|
int kvm_init_vcpu(CPUState *cpu, Error **errp);
|
||||||
int kvm_cpu_exec(CPUState *cpu);
|
int kvm_cpu_exec(CPUState *cpu);
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/config-file.h"
|
#include "qemu/config-file.h"
|
||||||
#include "qemu/accel.h"
|
#include "qemu/accel.h"
|
||||||
#include "sysemu/qtest.h"
|
#include "system/qtest.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/kvm.h"
|
#include "system/kvm.h"
|
||||||
#include "hw/pci/msi.h"
|
#include "hw/pci/msi.h"
|
||||||
|
|
||||||
KVMState *kvm_state;
|
KVMState *kvm_state;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/xen.h"
|
#include "system/xen.h"
|
||||||
#include "qapi/qapi-commands-migration.h"
|
#include "qapi/qapi-commands-migration.h"
|
||||||
|
|
||||||
bool xen_allowed;
|
bool xen_allowed;
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "qemu/plugin.h"
|
#include "qemu/plugin.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
|
|
||||||
|
|
|
@ -21,24 +21,28 @@
|
||||||
#include "qemu/qemu-print.h"
|
#include "qemu/qemu-print.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/type-helpers.h"
|
#include "qapi/type-helpers.h"
|
||||||
|
#include "hw/core/cpu.h"
|
||||||
#include "hw/core/tcg-cpu-ops.h"
|
#include "hw/core/tcg-cpu-ops.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "disas/disas.h"
|
#include "disas/disas.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/cpu-common.h"
|
||||||
|
#include "exec/page-protection.h"
|
||||||
|
#include "exec/translation-block.h"
|
||||||
#include "tcg/tcg.h"
|
#include "tcg/tcg.h"
|
||||||
#include "qemu/atomic.h"
|
#include "qemu/atomic.h"
|
||||||
#include "qemu/rcu.h"
|
#include "qemu/rcu.h"
|
||||||
#include "exec/log.h"
|
#include "exec/log.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "exec/cpu-all.h"
|
#include "exec/cpu-all.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "exec/replay-core.h"
|
#include "exec/replay-core.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "exec/helper-proto-common.h"
|
#include "exec/helper-proto-common.h"
|
||||||
#include "tb-jmp-cache.h"
|
#include "tb-jmp-cache.h"
|
||||||
#include "tb-hash.h"
|
#include "tb-hash.h"
|
||||||
#include "tb-context.h"
|
#include "tb-context.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
|
|
||||||
|
@ -433,6 +437,16 @@ const void *HELPER(lookup_tb_ptr)(CPUArchState *env)
|
||||||
return tb->tc.ptr;
|
return tb->tc.ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Return the current PC from CPU, which may be cached in TB. */
|
||||||
|
static vaddr log_pc(CPUState *cpu, const TranslationBlock *tb)
|
||||||
|
{
|
||||||
|
if (tb_cflags(tb) & CF_PCREL) {
|
||||||
|
return cpu->cc->get_pc(cpu);
|
||||||
|
} else {
|
||||||
|
return tb->pc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Execute a TB, and fix up the CPU state afterwards if necessary */
|
/* Execute a TB, and fix up the CPU state afterwards if necessary */
|
||||||
/*
|
/*
|
||||||
* Disable CFI checks.
|
* Disable CFI checks.
|
||||||
|
|
|
@ -37,9 +37,10 @@
|
||||||
#include "exec/helper-proto-common.h"
|
#include "exec/helper-proto-common.h"
|
||||||
#include "qemu/atomic.h"
|
#include "qemu/atomic.h"
|
||||||
#include "qemu/atomic128.h"
|
#include "qemu/atomic128.h"
|
||||||
#include "exec/translate-all.h"
|
#include "tb-internal.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "tb-hash.h"
|
#include "tb-hash.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
#ifdef CONFIG_PLUGIN
|
#ifdef CONFIG_PLUGIN
|
||||||
|
@ -1504,7 +1505,7 @@ void *probe_access(CPUArchState *env, vaddr addr, int size,
|
||||||
return host;
|
return host;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *tlb_vaddr_to_host(CPUArchState *env, abi_ptr addr,
|
void *tlb_vaddr_to_host(CPUArchState *env, vaddr addr,
|
||||||
MMUAccessType access_type, int mmu_idx)
|
MMUAccessType access_type, int mmu_idx)
|
||||||
{
|
{
|
||||||
CPUTLBEntryFull *full;
|
CPUTLBEntryFull *full;
|
||||||
|
|
|
@ -27,16 +27,16 @@
|
||||||
#include "migration/vmstate.h"
|
#include "migration/vmstate.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/qtest.h"
|
#include "system/qtest.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/seqlock.h"
|
#include "qemu/seqlock.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "sysemu/cpu-timers-internal.h"
|
#include "system/cpu-timers-internal.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ICOUNT: Instruction Counter
|
* ICOUNT: Instruction Counter
|
||||||
|
|
|
@ -56,4 +56,7 @@ void cpu_restore_state_from_tb(CPUState *cpu, TranslationBlock *tb,
|
||||||
bool tcg_exec_realizefn(CPUState *cpu, Error **errp);
|
bool tcg_exec_realizefn(CPUState *cpu, Error **errp);
|
||||||
void tcg_exec_unrealizefn(CPUState *cpu);
|
void tcg_exec_unrealizefn(CPUState *cpu);
|
||||||
|
|
||||||
|
/* current cflags for hashing/comparison */
|
||||||
|
uint32_t curr_cflags(CPUState *cpu);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
#define ACCEL_TCG_INTERNAL_TARGET_H
|
#define ACCEL_TCG_INTERNAL_TARGET_H
|
||||||
|
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "exec/translate-all.h"
|
#include "exec/translation-block.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Access to the various translations structures need to be serialised
|
* Access to the various translations structures need to be serialised
|
||||||
|
@ -36,50 +37,9 @@ static inline void page_table_config_init(void) { }
|
||||||
void page_table_config_init(void);
|
void page_table_config_init(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
/*
|
|
||||||
* For user-only, page_protect sets the page read-only.
|
|
||||||
* Since most execution is already on read-only pages, and we'd need to
|
|
||||||
* account for other TBs on the same page, defer undoing any page protection
|
|
||||||
* until we receive the write fault.
|
|
||||||
*/
|
|
||||||
static inline void tb_lock_page0(tb_page_addr_t p0)
|
|
||||||
{
|
|
||||||
page_protect(p0);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void tb_lock_page1(tb_page_addr_t p0, tb_page_addr_t p1)
|
|
||||||
{
|
|
||||||
page_protect(p1);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void tb_unlock_page1(tb_page_addr_t p0, tb_page_addr_t p1) { }
|
|
||||||
static inline void tb_unlock_pages(TranslationBlock *tb) { }
|
|
||||||
#else
|
|
||||||
void tb_lock_page0(tb_page_addr_t);
|
|
||||||
void tb_lock_page1(tb_page_addr_t, tb_page_addr_t);
|
|
||||||
void tb_unlock_page1(tb_page_addr_t, tb_page_addr_t);
|
|
||||||
void tb_unlock_pages(TranslationBlock *);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SOFTMMU
|
|
||||||
void tb_invalidate_phys_range_fast(ram_addr_t ram_addr,
|
|
||||||
unsigned size,
|
|
||||||
uintptr_t retaddr);
|
|
||||||
G_NORETURN void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr);
|
G_NORETURN void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr);
|
||||||
#endif /* CONFIG_SOFTMMU */
|
#endif /* CONFIG_USER_ONLY */
|
||||||
|
|
||||||
bool tb_invalidate_phys_page_unwind(tb_page_addr_t addr, uintptr_t pc);
|
|
||||||
|
|
||||||
/* Return the current PC from CPU, which may be cached in TB. */
|
|
||||||
static inline vaddr log_pc(CPUState *cpu, const TranslationBlock *tb)
|
|
||||||
{
|
|
||||||
if (tb_cflags(tb) & CF_PCREL) {
|
|
||||||
return cpu->cc->get_pc(cpu);
|
|
||||||
} else {
|
|
||||||
return tb->pc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* tcg_req_mo:
|
* tcg_req_mo:
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include "qapi/type-helpers.h"
|
#include "qapi/type-helpers.h"
|
||||||
#include "qapi/qapi-commands-machine.h"
|
#include "qapi/qapi-commands-machine.h"
|
||||||
#include "monitor/monitor.h"
|
#include "monitor/monitor.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "tcg/tcg.h"
|
#include "tcg/tcg.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "tb-context.h"
|
#include "tb-context.h"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "exec/cpu-defs.h"
|
#include "exec/cpu-defs.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
|
#include "exec/translation-block.h"
|
||||||
#include "qemu/xxhash.h"
|
#include "qemu/xxhash.h"
|
||||||
#include "tb-jmp-cache.h"
|
#include "tb-jmp-cache.h"
|
||||||
|
|
||||||
|
|
53
accel/tcg/tb-internal.h
Normal file
53
accel/tcg/tb-internal.h
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
/*
|
||||||
|
* TranslationBlock internal declarations (target specific)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2003 Fabrice Bellard
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ACCEL_TCG_TB_INTERNAL_TARGET_H
|
||||||
|
#define ACCEL_TCG_TB_INTERNAL_TARGET_H
|
||||||
|
|
||||||
|
#include "exec/cpu-all.h"
|
||||||
|
#include "exec/exec-all.h"
|
||||||
|
#include "exec/translation-block.h"
|
||||||
|
|
||||||
|
#ifdef CONFIG_USER_ONLY
|
||||||
|
#include "user/page-protection.h"
|
||||||
|
/*
|
||||||
|
* For user-only, page_protect sets the page read-only.
|
||||||
|
* Since most execution is already on read-only pages, and we'd need to
|
||||||
|
* account for other TBs on the same page, defer undoing any page protection
|
||||||
|
* until we receive the write fault.
|
||||||
|
*/
|
||||||
|
static inline void tb_lock_page0(tb_page_addr_t p0)
|
||||||
|
{
|
||||||
|
page_protect(p0);
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline void tb_lock_page1(tb_page_addr_t p0, tb_page_addr_t p1)
|
||||||
|
{
|
||||||
|
page_protect(p1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline void tb_unlock_page1(tb_page_addr_t p0, tb_page_addr_t p1) { }
|
||||||
|
static inline void tb_unlock_pages(TranslationBlock *tb) { }
|
||||||
|
#else
|
||||||
|
void tb_lock_page0(tb_page_addr_t);
|
||||||
|
void tb_lock_page1(tb_page_addr_t, tb_page_addr_t);
|
||||||
|
void tb_unlock_page1(tb_page_addr_t, tb_page_addr_t);
|
||||||
|
void tb_unlock_pages(TranslationBlock *);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_SOFTMMU
|
||||||
|
void tb_invalidate_phys_range_fast(ram_addr_t ram_addr,
|
||||||
|
unsigned size,
|
||||||
|
uintptr_t retaddr);
|
||||||
|
#endif /* CONFIG_SOFTMMU */
|
||||||
|
|
||||||
|
bool tb_invalidate_phys_page_unwind(tb_page_addr_t addr, uintptr_t pc);
|
||||||
|
|
||||||
|
void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr);
|
||||||
|
|
||||||
|
#endif
|
|
@ -25,13 +25,17 @@
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "exec/page-protection.h"
|
#include "exec/page-protection.h"
|
||||||
#include "exec/tb-flush.h"
|
#include "exec/tb-flush.h"
|
||||||
#include "exec/translate-all.h"
|
#include "tb-internal.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "tcg/tcg.h"
|
#include "tcg/tcg.h"
|
||||||
#include "tb-hash.h"
|
#include "tb-hash.h"
|
||||||
#include "tb-context.h"
|
#include "tb-context.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
|
#ifdef CONFIG_USER_ONLY
|
||||||
|
#include "user/page-protection.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* List iterators for lists of tagged pointers in TranslationBlock. */
|
/* List iterators for lists of tagged pointers in TranslationBlock. */
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/notify.h"
|
#include "qemu/notify.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu/lockable.h"
|
#include "qemu/lockable.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/notify.h"
|
#include "qemu/notify.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
|
|
|
@ -26,15 +26,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "exec/hwaddr.h"
|
#include "exec/hwaddr.h"
|
||||||
#include "exec/tb-flush.h"
|
#include "exec/tb-flush.h"
|
||||||
|
#include "exec/translation-block.h"
|
||||||
#include "gdbstub/enums.h"
|
#include "gdbstub/enums.h"
|
||||||
|
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef TCG_ACCEL_OPS_H
|
#ifndef TCG_ACCEL_OPS_H
|
||||||
#define TCG_ACCEL_OPS_H
|
#define TCG_ACCEL_OPS_H
|
||||||
|
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
|
|
||||||
void tcg_cpu_destroy(CPUState *cpu);
|
void tcg_cpu_destroy(CPUState *cpu);
|
||||||
int tcg_cpu_exec(CPUState *cpu);
|
int tcg_cpu_exec(CPUState *cpu);
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "exec/replay-core.h"
|
#include "exec/replay-core.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "tcg/startup.h"
|
#include "tcg/startup.h"
|
||||||
#include "tcg/oversized-guest.h"
|
#include "tcg/oversized-guest.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
|
@ -44,7 +44,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "exec/cputlb.h"
|
#include "exec/cputlb.h"
|
||||||
#include "exec/translate-all.h"
|
#include "exec/page-protection.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
#include "exec/translator.h"
|
#include "exec/translator.h"
|
||||||
#include "exec/tb-flush.h"
|
#include "exec/tb-flush.h"
|
||||||
#include "qemu/bitmap.h"
|
#include "qemu/bitmap.h"
|
||||||
|
@ -53,14 +54,15 @@
|
||||||
#include "qemu/cacheinfo.h"
|
#include "qemu/cacheinfo.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
#include "exec/log.h"
|
#include "exec/log.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/cpu-timers.h"
|
#include "system/cpu-timers.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "system/tcg.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "hw/core/tcg-cpu-ops.h"
|
#include "hw/core/tcg-cpu-ops.h"
|
||||||
#include "tb-jmp-cache.h"
|
#include "tb-jmp-cache.h"
|
||||||
#include "tb-hash.h"
|
#include "tb-hash.h"
|
||||||
#include "tb-context.h"
|
#include "tb-context.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
#include "tcg/perf.h"
|
#include "tcg/perf.h"
|
||||||
|
|
|
@ -15,9 +15,11 @@
|
||||||
#include "exec/cpu_ldst.h"
|
#include "exec/cpu_ldst.h"
|
||||||
#include "exec/plugin-gen.h"
|
#include "exec/plugin-gen.h"
|
||||||
#include "exec/cpu_ldst.h"
|
#include "exec/cpu_ldst.h"
|
||||||
|
#include "exec/tswap.h"
|
||||||
#include "tcg/tcg-op-common.h"
|
#include "tcg/tcg-op-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
#include "disas/disas.h"
|
#include "disas/disas.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
|
|
||||||
static void set_can_do_io(DisasContextBase *db, bool val)
|
static void set_can_do_io(DisasContextBase *db, bool val)
|
||||||
{
|
{
|
||||||
|
@ -102,6 +104,11 @@ static void gen_tb_end(const TranslationBlock *tb, uint32_t cflags,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool translator_is_same_page(const DisasContextBase *db, vaddr addr)
|
||||||
|
{
|
||||||
|
return ((addr ^ db->pc_first) & TARGET_PAGE_MASK) == 0;
|
||||||
|
}
|
||||||
|
|
||||||
bool translator_use_goto_tb(DisasContextBase *db, vaddr dest)
|
bool translator_use_goto_tb(DisasContextBase *db, vaddr dest)
|
||||||
{
|
{
|
||||||
/* Suppress goto_tb if requested. */
|
/* Suppress goto_tb if requested. */
|
||||||
|
@ -110,7 +117,7 @@ bool translator_use_goto_tb(DisasContextBase *db, vaddr dest)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check for the dest on the same page as the start of the TB. */
|
/* Check for the dest on the same page as the start of the TB. */
|
||||||
return ((db->pc_first ^ dest) & TARGET_PAGE_MASK) == 0;
|
return translator_is_same_page(db, dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns,
|
void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns,
|
||||||
|
|
|
@ -24,8 +24,9 @@
|
||||||
#include "qemu/bitops.h"
|
#include "qemu/bitops.h"
|
||||||
#include "qemu/rcu.h"
|
#include "qemu/rcu.h"
|
||||||
#include "exec/cpu_ldst.h"
|
#include "exec/cpu_ldst.h"
|
||||||
|
#include "user/cpu_loop.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "exec/translate-all.h"
|
#include "user/page-protection.h"
|
||||||
#include "exec/page-protection.h"
|
#include "exec/page-protection.h"
|
||||||
#include "exec/helper-proto.h"
|
#include "exec/helper-proto.h"
|
||||||
#include "qemu/atomic128.h"
|
#include "qemu/atomic128.h"
|
||||||
|
@ -33,6 +34,7 @@
|
||||||
#include "tcg/tcg-ldst.h"
|
#include "tcg/tcg-ldst.h"
|
||||||
#include "internal-common.h"
|
#include "internal-common.h"
|
||||||
#include "internal-target.h"
|
#include "internal-target.h"
|
||||||
|
#include "tb-internal.h"
|
||||||
|
|
||||||
__thread uintptr_t helper_retaddr;
|
__thread uintptr_t helper_retaddr;
|
||||||
|
|
||||||
|
@ -696,7 +698,7 @@ void page_protect(tb_page_addr_t address)
|
||||||
* immediately exited. (We can only return 2 if the 'pc' argument is
|
* immediately exited. (We can only return 2 if the 'pc' argument is
|
||||||
* non-zero.)
|
* non-zero.)
|
||||||
*/
|
*/
|
||||||
int page_unprotect(target_ulong address, uintptr_t pc)
|
int page_unprotect(tb_page_addr_t address, uintptr_t pc)
|
||||||
{
|
{
|
||||||
PageFlagsNode *p;
|
PageFlagsNode *p;
|
||||||
bool current_tb_invalidated;
|
bool current_tb_invalidated;
|
||||||
|
|
|
@ -21,11 +21,14 @@
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "exec/translate-all.h"
|
#include "exec/page-protection.h"
|
||||||
#include "sysemu/tcg.h"
|
#include "exec/translation-block.h"
|
||||||
#include "sysemu/replay.h"
|
#include "tb-internal.h"
|
||||||
|
#include "system/tcg.h"
|
||||||
|
#include "system/replay.h"
|
||||||
#include "hw/core/tcg-cpu-ops.h"
|
#include "hw/core/tcg-cpu-ops.h"
|
||||||
#include "hw/core/cpu.h"
|
#include "hw/core/cpu.h"
|
||||||
|
#include "internal-common.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return true if this watchpoint address matches the specified
|
* Return true if this watchpoint address matches the specified
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
#include "hw/xen/xen_igd.h"
|
#include "hw/xen/xen_igd.h"
|
||||||
#include "chardev/char.h"
|
#include "chardev/char.h"
|
||||||
#include "qemu/accel.h"
|
#include "qemu/accel.h"
|
||||||
#include "sysemu/cpus.h"
|
#include "system/cpus.h"
|
||||||
#include "sysemu/xen.h"
|
#include "system/xen.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "migration/misc.h"
|
#include "migration/misc.h"
|
||||||
#include "migration/global_state.h"
|
#include "migration/global_state.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
|
|
|
@ -38,9 +38,9 @@
|
||||||
#include "qemu/log.h"
|
#include "qemu/log.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/help_option.h"
|
#include "qemu/help_option.h"
|
||||||
#include "sysemu/sysemu.h"
|
#include "system/system.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "ui/qemu-spice.h"
|
#include "ui/qemu-spice.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
|
|
||||||
#include "exec/confidential-guest-support.h"
|
#include "system/confidential-guest-support.h"
|
||||||
|
|
||||||
OBJECT_DEFINE_ABSTRACT_TYPE(ConfidentialGuestSupport,
|
OBJECT_DEFINE_ABSTRACT_TYPE(ConfidentialGuestSupport,
|
||||||
confidential_guest_support,
|
confidential_guest_support,
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/cryptodev.h"
|
#include "system/cryptodev.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "standard-headers/linux/virtio_crypto.h"
|
#include "standard-headers/linux/virtio_crypto.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/queue.h"
|
#include "qemu/queue.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
#include "sysemu/cryptodev.h"
|
#include "system/cryptodev.h"
|
||||||
#include "standard-headers/linux/virtio_crypto.h"
|
#include "standard-headers/linux/virtio_crypto.h"
|
||||||
|
|
||||||
#include <keyutils.h>
|
#include <keyutils.h>
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "hw/virtio/vhost-user.h"
|
#include "hw/virtio/vhost-user.h"
|
||||||
#include "standard-headers/linux/virtio_crypto.h"
|
#include "standard-headers/linux/virtio_crypto.h"
|
||||||
#include "sysemu/cryptodev-vhost.h"
|
#include "system/cryptodev-vhost.h"
|
||||||
#include "chardev/char-fe.h"
|
#include "chardev/char-fe.h"
|
||||||
#include "sysemu/cryptodev-vhost-user.h"
|
#include "system/cryptodev-vhost-user.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "hw/virtio/virtio-bus.h"
|
#include "hw/virtio/virtio-bus.h"
|
||||||
#include "sysemu/cryptodev-vhost.h"
|
#include "system/cryptodev-vhost.h"
|
||||||
|
|
||||||
#ifdef CONFIG_VHOST_CRYPTO
|
#ifdef CONFIG_VHOST_CRYPTO
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "hw/virtio/virtio-crypto.h"
|
#include "hw/virtio/virtio-crypto.h"
|
||||||
#include "sysemu/cryptodev-vhost-user.h"
|
#include "system/cryptodev-vhost-user.h"
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
cryptodev_vhost_get_max_queues(
|
cryptodev_vhost_get_max_queues(
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/cryptodev.h"
|
#include "system/cryptodev.h"
|
||||||
#include "sysemu/stats.h"
|
#include "system/stats.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-commands-cryptodev.h"
|
#include "qapi/qapi-commands-cryptodev.h"
|
||||||
#include "qapi/qapi-types-stats.h"
|
#include "qapi/qapi-types-stats.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/host_iommu_device.h"
|
#include "system/host_iommu_device.h"
|
||||||
|
|
||||||
OBJECT_DEFINE_ABSTRACT_TYPE(HostIOMMUDevice,
|
OBJECT_DEFINE_ABSTRACT_TYPE(HostIOMMUDevice,
|
||||||
host_iommu_device,
|
host_iommu_device,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "hw/i386/hostmem-epc.h"
|
#include "hw/i386/hostmem-epc.h"
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/madvise.h"
|
#include "qemu/madvise.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
#include "qapi/visitor.h"
|
#include "qapi/visitor.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
#include "qemu/memfd.h"
|
#include "qemu/memfd.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
||||||
#define TYPE_MEMORY_BACKEND_SHM "memory-backend-shm"
|
#define TYPE_MEMORY_BACKEND_SHM "memory-backend-shm"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/hostmem.h"
|
#include "system/hostmem.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-builtin-visit.h"
|
#include "qapi/qapi-builtin-visit.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/iommufd.h"
|
#include "system/iommufd.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/rng.h"
|
#include "system/rng.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/guest-random.h"
|
#include "qemu/guest-random.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
|
|
||||||
OBJECT_DECLARE_SIMPLE_TYPE(RngBuiltin, RNG_BUILTIN)
|
OBJECT_DECLARE_SIMPLE_TYPE(RngBuiltin, RNG_BUILTIN)
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/rng.h"
|
#include "system/rng.h"
|
||||||
#include "chardev/char-fe.h"
|
#include "chardev/char-fe.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qerror.h"
|
#include "qapi/qmp/qerror.h"
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/rng-random.h"
|
#include "system/rng-random.h"
|
||||||
#include "sysemu/rng.h"
|
#include "system/rng.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qerror.h"
|
#include "qapi/qmp/qerror.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/rng.h"
|
#include "system/rng.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/spdm-socket.h"
|
#include "system/spdm-socket.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
||||||
static bool read_bytes(const int socket, uint8_t *buffer,
|
static bool read_bytes(const int socket, uint8_t *buffer,
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/tpm_backend.h"
|
#include "system/tpm_backend.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "sysemu/tpm.h"
|
#include "system/tpm.h"
|
||||||
#include "qemu/thread.h"
|
#include "qemu/thread.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
#include "qemu/sockets.h"
|
#include "qemu/sockets.h"
|
||||||
#include "qemu/lockable.h"
|
#include "qemu/lockable.h"
|
||||||
#include "io/channel-socket.h"
|
#include "io/channel-socket.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "sysemu/tpm_backend.h"
|
#include "system/tpm_backend.h"
|
||||||
#include "sysemu/tpm_util.h"
|
#include "system/tpm_util.h"
|
||||||
#include "tpm_int.h"
|
#include "tpm_int.h"
|
||||||
#include "tpm_ioctl.h"
|
#include "tpm_ioctl.h"
|
||||||
#include "migration/blocker.h"
|
#include "migration/blocker.h"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#define BACKENDS_TPM_INT_H
|
#define BACKENDS_TPM_INT_H
|
||||||
|
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "sysemu/tpm.h"
|
#include "system/tpm.h"
|
||||||
|
|
||||||
#define TPM_STANDARD_CMDLINE_OPTS \
|
#define TPM_STANDARD_CMDLINE_OPTS \
|
||||||
{ \
|
{ \
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/sockets.h"
|
#include "qemu/sockets.h"
|
||||||
#include "sysemu/tpm_backend.h"
|
#include "system/tpm_backend.h"
|
||||||
#include "sysemu/tpm_util.h"
|
#include "system/tpm_util.h"
|
||||||
#include "tpm_int.h"
|
#include "tpm_int.h"
|
||||||
#include "qapi/clone-visitor.h"
|
#include "qapi/clone-visitor.h"
|
||||||
#include "qapi/qapi-visit-tpm.h"
|
#include "qapi/qapi-visit-tpm.h"
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
#include "tpm_int.h"
|
#include "tpm_int.h"
|
||||||
#include "exec/memory.h"
|
#include "exec/memory.h"
|
||||||
#include "hw/qdev-properties.h"
|
#include "hw/qdev-properties.h"
|
||||||
#include "sysemu/tpm_backend.h"
|
#include "system/tpm_backend.h"
|
||||||
#include "sysemu/tpm_util.h"
|
#include "system/tpm_util.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
/* tpm backend property */
|
/* tpm backend property */
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qom/object_interfaces.h"
|
#include "qom/object_interfaces.h"
|
||||||
#include "sysemu/vhost-user-backend.h"
|
#include "system/vhost-user-backend.h"
|
||||||
#include "sysemu/kvm.h"
|
#include "system/kvm.h"
|
||||||
#include "io/channel-command.h"
|
#include "io/channel-command.h"
|
||||||
#include "hw/virtio/virtio-bus.h"
|
#include "hw/virtio/virtio-bus.h"
|
||||||
|
|
||||||
|
|
2
block.c
2
block.c
|
@ -42,7 +42,7 @@
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qapi/qobject-output-visitor.h"
|
#include "qapi/qobject-output-visitor.h"
|
||||||
#include "qapi/qapi-visit-block-core.h"
|
#include "qapi/qapi-visit-block-core.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/notify.h"
|
#include "qemu/notify.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/coroutine.h"
|
#include "qemu/coroutine.h"
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "block/accounting.h"
|
#include "block/accounting.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
#include "sysemu/qtest.h"
|
#include "system/qtest.h"
|
||||||
|
|
||||||
static QEMUClockType clock_type = QEMU_CLOCK_REALTIME;
|
static QEMUClockType clock_type = QEMU_CLOCK_REALTIME;
|
||||||
static const int qtest_latency_ns = NANOSECONDS_PER_SECOND / 1000;
|
static const int qtest_latency_ns = NANOSECONDS_PER_SECOND / 1000;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "block/dirty-bitmap.h"
|
#include "block/dirty-bitmap.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/bitmap.h"
|
#include "qemu/bitmap.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "qapi/qmp/qlist.h"
|
#include "qapi/qmp/qlist.h"
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qapi/qobject-input-visitor.h"
|
#include "qapi/qobject-input-visitor.h"
|
||||||
#include "sysemu/qtest.h"
|
#include "system/qtest.h"
|
||||||
|
|
||||||
/* All APIs are thread-safe */
|
/* All APIs are thread-safe */
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "exec/memory.h" /* for ram_block_discard_disable() */
|
#include "exec/memory.h" /* for ram_block_discard_disable() */
|
||||||
|
|
||||||
#include "block/block-io.h"
|
#include "block/block-io.h"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "block/block-io.h"
|
#include "block/block-io.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
||||||
typedef struct Request {
|
typedef struct Request {
|
||||||
|
|
|
@ -11,15 +11,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/blockjob.h"
|
#include "block/blockjob.h"
|
||||||
#include "block/coroutines.h"
|
#include "block/coroutines.h"
|
||||||
#include "block/throttle-groups.h"
|
#include "block/throttle-groups.h"
|
||||||
#include "hw/qdev-core.h"
|
#include "hw/qdev-core.h"
|
||||||
#include "sysemu/blockdev.h"
|
#include "system/blockdev.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "system/runstate.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-events-block.h"
|
#include "qapi/qapi-events-block.h"
|
||||||
#include "qemu/id.h"
|
#include "qemu/id.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "block/block_int-io.h"
|
#include "block/block_int-io.h"
|
||||||
#include "block/dirty-bitmap.h"
|
#include "block/dirty-bitmap.h"
|
||||||
#include "block/reqlist.h"
|
#include "block/reqlist.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/units.h"
|
#include "qemu/units.h"
|
||||||
#include "qemu/co-shared-resource.h"
|
#include "qemu/co-shared-resource.h"
|
||||||
#include "qemu/coroutine.h"
|
#include "qemu/coroutine.h"
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "sysemu/block-ram-registrar.h"
|
#include "system/block-ram-registrar.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
|
|
||||||
static void ram_block_added(RAMBlockNotifier *n, void *host, size_t size,
|
static void ram_block_added(RAMBlockNotifier *n, void *host, size_t size,
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/ratelimit.h"
|
#include "qemu/ratelimit.h"
|
||||||
#include "qemu/memalign.h"
|
#include "qemu/memalign.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qapi/qmp/qjson.h"
|
#include "qapi/qmp/qjson.h"
|
||||||
|
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
|
|
||||||
/* For blk_bs() in generated block/block-gen.c */
|
/* For blk_bs() in generated block/block-gen.c */
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* I/O API functions. These functions are thread-safe.
|
* I/O API functions. These functions are thread-safe.
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
|
#include "qemu/clang-tsa.h"
|
||||||
#include "qemu/job.h"
|
#include "qemu/job.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qapi/qapi-commands-block-core.h"
|
#include "qapi/qapi-commands-block-core.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "crypto/block.h"
|
#include "crypto/block.h"
|
||||||
#include "qapi/opts-visitor.h"
|
#include "qapi/opts-visitor.h"
|
||||||
#include "qapi/qapi-visit-crypto.h"
|
#include "qapi/qapi-visit-crypto.h"
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
|
|
||||||
#include "block/block.h"
|
#include "block/block.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "sysemu/iothread.h"
|
#include "system/iothread.h"
|
||||||
#include "block/export.h"
|
#include "block/export.h"
|
||||||
#include "block/fuse.h"
|
#include "block/fuse.h"
|
||||||
#include "block/nbd.h"
|
#include "block/nbd.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-commands-block.h"
|
#include "qapi/qapi-commands-block.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
#include <fuse.h>
|
#include <fuse.h>
|
||||||
#include <fuse_lowlevel.h>
|
#include <fuse_lowlevel.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef VIRTIO_BLK_HANDLER_H
|
#ifndef VIRTIO_BLK_HANDLER_H
|
||||||
#define VIRTIO_BLK_HANDLER_H
|
#define VIRTIO_BLK_HANDLER_H
|
||||||
|
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
#define VIRTIO_BLK_SECTOR_BITS 9
|
#define VIRTIO_BLK_SECTOR_BITS 9
|
||||||
#define VIRTIO_BLK_SECTOR_SIZE (1ULL << VIRTIO_BLK_SECTOR_BITS)
|
#define VIRTIO_BLK_SECTOR_SIZE (1ULL << VIRTIO_BLK_SECTOR_BITS)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "block/aio-wait.h"
|
#include "block/aio-wait.h"
|
||||||
#include "block/blockjob.h"
|
#include "block/blockjob.h"
|
||||||
#include "block/blockjob_int.h"
|
#include "block/blockjob_int.h"
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
|
|
||||||
/* Maximum bounce buffer for copy-on-read and write zeroes, in bytes */
|
/* Maximum bounce buffer for copy-on-read and write zeroes, in bytes */
|
||||||
#define MAX_BOUNCE_BUFFER (32768 << BDRV_SECTOR_BITS)
|
#define MAX_BOUNCE_BUFFER (32768 << BDRV_SECTOR_BITS)
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "qemu/coroutine.h"
|
#include "qemu/coroutine.h"
|
||||||
#include "qemu/defer-call.h"
|
#include "qemu/defer-call.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
/* Only used for assertions. */
|
/* Only used for assertions. */
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include "sysemu/sysemu.h"
|
#include "system/system.h"
|
||||||
#include "qemu/config-file.h"
|
#include "qemu/config-file.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/bitops.h"
|
#include "qemu/bitops.h"
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/uuid.h"
|
#include "qemu/uuid.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-commands-machine.h"
|
#include "qapi/qapi-commands-machine.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include "qemu/coroutine.h"
|
#include "qemu/coroutine.h"
|
||||||
#include "qemu/defer-call.h"
|
#include "qemu/defer-call.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
/* Only used for assertions. */
|
/* Only used for assertions. */
|
||||||
#include "qemu/coroutine_int.h"
|
#include "qemu/coroutine_int.h"
|
||||||
|
|
|
@ -154,8 +154,8 @@ block_gen_c = custom_target('block-gen.c',
|
||||||
'../include/block/dirty-bitmap.h',
|
'../include/block/dirty-bitmap.h',
|
||||||
'../include/block/block_int-io.h',
|
'../include/block/block_int-io.h',
|
||||||
'../include/block/block-global-state.h',
|
'../include/block/block-global-state.h',
|
||||||
'../include/sysemu/block-backend-global-state.h',
|
'../include/system/block-backend-global-state.h',
|
||||||
'../include/sysemu/block-backend-io.h',
|
'../include/system/block-backend-io.h',
|
||||||
'coroutines.h'
|
'coroutines.h'
|
||||||
),
|
),
|
||||||
command: [wrapper_py, '@OUTPUT@', '@INPUT@'])
|
command: [wrapper_py, '@OUTPUT@', '@INPUT@'])
|
||||||
|
@ -163,7 +163,7 @@ block_ss.add(block_gen_c)
|
||||||
|
|
||||||
block_ss.add(files('stream.c'))
|
block_ss.add(files('stream.c'))
|
||||||
|
|
||||||
system_ss.add(files('qapi-sysemu.c'))
|
system_ss.add(files('qapi-system.c'))
|
||||||
|
|
||||||
subdir('export')
|
subdir('export')
|
||||||
subdir('monitor')
|
subdir('monitor')
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "block/blockjob_int.h"
|
#include "block/blockjob_int.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/dirty-bitmap.h"
|
#include "block/dirty-bitmap.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/ratelimit.h"
|
#include "qemu/ratelimit.h"
|
||||||
#include "qemu/bitmap.h"
|
#include "qemu/bitmap.h"
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "sysemu/blockdev.h"
|
#include "system/blockdev.h"
|
||||||
#include "qapi/qapi-commands-block.h"
|
#include "qapi/qapi-commands-block.h"
|
||||||
#include "qapi/qapi-commands-block-export.h"
|
#include "qapi/qapi-commands-block-export.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
#include "qemu/sockets.h"
|
#include "qemu/sockets.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "sysemu/sysemu.h"
|
#include "system/system.h"
|
||||||
#include "monitor/monitor.h"
|
#include "monitor/monitor.h"
|
||||||
#include "monitor/hmp.h"
|
#include "monitor/hmp.h"
|
||||||
#include "block/nbd.h"
|
#include "block/nbd.h"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "qapi/qapi-visit-block-core.h"
|
#include "qapi/qapi-visit-block-core.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "block/block-io.h"
|
#include "block/block-io.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
|
|
||||||
#define NULL_OPT_LATENCY "latency-ns"
|
#define NULL_OPT_LATENCY "latency-ns"
|
||||||
#define NULL_OPT_ZEROES "read-zeroes"
|
#define NULL_OPT_ZEROES "read-zeroes"
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
#include "qemu/vfio-helpers.h"
|
#include "qemu/vfio-helpers.h"
|
||||||
#include "block/block-io.h"
|
#include "block/block-io.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
#include "block/nvme.h"
|
#include "block/nvme.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-commands-block.h"
|
#include "qapi/qapi-commands-block.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "sysemu/blockdev.h"
|
#include "system/blockdev.h"
|
||||||
|
|
||||||
static BlockBackend *qmp_get_blk(const char *blk_name, const char *qdev_id,
|
static BlockBackend *qmp_get_blk(const char *blk_name, const char *qdev_id,
|
||||||
Error **errp)
|
Error **errp)
|
|
@ -39,7 +39,7 @@
|
||||||
#include "qapi/qmp/qnum.h"
|
#include "qapi/qmp/qnum.h"
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qemu/qemu-print.h"
|
#include "qemu/qemu-print.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
BlockDeviceInfo *bdrv_block_device_info(BlockBackend *blk,
|
BlockDeviceInfo *bdrv_block_device_info(BlockBackend *blk,
|
||||||
BlockDriverState *bs,
|
BlockDriverState *bs,
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/bswap.h"
|
#include "qemu/bswap.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qcow2.h"
|
#include "qcow2.h"
|
||||||
#include "qemu/bswap.h"
|
#include "qemu/bswap.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
|
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qcow2.h"
|
#include "qcow2.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "qemu/memalign.h"
|
#include "qemu/memalign.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "qed.h"
|
#include "qed.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qapi/qobject-input-visitor.h"
|
#include "qapi/qobject-input-visitor.h"
|
||||||
#include "qapi/qapi-visit-block-core.h"
|
#include "qapi/qapi-visit-block-core.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "crypto/secret.h"
|
#include "crypto/secret.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "sysemu/replay.h"
|
#include "system/replay.h"
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qapi/qmp/qjson.h"
|
#include "qapi/qmp/qjson.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "block/blockjob.h"
|
#include "block/blockjob.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/block_backup.h"
|
#include "block/block_backup.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "block/replication.h"
|
#include "block/replication.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
|
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
|
|
||||||
QemuOptsList internal_snapshot_opts = {
|
QemuOptsList internal_snapshot_opts = {
|
||||||
.name = "snapshot",
|
.name = "snapshot",
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qemu/ratelimit.h"
|
#include "qemu/ratelimit.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "block/copy-on-read.h"
|
#include "block/copy-on-read.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
|
@ -23,13 +23,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "block/throttle-groups.h"
|
#include "block/throttle-groups.h"
|
||||||
#include "qemu/throttle-options.h"
|
#include "qemu/throttle-options.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qemu/queue.h"
|
#include "qemu/queue.h"
|
||||||
#include "qemu/thread.h"
|
#include "qemu/thread.h"
|
||||||
#include "sysemu/qtest.h"
|
#include "system/qtest.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-visit-block-core.h"
|
#include "qapi/qapi-visit-block-core.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
#include "qapi/qapi-visit-block-core.h"
|
#include "qapi/qapi-visit-block-core.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "system/block-backend.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/bswap.h"
|
#include "qemu/bswap.h"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue