Message ID | 1367303643-16036-2-git-send-email-imammedo@redhat.com |
---|---|
State | New |
Headers | show |
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);
hot_add_cpu hook should be overriden by target that implements cpu hot-add via cpu-add QMP command. Signed-off-by: Igor Mammedov <imammedo@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(+)