]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/boards.h
machine: Refactor smp-related call chains to pass MachineState
[mirror_qemu.git] / include / hw / boards.h
index 959714093607251a363f5dfea7d5f47213c5d687..d84f48c4af2544bf23990e3d563dc273328d397e 100644 (file)
@@ -173,8 +173,8 @@ struct MachineClass {
     const char *deprecation_reason;
 
     void (*init)(MachineState *state);
-    void (*reset)(void);
-    void (*hot_add_cpu)(const int64_t id, Error **errp);
+    void (*reset)(MachineState *state);
+    void (*hot_add_cpu)(MachineState *state, const int64_t id, Error **errp);
     int (*kvm_type)(MachineState *machine, const char *arg);
 
     BlockInterfaceType block_default_type;