*: Add missing includes of qemu/error-report.h

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>
This commit is contained in:
Richard Henderson 2023-03-15 17:43:13 +00:00 committed by Alex Bennée
parent e8956e0c6c
commit cc37d98bfb
48 changed files with 58 additions and 1 deletions

View File

@ -27,7 +27,7 @@
#include "qemu/accel.h" #include "qemu/accel.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "sysemu/cpus.h" #include "sysemu/cpus.h"
#include "qemu/error-report.h"
#include "accel-softmmu.h" #include "accel-softmmu.h"
int accel_init_machine(AccelState *accel, MachineState *ms) int accel_init_machine(AccelState *accel, MachineState *ms)

View File

@ -48,6 +48,7 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/error-report.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "monitor/hmp.h" #include "monitor/hmp.h"

View File

@ -24,6 +24,7 @@
#include "qapi/qapi-commands-dump.h" #include "qapi/qapi-commands-dump.h"
#include "qapi/qapi-events-dump.h" #include "qapi/qapi-events-dump.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "hw/misc/vmcoreinfo.h" #include "hw/misc/vmcoreinfo.h"
#include "migration/blocker.h" #include "migration/blocker.h"

View File

@ -11,6 +11,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/dump.h" #include "sysemu/dump.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "exec/cpu-defs.h" #include "exec/cpu-defs.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"

View File

@ -27,6 +27,7 @@
#include "qemu/ctype.h" #include "qemu/ctype.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/error-report.h"
#include "trace.h" #include "trace.h"
#include "exec/gdbstub.h" #include "exec/gdbstub.h"
#include "gdbstub/syscalls.h" #include "gdbstub/syscalls.h"

View File

@ -19,6 +19,8 @@
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "cpu.h" #include "cpu.h"
#include "qom/object.h" #include "qom/object.h"
#include "qemu/error-report.h"
#define RAM_SIZE (512 * MiB) #define RAM_SIZE (512 * MiB)
#define FLASH_SIZE (32 * MiB) #define FLASH_SIZE (32 * MiB)

View File

@ -17,6 +17,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/allwinner-a10.h" #include "hw/arm/allwinner-a10.h"

View File

@ -37,6 +37,8 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qom/object.h" #include "qom/object.h"
#include "hw/net/mv88w8618_eth.h" #include "hw/net/mv88w8618_eth.h"
#include "qemu/error-report.h"
#define MP_MISC_BASE 0x80002000 #define MP_MISC_BASE 0x80002000
#define MP_MISC_SIZE 0x00001000 #define MP_MISC_SIZE 0x00001000

View File

@ -30,6 +30,8 @@
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "qemu/error-report.h"
#define NPCM7XX_POWER_ON_STRAPS_DEFAULT ( \ #define NPCM7XX_POWER_ON_STRAPS_DEFAULT ( \
NPCM7XX_PWRON_STRAP_SPI0F18 | \ NPCM7XX_PWRON_STRAP_SPI0F18 | \

View File

