Lines Matching full:machine
9 #include "qapi/qapi-types-machine.h"
15 #define TYPE_MACHINE_SUFFIX "-machine"
17 /* Machine class name that needs to be used for class-name-based machine
22 #define TYPE_MACHINE "machine"
23 #undef MACHINE /* BSD defines it and QEMU does not use it */
24 OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)
29 * machine_class_default_cpu_type: Return the machine default CPU type.
30 * @mc: Machine class
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,
61 * @mc: Machine class
69 * for the special cases which are permitted for this machine model, the
70 * machine model class init code must call this function to add them
77 * type for the machine class.
78 * @mc: Machine class
81 * Returns: true if @type is a type in the machine's list of
92 * @mc: Machine class
95 * Returns: true if @dev is a sysbus device on the machine's list
101 * set up by the machine using machine_class_allow_dynamic_sysbus_dev().
118 MemoryRegion *machine_consume_memdev(MachineState *machine,
140 * @cpus - array of present or possible CPUs for current machine configuration
150 * @dies_supported - whether dies are supported by the machine
151 * @clusters_supported - whether clusters are supported by the machine
154 * @books_supported - whether books are supported by the machine
155 * @drawers_supported - whether drawers are supported by the machine
156 * @modules_supported - whether modules are supported by the machine
158 * supported by the machine
173 * @deprecation_reason: If set, the machine is marked as deprecated. The
179 * If true QEMU will use this machine by default if no '-M' option is given.
190 * a machine to group CPU threads belonging to the same socket/package
193 * Value of QEMU_VERSION when the machine was added to QEMU.
215 * compatibility break for the machine.
232 * machine based on the current boards memory map. This may be NULL if it
251 * Amends user provided ram size (with -m option) using machine
252 * specific algorithm. To be used by old machine types for compat
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,
322 CpuInstanceProperties (*cpu_index_to_instance_props)(MachineState *machine,
324 const CPUArchIdList *(*possible_cpu_arch_ids)(MachineState *machine);
361 * @cpus: the number of present logical processors on the machine
362 * @drawers: the number of drawers on the machine
370 * @max_cpus: the maximum number of logical processors on the machine
424 * machine init function and forward the property to the device.
446 * definition of versioned machine types, using a somewhat
450 * 'virt' machine types would look like:
459 * mc->desc = "QEMU " MACHINE_VER_STR(__VA_ARGS__) " Virtual Machine"; \
478 * whichever scenarios need to be catered for with a machine:
520 * Construct a human targeted machine version string.
557 * Construct a QAPI type name for a versioned machine
594 * Construct a name for a versioned machine type that is
641 * message for a versioned machine type
670 * Evaluates true when a machine type with (major, minor)
672 * deprecated based on the current versioned machine type
679 * Evaluates true when a machine type with (major, minor)
681 * for deletion based on the current versioned machine type
688 * Sets the deprecation reason for a versioned machine based
692 * function for all machine types which support versioning.
696 * 'deprecation_reason' field on the machine, to warn users
711 * method for all machine types which support versioning.
716 * of the machine
719 * machine types was introduced in QEMU 9.1.0.
721 * Under the new policy a number of old machine types (any