Signed-off-by: Pierrick Bouvier <[email protected]>
---
 include/hw/core/boards.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h
index 29c68931d8a..c963e956157 100644
--- a/include/hw/core/boards.h
+++ b/include/hw/core/boards.h
@@ -8,6 +8,7 @@
 #include "system/blockdev.h"
 #include "qapi/qapi-types-machine.h"
 #include "qemu/module.h"
+#include "qemu/target-info-qom.h"
 #include "qom/compat-properties.h"
 #include "qom/object.h"
 #include "hw/core/cpu.h"
@@ -546,6 +547,9 @@ struct MachineState {
     DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \
                                         (const InterfaceInfo[]) { __VA_ARGS__ 
})
 
+#define DEFINE_MACHINE_TARGET_SPECIFIC(namestr, machine_initfn) \
+        DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \
+                                            type_target_specific)
 /*
  * Helper for dispatching different macros based on how
  * many __VA_ARGS__ are passed. Supports 1 to 5 variadic
-- 
2.43.0


Reply via email to