@ -45,6 +45,8 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/error-report.h"
/* Nokia N8x0 support */ /* Nokia N8x0 support */
struct n800_s { struct n800_s {

View File

@ -37,6 +37,8 @@
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "cpu.h" #include "cpu.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/error-report.h"
/*****************************************************************************/ /*****************************************************************************/
/* Siemens SX1 Cellphone V1 */ /* Siemens SX1 Cellphone V1 */

View File

@ -21,6 +21,7 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/arm/allwinner-h3.h" #include "hw/arm/allwinner-h3.h"

View File

@ -32,6 +32,8 @@
#include "cpu.h" #include "cpu.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qom/object.h" #include "qom/object.h"
#include "qemu/error-report.h"
static uint64_t static_read(void *opaque, hwaddr offset, unsigned size) static uint64_t static_read(void *opaque, hwaddr offset, unsigned size)
{ {

View File

@ -44,6 +44,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/datadir.h" #include "qemu/datadir.h"
#include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-commands-machine.h" #include "qapi/qapi-commands-machine.h"
#include "qapi/type-helpers.h" #include "qapi/type-helpers.h"

View File

@ -20,6 +20,8 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
/* /*
* Report information of a machine's supported CPU topology hierarchy. * Report information of a machine's supported CPU topology hierarchy.

View File

@ -15,6 +15,7 @@
#include "qemu/lockable.h" #include "qemu/lockable.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/error-report.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "monitor/hmp.h" #include "monitor/hmp.h"
#include "qapi/error.h" #include "qapi/error.h"

View File

@ -15,6 +15,7 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qom/object.h" #include "qom/object.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -18,6 +18,7 @@
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "monitor/hmp-target.h" #include "monitor/hmp-target.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "qapi/qapi-commands-misc-target.h" #include "qapi/qapi-commands-misc-target.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "sysemu/hw_accel.h" #include "sysemu/hw_accel.h"

View File

@ -18,6 +18,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/thread.h" #include "qemu/thread.h"
#include "qemu/error-report.h"
#include "hw/i386/apic_internal.h" #include "hw/i386/apic_internal.h"
#include "hw/i386/apic.h" #include "hw/i386/apic.h"
#include "hw/intc/ioapic.h" #include "hw/intc/ioapic.h"

View File

@ -7,6 +7,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "qemu/bitmap.h" #include "qemu/bitmap.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"

View File

@ -44,6 +44,8 @@
#include "sysemu/tpm.h" #include "sysemu/tpm.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "qemu/error-report.h"
static void virt_flash_create(LoongArchMachineState *lams) static void virt_flash_create(LoongArchMachineState *lams)
{ {

View File

@ -24,6 +24,7 @@
#include "hw/block/fdc.h" #include "hw/block/fdc.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "ui/console.h" #include "ui/console.h"
#include "target/m68k/cpu.h" #include "target/m68k/cpu.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -45,6 +45,7 @@
#include "hw/block/swim.h" #include "hw/block/swim.h"
#include "net/net.h" #include "net/net.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"

View File

@ -23,6 +23,7 @@
#include "bootinfo.h" #include "bootinfo.h"
#include "net/net.h" #include "net/net.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "sysemu/runstate.h" #include "sysemu/runstate.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"

View File

@ -10,6 +10,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "hw/mem/memory-device.h" #include "hw/mem/memory-device.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/boards.h" #include "hw/boards.h"

View File

@ -11,6 +11,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View File

@ -15,6 +15,7 @@
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "qemu/error-report.h"
#include <libfdt.h> #include <libfdt.h>

View File

@ -33,6 +33,7 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/error-report.h"
#include "exec/address-spaces.h" /* get_system_memory() */ #include "exec/address-spaces.h" /* get_system_memory() */
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -1,12 +1,14 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/memalign.h" #include "qemu/memalign.h"
#include "qemu/error-report.h"
#include "cpu.h" #include "cpu.h"
#include "helper_regs.h" #include "helper_regs.h"
#include "hw/ppc/spapr.h" #include "hw/ppc/spapr.h"
#include "mmu-hash64.h" #include "mmu-hash64.h"
#include "mmu-book3s-v3.h" #include "mmu-book3s-v3.h"
static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex) static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex)
{ {
/* /*

View File

@ -22,6 +22,7 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "hw/riscv/opentitan.h" #include "hw/riscv/opentitan.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "hw/riscv/boot.h" #include "hw/riscv/boot.h"

View File

@ -20,6 +20,7 @@
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/riscv/shakti_c.h" #include "hw/riscv/shakti_c.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "hw/intc/sifive_plic.h" #include "hw/intc/sifive_plic.h"
#include "hw/intc/riscv_aclint.h" #include "hw/intc/riscv_aclint.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"

View File

@ -29,6 +29,7 @@
#include "hw/acpi/aml-build.h" #include "hw/acpi/aml-build.h"
#include "hw/acpi/utils.h" #include "hw/acpi/utils.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/riscv/virt.h" #include "hw/riscv/virt.h"

View File

@ -14,6 +14,7 @@
#include <linux/vfio.h> #include <linux/vfio.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "qemu/error-report.h"
#include "hw/display/edid.h" #include "hw/display/edid.h"
#include "ui/console.h" #include "ui/console.h"
#include "qapi/error.h" #include "qapi/error.h"

View File

@ -12,6 +12,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/nvram/fw_cfg.h" #include "hw/nvram/fw_cfg.h"

View File

@ -11,6 +11,7 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qemu/error-report.h"
#include <linux/vfio.h> #include <linux/vfio.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -18,6 +18,7 @@
#include "qemu/units.h" #include "qemu/units.h"
#include "qemu/selfmap.h" #include "qemu/selfmap.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "target_signal.h" #include "target_signal.h"
#include "accel/tcg/debuginfo.h" #include "accel/tcg/debuginfo.h"

View File

@ -11,6 +11,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include <zlib.h> #include <zlib.h>
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"

View File

@ -18,6 +18,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "channel.h" #include "channel.h"
#include "exec.h" #include "exec.h"
#include "migration.h" #include "migration.h"

View File

@ -29,6 +29,7 @@
#include "kvm/kvm_i386.h" #include "kvm/kvm_i386.h"
#include "sev.h" #include "sev.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "qapi/qapi-visit-machine.h" #include "qapi/qapi-visit-machine.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
#include "standard-headers/asm-x86/kvm_para.h" #include "standard-headers/asm-x86/kvm_para.h"

View File

@ -11,6 +11,7 @@
#include "cpu.h" #include "cpu.h"
#include "host-cpu.h" #include "host-cpu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
/* Note: Only safe for use on x86(-64) hosts */ /* Note: Only safe for use on x86(-64) hosts */

View File

@ -12,6 +12,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/error-report.h"
#include "hw/xen/xen.h" #include "hw/xen/xen.h"
#include "sysemu/kvm_int.h" #include "sysemu/kvm_int.h"
#include "sysemu/kvm_xen.h" #include "sysemu/kvm_xen.h"

View File

@ -23,6 +23,7 @@
#include "qemu/base64.h" #include "qemu/base64.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/uuid.h" #include "qemu/uuid.h"
#include "qemu/error-report.h"
#include "crypto/hash.h" #include "crypto/hash.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "sev.h" #include "sev.h"

View File

@ -11,6 +11,7 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "cpu.h" #include "cpu.h"
#include "hw/i386/apic_internal.h" #include "hw/i386/apic_internal.h"
#include "hw/i386/apic-msidef.h" #include "hw/i386/apic-msidef.h"

View File

@ -21,6 +21,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "internal.h" #include "internal.h"

View File

@ -21,6 +21,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "s390x-internal.h" #include "s390x-internal.h"

View File

@ -17,6 +17,7 @@
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "sysemu/tcg.h" #include "sysemu/tcg.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h"
#include "qapi/visitor.h" #include "qapi/visitor.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/hw-version.h" #include "qemu/hw-version.h"

View File

@ -22,6 +22,8 @@
#include "hw/s390x/pv.h" #include "hw/s390x/pv.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "kvm/kvm_s390x.h" #include "kvm/kvm_s390x.h"
#include "qemu/error-report.h"
int handle_diag_288(CPUS390XState *env, uint64_t r1, uint64_t r3) int handle_diag_288(CPUS390XState *env, uint64_t r1, uint64_t r3)
{ {

View File

@ -46,6 +46,7 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/error-report.h"
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#include "hw/core/cpu.h" #include "hw/core/cpu.h"