]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
*: Add missing includes of qemu/error-report.h
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 15 Mar 2023 17:43:13 +0000 (17:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 22 Mar 2023 15:06:57 +0000 (15:06 +0000)
This had been pulled in via qemu/plugin.h from hw/core/cpu.h,
but that will be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230310195252.210956-5-richard.henderson@linaro.org>
[AJB: add various additional cases shown by CI]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-15-alex.bennee@linaro.org>
Reviewed-by: Emilio Cota <cota@braap.org>
48 files changed:
accel/accel-softmmu.c
block/monitor/block-hmp-cmds.c
dump/dump.c
dump/win_dump.c
gdbstub/gdbstub.c
hw/arm/collie.c
hw/arm/cubieboard.c
hw/arm/musicpal.c
hw/arm/npcm7xx_boards.c
hw/arm/nseries.c
hw/arm/omap_sx1.c
hw/arm/orangepi.c
hw/arm/palm.c
hw/core/loader.c
hw/core/machine-smp.c
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_xenstore.c
hw/i386/sgx.c
hw/intc/apic.c
hw/loongarch/acpi-build.c
hw/loongarch/virt.c
hw/m68k/next-cube.c
hw/m68k/q800.c
hw/m68k/virt.c
hw/mem/memory-device.c
hw/mem/sparse-mem.c
hw/openrisc/boot.c
hw/ppc/ppc4xx_sdram.c
hw/ppc/spapr_softmmu.c
hw/riscv/opentitan.c
hw/riscv/shakti_c.c
hw/riscv/virt-acpi-build.c
hw/vfio/display.c
hw/vfio/igd.c
hw/vfio/migration.c
linux-user/elfload.c
migration/dirtyrate.c
migration/exec.c
target/i386/cpu.c
target/i386/host-cpu.c
target/i386/kvm/xen-emu.c
target/i386/sev.c
target/i386/whpx/whpx-apic.c
target/mips/cpu.c
target/s390x/cpu-sysemu.c
target/s390x/cpu_models.c
target/s390x/diag.c
ui/cocoa.m

index f9cdafb148ac4281565e59d998ccfc3c1735bf4b..9c804ba9e3b68e48d75f8dec90ce01041f7092bd 100644 (file)
@@ -27,7 +27,7 @@
 #include "qemu/accel.h"
 #include "hw/boards.h"
 #include "sysemu/cpus.h"
-
+#include "qemu/error-report.h"
 #include "accel-softmmu.h"
 
 int accel_init_machine(AccelState *accel, MachineState *ms)
index 6aa5f1be0c2a7bfc812fb1ecbae8a7cd8ce07a57..2846083546f3550af754cbbb9a90cf2b93e57373 100644 (file)
@@ -48,6 +48,7 @@
 #include "qemu/option.h"
 #include "qemu/sockets.h"
 #include "qemu/cutils.h"
+#include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
 #include "monitor/monitor.h"
 #include "monitor/hmp.h"
index 544d5bce3a6e82be0bbc8f0d759e4ec50e259ad0..1f1a6edcab051af7bedb09ed05e3187eae45be1e 100644 (file)
@@ -24,6 +24,7 @@
 #include "qapi/qapi-commands-dump.h"
 #include "qapi/qapi-events-dump.h"
 #include "qapi/qmp/qerror.h"
+#include "qemu/error-report.h"
 #include "qemu/main-loop.h"
 #include "hw/misc/vmcoreinfo.h"
 #include "migration/blocker.h"
index 0152f7330a2580f11f4f9dd639df0d0bc98c66bf..b7bfaff3794c6274beab0b9b01b60da215e1457d 100644 (file)
@@ -11,6 +11,7 @@
 #include "qemu/osdep.h"
 #include "sysemu/dump.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qapi/qmp/qerror.h"
 #include "exec/cpu-defs.h"
 #include "hw/core/cpu.h"
index d9e9bf92945598fe4bd787d149e018ffe6e6dfe9..2a66371aa576db8e3b720dc0876af70c223178f1 100644 (file)
@@ -27,6 +27,7 @@
 #include "qemu/ctype.h"
 #include "qemu/cutils.h"
 #include "qemu/module.h"
+#include "qemu/error-report.h"
 #include "trace.h"
 #include "exec/gdbstub.h"
 #include "gdbstub/syscalls.h"
index 9edff593708e1d661ccf4e0e063bc3a0082c547c..a0ad1b8dc7e32385b0a0aba896ae12fa5aabd1e8 100644 (file)
@@ -19,6 +19,8 @@
 #include "exec/address-spaces.h"
 #include "cpu.h"
 #include "qom/object.h"
+#include "qemu/error-report.h"
+
 
 #define RAM_SIZE            (512 * MiB)
 #define FLASH_SIZE          (32 * MiB)
index 71a7df150833350f5f6eba02b7bd46269d555277..8c7fa91529ee404ce6edda2845fcdfc587554457 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-a10.h"
index 06d9add7c7292637a33d87683355cd105136311f..c9010b2ffbb6e7cab7def87e13fc92864395992f 100644 (file)
@@ -37,6 +37,8 @@
 #include "qemu/cutils.h"
 #include "qom/object.h"
 #include "hw/net/mv88w8618_eth.h"
+#include "qemu/error-report.h"
+
 
 #define MP_MISC_BASE            0x80002000
 #define MP_MISC_SIZE            0x00001000
index 9b31207a06e927246fa4bc1acad01b97616dbe7c..2aef579aacc20dbb339bf8a31c7c4643489722c0 100644 (file)
@@ -30,6 +30,8 @@
 #include "sysemu/blockdev.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/block-backend.h"
+#include "qemu/error-report.h"
+
 
 #define NPCM7XX_POWER_ON_STRAPS_DEFAULT (           \
         NPCM7XX_PWRON_STRAP_SPI0F18 |               \
index c9df063a082e495a191c874a0a15ac97ea9df63b..9e49e9e1776280323ac61c014c0a5ca341feea92 100644 (file)
@@ -45,6 +45,8 @@
 #include "hw/loader.h"
 #include "hw/sysbus.h"
 #include "qemu/log.h"
+#include "qemu/error-report.h"
+
 
 /* Nokia N8x0 support */
 struct n800_s {
index e7212920797a3e9262c0f7c1bb18eb4f58e61b91..4bf1579f8c1c8a96bc0efe66854cd179fcd2d01b 100644 (file)
@@ -37,6 +37,8 @@
 #include "exec/address-spaces.h"
 #include "cpu.h"
 #include "qemu/cutils.h"
+#include "qemu/error-report.h"
+
 
 /*****************************************************************************/
 /* Siemens SX1 Cellphone V1 */
index 3ace4748704e4f4206ce8b4592b6022ea40358c8..10653361ed5e308aceea483565834650e39e5c8b 100644 (file)
@@ -21,6 +21,7 @@
 #include "qemu/units.h"
 #include "exec/address-spaces.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-h3.h"
index 1457f10c83a37e6fd073d6c8fec00f839ee9fcbf..17c11ac4cecaf805e6cbd2baf3fb5810a823505b 100644 (file)
@@ -32,6 +32,8 @@
 #include "cpu.h"
 #include "qemu/cutils.h"
 #include "qom/object.h"
+#include "qemu/error-report.h"
+
 
 static uint64_t static_read(void *opaque, hwaddr offset, unsigned size)
 {
index 695d1acb15bab01e8dbd59c3ab4b573777333f22..8b7fd9e9e551686351e7a1aeaf58546eaefc2e9f 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "qemu/osdep.h"
 #include "qemu/datadir.h"
+#include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "qapi/qapi-commands-machine.h"
 #include "qapi/type-helpers.h"
index c3dab007dadc4e7bcaef9b244ea090ed6dc23bf8..89fe0cda4275b63f5289c31981c0fe2a171f95f9 100644 (file)
@@ -20,6 +20,8 @@
 #include "qemu/osdep.h"
 #include "hw/boards.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
+
 
 /*
  * Report information of a machine's supported CPU topology hierarchy.
index 98a7b850472ab78fd5373102bd5f9ead835b28e2..30483294742417ae478b12315c0143a97f70467c 100644 (file)
@@ -15,6 +15,7 @@
 #include "qemu/lockable.h"
 #include "qemu/main-loop.h"
 #include "qemu/log.h"
+#include "qemu/error-report.h"
 #include "monitor/monitor.h"
 #include "monitor/hmp.h"
 #include "qapi/error.h"
index 2cadafd56a8eb034a68a2af6b9c8337506058573..900679af8a158ce8298299a33dd605735a4c8079 100644 (file)
@@ -15,6 +15,7 @@
 #include "qemu/module.h"
 #include "qemu/main-loop.h"
 #include "qemu/cutils.h"
+#include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "qom/object.h"
 #include "migration/vmstate.h"
index db004d17a65db6ae1d8c2596695edefee16c072d..70305547d4acad28788d4cf5779a18feedd6251b 100644 (file)
@@ -18,6 +18,7 @@
 #include "monitor/monitor.h"
 #include "monitor/hmp-target.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qapi/qapi-commands-misc-target.h"
 #include "exec/address-spaces.h"
 #include "sysemu/hw_accel.h"
index 0ff060f7217697720546ae64f88af3b183a1d46f..20b5a94073d80cf33d729f12057f04cc32fbc1f1 100644 (file)
@@ -18,6 +18,7 @@
  */
 #include "qemu/osdep.h"
 #include "qemu/thread.h"
+#include "qemu/error-report.h"
 #include "hw/i386/apic_internal.h"
 #include "hw/i386/apic.h"
 #include "hw/intc/ioapic.h"
index 6cb2472d334959cde8567db7b2f45bc06c45ecea..8e3ce073672577739c239be9cf1c932339039878 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qemu/bitmap.h"
 #include "hw/pci/pci.h"
 #include "hw/core/cpu.h"
index 38ef7cc49f25389b252082697b698d0bb6832846..b702c3f51e93d1bb63199f2bcf8f352f9a2d33bf 100644 (file)
@@ -44,6 +44,8 @@
 #include "sysemu/tpm.h"
 #include "sysemu/block-backend.h"
 #include "hw/block/flash.h"
+#include "qemu/error-report.h"
+
 
 static void virt_flash_create(LoongArchMachineState *lams)
 {
index e0d4a94f9db36d8a3dcd4496e066bd05cd2c67b4..ce8ee50b9e28baf4c8f7f75e97b00819546d0106 100644 (file)
@@ -24,6 +24,7 @@
 #include "hw/block/fdc.h"
 #include "hw/qdev-properties.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "ui/console.h"
 #include "target/m68k/cpu.h"
 #include "migration/vmstate.h"
index 9d52ca661317f6909fdd0d6b5176352d9d11236d..b35ecafbc7c6e1f200f8de4f9439643f17862e91 100644 (file)
@@ -45,6 +45,7 @@
 #include "hw/block/swim.h"
 #include "net/net.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "sysemu/qtest.h"
 #include "sysemu/runstate.h"
 #include "sysemu/reset.h"
index 4cb5beef1a0c42b8e9757243fa4dc1649acfedf1..754b9bdfcc84297b1b8cfc516e009103c0796bb3 100644 (file)
@@ -23,6 +23,7 @@
 #include "bootinfo.h"
 #include "net/net.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "sysemu/qtest.h"
 #include "sysemu/runstate.h"
 #include "sysemu/reset.h"
index d9f8301711e21385b8d69623145c64442aea83b0..1636db96799c4930305afdf3d1af35f46c2c8086 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 #include "hw/mem/memory-device.h"
 #include "qapi/error.h"
 #include "hw/boards.h"
index 72f038d47daa09e3052dfa723f3026a223429c56..6e8f4f84fbd43fd3b1a358749beefb8149ce40e9 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
index 007e80cd5a0ab603e83cbff731701b5d7995ca7e..55475aa6d608be6c3b5c4eda82ab9e24f186235d 100644 (file)
@@ -15,6 +15,7 @@
 #include "sysemu/device_tree.h"
 #include "sysemu/qtest.h"
 #include "sysemu/reset.h"
+#include "qemu/error-report.h"
 
 #include <libfdt.h>
 
index 4501fb28a5eaf0cd557098c2bbcda30b1b0a70fc..c0c87ff636a6c3952b86f6e1720058ebb01140ab 100644 (file)
@@ -33,6 +33,7 @@
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
+#include "qemu/error-report.h"
 #include "exec/address-spaces.h" /* get_system_memory() */
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
index 5170a33369e016a864e6ca90b7b5f0b3768f7360..278666317ef22cb8b8ed8d6832fbef81009cb3b3 100644 (file)
@@ -1,12 +1,14 @@
 #include "qemu/osdep.h"
 #include "qemu/cutils.h"
 #include "qemu/memalign.h"
+#include "qemu/error-report.h"
 #include "cpu.h"
 #include "helper_regs.h"
 #include "hw/ppc/spapr.h"
 #include "mmu-hash64.h"
 #include "mmu-book3s-v3.h"
 
+
 static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex)
 {
     /*
index b06944d3825215c2c2448f14fcae3ca5988fcdb1..bc678766e7c754baa97ba836b8e5bb2bc00b96fe 100644 (file)
@@ -22,6 +22,7 @@
 #include "qemu/cutils.h"
 #include "hw/riscv/opentitan.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "hw/boards.h"
 #include "hw/misc/unimp.h"
 #include "hw/riscv/boot.h"
index e43cc9445cb1eaa67f0911be5dfa4c70377c3ad6..12ea74b0324bcdb756800e124d58bd07725a9b42 100644 (file)
@@ -20,6 +20,7 @@
 #include "hw/boards.h"
 #include "hw/riscv/shakti_c.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "hw/intc/sifive_plic.h"
 #include "hw/intc/riscv_aclint.h"
 #include "sysemu/sysemu.h"
index 82da0a238c239217fdccf647fdaaac9477c7ca7b..7331248f59280b4b3589ff767369741b7d70a566 100644 (file)
@@ -29,6 +29,7 @@
 #include "hw/acpi/aml-build.h"
 #include "hw/acpi/utils.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "sysemu/reset.h"
 #include "migration/vmstate.h"
 #include "hw/riscv/virt.h"
index 78f4d82c1c35295e411677156ba8f1c7d18fabfa..bec864f482f46866bf292a5a63c31753a7c84eef 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/vfio.h>
 #include <sys/ioctl.h>
 
+#include "qemu/error-report.h"
 #include "hw/display/edid.h"
 #include "ui/console.h"
 #include "qapi/error.h"
index afe3fe7efc40ffb610b4c1ea0e9fe58ef9657fa3..b31ee79c60b5e567f84f561cfb63849960648340 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "qemu/osdep.h"
 #include "qemu/units.h"
+#include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "hw/hw.h"
 #include "hw/nvram/fw_cfg.h"
index 1a1a8659c85985d0ab6aad811de7a3ceee74caf4..6b58dddb8859cac4b895efa1e0ca02d29e24b7d6 100644 (file)
@@ -11,6 +11,7 @@
 #include "qemu/main-loop.h"
 #include "qemu/cutils.h"
 #include "qemu/units.h"
+#include "qemu/error-report.h"
 #include <linux/vfio.h>
 #include <sys/ioctl.h>
 
index 150d1d45039611095fa5369bd4894d70b393b6c8..1dbc1f0f9baa7c0da111ebd6a7b24df85070a2f9 100644 (file)
@@ -18,6 +18,7 @@
 #include "qemu/units.h"
 #include "qemu/selfmap.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "target_signal.h"
 #include "accel/tcg/debuginfo.h"
 
index 575d48c3970ad59f447c80c8d53e8d8bc1ca2238..180ba38c7a803f0e37cb5eaa2dd586fc3895822f 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 #include <zlib.h>
 #include "qapi/error.h"
 #include "cpu.h"
index 38604d73a69ae2458df9c97ece48909fa41ae445..2bf882bbe12bc3a4a2e2ed1cee4c1281f0a8191a 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 #include "channel.h"
 #include "exec.h"
 #include "migration.h"
index cab1e2a957e4efd4a59a51786a292cc9107bb8bb..6576287e5b6c8b16fc09077b157fa44bc993fd9e 100644 (file)
@@ -29,6 +29,7 @@
 #include "kvm/kvm_i386.h"
 #include "sev.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qapi/qapi-visit-machine.h"
 #include "qapi/qmp/qerror.h"
 #include "standard-headers/asm-x86/kvm_para.h"
index 10f8aba86e5388ef03d38ff0c3272aa471631e0b..92ecb7254b8363de8c82f4800573ba990381e2ce 100644 (file)
@@ -11,6 +11,7 @@
 #include "cpu.h"
 #include "host-cpu.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
 
 /* Note: Only safe for use on x86(-64) hosts */
index 0bb6c601c948bb30206c89faf1972e58de5cf6d7..d7c7eb8d9c8e035fb1b6a32042514ac821490f39 100644 (file)
@@ -12,6 +12,7 @@
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "qemu/main-loop.h"
+#include "qemu/error-report.h"
 #include "hw/xen/xen.h"
 #include "sysemu/kvm_int.h"
 #include "sysemu/kvm_xen.h"
index 0ec970496e5dd4e49f7e7a3feef5c9a1ba39398e..859e06f6ad773a7d88596e562c4b2c0db70c7853 100644 (file)
@@ -23,6 +23,7 @@
 #include "qemu/base64.h"
 #include "qemu/module.h"
 #include "qemu/uuid.h"
+#include "qemu/error-report.h"
 #include "crypto/hash.h"
 #include "sysemu/kvm.h"
 #include "sev.h"
index c15df35ad60a2587c5e7f04d2827a3e16dc37b32..8710e37567d0731eda9c0a14eaa1eb18a19bc873 100644 (file)
@@ -11,6 +11,7 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 #include "cpu.h"
 #include "hw/i386/apic_internal.h"
 #include "hw/i386/apic-msidef.h"
index 543da911e381c011343dc6dcb866fa3a09dec519..01e0fbe10db27cd0b24b259232fd3254745fe222 100644 (file)
@@ -21,6 +21,7 @@
 #include "qemu/osdep.h"
 #include "qemu/cutils.h"
 #include "qemu/qemu-print.h"
+#include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "internal.h"
index 948e4bd3e09eb16454fe673b70b798672c0a8e22..97d6c760a826df746dd6458da70c939b838d1e0b 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "cpu.h"
 #include "s390x-internal.h"
index 065ec6d66cdbe3c8e3a08b0752f585667e931b0c..457b5cb10c481fe15e0390827bad6c005b70fb0d 100644 (file)
@@ -17,6 +17,7 @@
 #include "sysemu/kvm.h"
 #include "sysemu/tcg.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qapi/visitor.h"
 #include "qemu/module.h"
 #include "qemu/hw-version.h"
index 76b01dcd68bbba7c6011069ac1eec4fa833a3a7e..e5f0df19e76436fc15aa4e2087e2c47280e32629 100644 (file)
@@ -22,6 +22,8 @@
 #include "hw/s390x/pv.h"
 #include "sysemu/kvm.h"
 #include "kvm/kvm_s390x.h"
+#include "qemu/error-report.h"
+
 
 int handle_diag_288(CPUS390XState *env, uint64_t r1, uint64_t r3)
 {
index 985a0f50696ba1f283114401921bd109da9ff977..168170a8a68abf29ec23df487673e7635fb97ed5 100644 (file)
@@ -46,6 +46,7 @@
 #include "qemu/cutils.h"
 #include "qemu/main-loop.h"
 #include "qemu/module.h"
+#include "qemu/error-report.h"
 #include <Carbon/Carbon.h>
 #include "hw/core/cpu.h"