@@ -9,6 +9,8 @@
#ifndef KVM_PPC_H
#define KVM_PPC_H
+#include "qapi/error.h"
+
#define TYPE_HOST_POWERPC_CPU POWERPC_CPU_TYPE_NAME("host")
#ifdef CONFIG_KVM
@@ -16,6 +16,7 @@
#include "cpu_features.h"
#include "gen-features.h"
#include "hw/core/cpu.h"
+#include "qapi/error.h"
/* static CPU definition */
struct S390CPUDef {
@@ -18,6 +18,7 @@
#include "sysemu/hw_accel.h"
#include "sysemu/kvm.h"
#include "target/i386/kvm_i386.h"
+#include "qapi/error.h"
static inline void kvm_apic_set_reg(struct kvm_lapic_state *kapic,
int reg_id, uint32_t val)
@@ -13,6 +13,7 @@
#include "hw/qdev-properties.h"
#include "qemu/log.h"
#include "qemu/module.h"
+#include "qapi/error.h"
static uint64_t mpcore_scu_read(void *opaque, hwaddr offset,
unsigned size)
@@ -26,6 +26,7 @@
#include "hw/registerfields.h"
#include "hw/misc/mps2-scc.h"
#include "hw/qdev-properties.h"
+#include "qapi/error.h"
REG32(CFG0, 0)
REG32(CFG1, 4)
@@ -31,6 +31,7 @@
#include "hw/pci/pci_host.h"
#include "hw/pci/pci_bridge.h"
#include "hw/pci/pci_bus.h"
+#include "qapi/error.h"
/* debug DEC */
//#define DEBUG_DEC
@@ -16,6 +16,7 @@
#include "qapi/dealloc-visitor.h"
#include "qapi/qmp/qnull.h"
#include "qapi/visitor-impl.h"
+#include "qapi/error.h"
struct QapiDeallocVisitor
{
@@ -12,6 +12,7 @@
#include "hw/xen/xen.h"
#include "exec/memory.h"
#include "qapi/qapi-commands-misc.h"
+#include "qapi/error.h"
int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
{
Hmm. Should we allow empty stubs with errp parameter without calling new macro? Or, just apply this commit before auto-generated commit. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> --- target/ppc/kvm_ppc.h | 2 ++ target/s390x/cpu_models.h | 1 + hw/i386/kvm/apic.c | 1 + hw/misc/arm11scu.c | 1 + hw/misc/mps2-scc.c | 1 + hw/pci-bridge/dec.c | 1 + qapi/qapi-dealloc-visitor.c | 1 + stubs/xen-hvm.c | 1 + 8 files changed, 9 insertions(+)