Lines Matching refs:MachineState
24 OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)
26 extern MachineState *current_machine;
35 void machine_run_board_init(MachineState *machine, const char *mem_path, Error **errp);
36 bool machine_usb(MachineState *machine);
37 int machine_phandle_start(MachineState *machine);
38 bool machine_dump_guest_core(MachineState *machine);
39 bool machine_mem_merge(MachineState *machine);
40 bool machine_require_guest_memfd(MachineState *machine);
41 HotpluggableCPUList *machine_query_hotpluggable_cpus(MachineState *machine);
42 void machine_set_cpu_numa_node(MachineState *machine,
45 void machine_parse_smp_config(MachineState *ms,
47 bool machine_parse_smp_cache(MachineState *ms,
50 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms);
51 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms);
52 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms,
54 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache,
56 bool machine_check_smp_cache(const MachineState *ms, Error **errp);
57 void machine_memory_devices_init(MachineState *ms, hwaddr base, uint64_t size);
118 MemoryRegion *machine_consume_memdev(MachineState *machine,
271 void (*init)(MachineState *state);
272 void (*reset)(MachineState *state, ResetType type);
273 void (*wakeup)(MachineState *state);
274 int (*kvm_type)(MachineState *machine, const char *arg);
275 int (*hvf_get_physical_address_range)(MachineState *machine);
318 HotplugHandler *(*get_hotplug_handler)(MachineState *machine,
320 bool (*hotplug_allowed)(MachineState *state, DeviceState *dev,
322 CpuInstanceProperties (*cpu_index_to_instance_props)(MachineState *machine,
324 const CPUArchIdList *(*possible_cpu_arch_ids)(MachineState *machine);
325 int64_t (*get_default_cpu_node_id)(const MachineState *ms, int idx);
328 bool (*create_default_memdev)(MachineState *ms, const char *path,
392 struct MachineState { struct