hot_add_cpu hook should be overriden by target that implements cpu hot-add via cpu-add QMP command.
Signed-off-by: Igor Mammedov <imamm...@redhat.com> --- Note: hook will be used in next patch for target-i386 cp-add implementation. --- include/hw/boards.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/boards.h b/include/hw/boards.h index 425bdc7..75cd127 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -43,6 +43,7 @@ typedef struct QEMUMachine { GlobalProperty *compat_props; struct QEMUMachine *next; const char *hw_version; + void (*hot_add_cpu)(const int64_t id, Error **errp); } QEMUMachine; int qemu_register_machine(QEMUMachine *m); -- 1.8.2.1