include: Rename sysemu/ -> system/

Headers in include/sysemu/ are not only related to system
*emulation*, they are also used by virtualization. Rename
as system/ which is clearer.

Files renamed manually then mechanical change using sed tool.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Lei Yang <leiyang@redhat.com>
Message-Id: <20241203172445.28576-1-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-12-03 15:20:13 +01:00
parent 63cda19446
commit 32cad1ffb8
965 changed files with 1708 additions and 1707 deletions

View file

@ -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
@ -434,7 +434,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
@ -447,7 +447,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>
@ -481,7 +481,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
@ -493,7 +493,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
@ -517,14 +517,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)
--------------------- ---------------------
@ -550,8 +550,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
@ -561,7 +561,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
@ -579,7 +579,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
@ -1866,7 +1866,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
@ -1879,7 +1879,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
@ -2189,9 +2189,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
@ -2205,7 +2205,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
@ -2233,7 +2233,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
@ -2315,7 +2315,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
@ -2841,7 +2841,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*
@ -2980,7 +2980,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
@ -2989,8 +2989,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
@ -3036,7 +3036,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
@ -3089,8 +3089,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
@ -3153,7 +3153,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
@ -3161,7 +3161,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
@ -3310,7 +3310,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
@ -3361,7 +3361,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
@ -3402,7 +3402,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*
@ -3413,7 +3413,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
@ -3448,10 +3448,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
@ -3479,7 +3479,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
@ -3592,7 +3592,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
@ -3711,7 +3711,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

View file

@ -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;

View file

@ -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"

View file

@ -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"

View file

@ -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;

View file

@ -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)
{ {

View file

@ -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"

View file

@ -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

View file

@ -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);

View file

@ -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"

View file

@ -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;

View file

@ -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;

View file

@ -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"

View file

@ -30,11 +30,11 @@
#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"

View file

@ -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

View file

@ -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"

View file

@ -26,7 +26,7 @@
#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 "exec/translate-all.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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -26,9 +26,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/guest-random.h" #include "qemu/guest-random.h"
#include "qemu/timer.h" #include "qemu/timer.h"

View file

@ -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);

View file

@ -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"

View file

@ -53,9 +53,9 @@
#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"

View file

@ -22,8 +22,8 @@
#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/translate-all.h"
#include "sysemu/tcg.h" #include "system/tcg.h"
#include "sysemu/replay.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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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>

View file

@ -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"

View file

@ -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(

View file

@ -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"

View file

@ -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,

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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)

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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,

View file

@ -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"

View file

@ -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"

View file

@ -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 \
{ \ { \

View file

@ -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"

View file

@ -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 */

View file

@ -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"

View file

@ -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"

View file

@ -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;

View file

@ -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"

View file

@ -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 */

View file

@ -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"

View file

@ -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 {

View file

@ -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"

View file

@ -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"

View file

@ -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,

View file

@ -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 {
/* /*

View file

@ -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"

View file

@ -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.

View file

@ -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"

View file

@ -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"

View file

@ -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>

View file

@ -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)

View file

@ -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)

View file

@ -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. */

View file

@ -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"

View file

@ -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"

View file

@ -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')

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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)

View file

@ -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,

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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",

View file

@ -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 {

View file

@ -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"

View file

@ -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"

View file

@ -19,7 +19,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 "qemu/crc32c.h" #include "qemu/crc32c.h"

View file

@ -26,7 +26,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "block/block_int.h" #include "block/block_int.h"
#include "sysemu/block-backend.h" #include "system/block-backend.h"
#include "qapi/qmp/qdict.h" #include "qapi/qmp/qdict.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"

View file

@ -27,7 +27,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 "migration/blocker.h" #include "migration/blocker.h"

View file

@ -10,8 +10,8 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/blockdev.h" #include "system/blockdev.h"
#include "sysemu/block-backend.h" #include "system/block-backend.h"
#include "hw/block/block.h" #include "hw/block/block.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/clone-visitor.h" #include "qapi/clone-visitor.h"

View file

@ -31,8 +31,8 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/block-backend.h" #include "system/block-backend.h"
#include "sysemu/blockdev.h" #include "system/blockdev.h"
#include "hw/block/block.h" #include "hw/block/block.h"
#include "block/blockjob.h" #include "block/blockjob.h"
#include "block/dirty-bitmap.h" #include "block/dirty-bitmap.h"
@ -53,12 +53,12 @@
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "qapi/qmp/qlist.h" #include "qapi/qmp/qlist.h"
#include "qapi/qobject-output-visitor.h" #include "qapi/qobject-output-visitor.h"
#include "sysemu/sysemu.h" #include "system/system.h"
#include "sysemu/iothread.h" #include "system/iothread.h"
#include "block/block_int.h" #include "block/block_int.h"
#include "block/trace.h" #include "block/trace.h"
#include "sysemu/runstate.h" #include "system/runstate.h"
#include "sysemu/replay.h" #include "system/replay.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"

View file

@ -29,7 +29,7 @@
#include "block/blockjob_int.h" #include "block/blockjob_int.h"
#include "block/block_int.h" #include "block/block_int.h"
#include "block/trace.h" #include "block/trace.h"
#include "sysemu/block-backend.h" #include "system/block-backend.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-events-block-core.h" #include "qapi/qapi-events-block-core.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"

View file

@ -24,7 +24,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/replay.h" #include "system/replay.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "chardev/char-io.h" #include "chardev/char-io.h"

View file

@ -28,7 +28,7 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "sysemu/block-backend.h" #include "system/block-backend.h"
#include "qapi/qapi-commands-control.h" #include "qapi/qapi-commands-control.h"
#include "chardev-internal.h" #include "chardev-internal.h"

View file

@ -33,7 +33,7 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-commands-char.h" #include "qapi/qapi-commands-char.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "sysemu/replay.h" #include "system/replay.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/option.h" #include "qemu/option.h"

Some files were not shown because too many files have changed in this diff Show more