|
@@ -35,6 +35,8 @@ void machine_set_cpu_numa_node(MachineState *machine,
|
|
Error **errp);
|
|
Error **errp);
|
|
void machine_parse_smp_config(MachineState *ms,
|
|
void machine_parse_smp_config(MachineState *ms,
|
|
const SMPConfiguration *config, Error **errp);
|
|
const SMPConfiguration *config, Error **errp);
|
|
|
|
+unsigned int machine_topo_get_cores_per_socket(const MachineState *ms);
|
|
|
|
+unsigned int machine_topo_get_threads_per_socket(const MachineState *ms);
|
|
|
|
|
|
/**
|
|
/**
|
|
* machine_class_allow_dynamic_sysbus_dev: Add type to list of valid devices
|
|
* machine_class_allow_dynamic_sysbus_dev: Add type to list of valid devices
|