| /openbmc/qemu/target/s390x/kvm/ |
| H A D | stsi-topology.c | 143 sysib->mag[S390_TOPOLOGY_MAG4] = current_machine->smp.drawers; in setup_stsi() 144 sysib->mag[S390_TOPOLOGY_MAG3] = current_machine->smp.books; in setup_stsi() 145 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.sockets; in setup_stsi() 146 sysib->mag[S390_TOPOLOGY_MAG1] = current_machine->smp.cores; in setup_stsi() 149 sysib->mag[S390_TOPOLOGY_MAG3] = current_machine->smp.drawers * in setup_stsi() 150 current_machine->smp.books; in setup_stsi() 151 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.sockets; in setup_stsi() 152 sysib->mag[S390_TOPOLOGY_MAG1] = current_machine->smp.cores; in setup_stsi() 155 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.drawers * in setup_stsi() 156 current_machine->smp.books * in setup_stsi() [all …]
|
| /openbmc/qemu/hw/s390x/ |
| H A D | cpu-topology.c | 50 return (drawer_id * current_machine->smp.books + book_id) * in s390_socket_nb_from_ids() 51 current_machine->smp.sockets + socket_id; in s390_socket_nb_from_ids() 184 CpuTopology *smp = ¤t_machine->smp; in s390_topology_cpu_default() 237 CpuTopology *smp = ¤t_machine->smp; in s390_topology_check() 364 MachineState *ms = current_machine; in s390_change_topology()
|
| H A D | ipl.c | 300 if (current_machine->boot_config.has_menu && current_machine->boot_config.menu) { in s390_ipl_set_boot_menu() 310 if (!current_machine->boot_config.has_menu) { in s390_ipl_set_boot_menu() 318 if (current_machine->boot_config.has_menu && current_machine->boot_config.menu) { in s390_ipl_set_boot_menu() 324 if (!current_machine->boot_config.has_menu || !current_machine->boot_config.menu) { in s390_ipl_set_boot_menu() 330 if (current_machine->boot_config.has_splash_time) { in s390_ipl_set_boot_menu() 331 splash_time = current_machine->boot_config.splash_time; in s390_ipl_set_boot_menu()
|
| /openbmc/qemu/hw/microblaze/ |
| H A D | boot.c | 128 kernel_filename = current_machine->kernel_filename; in microblaze_load_kernel() 129 kernel_cmdline = current_machine->kernel_cmdline; in microblaze_load_kernel() 130 dtb_arg = current_machine->dtb; in microblaze_load_kernel()
|
| /openbmc/qemu/hw/cpu/ |
| H A D | core.c | 75 if (current_machine) { in cpu_core_instance_init() 76 core->nr_threads = current_machine->smp.threads; in cpu_core_instance_init()
|
| /openbmc/qemu/system/ |
| H A D | vl.c | 830 g_assert(machine_usb(current_machine)); in usb_parse() 1332 MachineClass *machine_class = MACHINE_GET_CLASS(current_machine); in qemu_disable_default_devices() 1394 MachineClass *machine_class = MACHINE_GET_CLASS(current_machine); in qemu_create_default_devices() 2008 object_set_properties_from_keyval(OBJECT(current_machine), qdict, false, &error_fatal); in qemu_apply_machine_options() 2012 semihosting_arg_fallback(current_machine->kernel_filename, current_machine->kernel_cmdline); in qemu_apply_machine_options() 2015 if (current_machine->smp.cpus > 1) { in qemu_create_early_backends() 2022 MachineClass *machine_class = MACHINE_GET_CLASS(current_machine); in qemu_create_early_backends() 2134 current_machine->ram_size = backend_size; 2136 object_property_set_link(OBJECT(current_machine), in parse_memory_options() [all...] |
| H A D | runstate.c | 512 mc = current_machine ? MACHINE_GET_CLASS(current_machine) : NULL; in qemu_system_reset() 524 mc->reset(current_machine, type); in qemu_system_reset() 560 mc = current_machine ? MACHINE_GET_CLASS(current_machine) : NULL; in qemu_system_wakeup() 563 mc->wakeup(current_machine); in qemu_system_wakeup()
|
| H A D | device_tree.c | 500 phandle = machine_phandle_start(current_machine); in qemu_fdt_alloc_phandle() 643 if (!current_machine->fdt) { in qmp_dumpdtb() 651 size = fdt_totalsize(current_machine->fdt); in qmp_dumpdtb() 655 if (!g_file_set_contents(filename, current_machine->fdt, size, &err)) { in qmp_dumpdtb()
|
| H A D | bootdevice.c | 274 if (current_machine->boot_config.has_strict && in get_boot_devices_list() 275 current_machine->boot_config.strict && *size > 0) { in get_boot_devices_list()
|
| /openbmc/qemu/target/m68k/ |
| H A D | m68k-semi.c | 223 env->dregs[1] = current_machine->ram_size; in do_m68k_semihosting() 224 env->aregs[7] = current_machine->ram_size; in do_m68k_semihosting()
|
| /openbmc/qemu/target/arm/ |
| H A D | arm-qmp-cmds.c | 138 } else if (current_machine->cpu_type) { in qmp_query_cpu_model_expansion() 139 const char *cpu_type = current_machine->cpu_type; in qmp_query_cpu_model_expansion()
|
| /openbmc/qemu/hw/mem/ |
| H A D | memory-device.c | 98 if (!current_machine->device_memory) { in memory_devices_get_reserved_memslots() 101 return get_reserved_memslots(current_machine); in memory_devices_get_reserved_memslots() 106 if (!current_machine->device_memory) { in memory_devices_memslot_auto_decision_active() 110 return current_machine->device_memory->memslot_auto_decision_active; in memory_devices_memslot_auto_decision_active()
|
| /openbmc/qemu/accel/ |
| H A D | accel-system.c | 57 return current_machine->accelerator; in current_accel()
|
| /openbmc/qemu/accel/tcg/ |
| H A D | tcg-accel-ops-mttcg.c | 128 tcg_cpu_init_cflags(cpu, current_machine->smp.max_cpus > 1); in mttcg_kick_vcpu_thread()
|
| /openbmc/qemu/hw/remote/ |
| H A D | iohub.c | 80 RemoteMachineState *machine = REMOTE_MACHINE(current_machine); in process_set_irqfd_msg()
|
| H A D | vfio-user-obj.c | 128 if (!current_machine) { in vfu_object_auto_shutdown() 132 auto_shutdown = object_property_get_bool(OBJECT(current_machine), in vfu_object_auto_shutdown() 863 if (!object_dynamic_cast(OBJECT(current_machine), TYPE_REMOTE_MACHINE)) { in vfu_object_init()
|
| /openbmc/qemu/hw/core/ |
| H A D | guest-loader.c | 103 size = load_image_targphys_as(file, s->addr, current_machine->ram_size, in guest_loader_realize()
|
| H A D | generic-loader.c | 152 current_machine->ram_size, as, errp); in generic_loader_realize()
|
| H A D | machine.c | 301 MachineState *current_machine; in machine_set_kernel() 1698 if (!machine_class->create_default_memdev(current_machine, mem_path, in machine_run_board_init() 1784 if (current_machine->boot_config.once) { 1785 qemu_boot_set(current_machine->boot_config.once, &error_fatal); 1786 qemu_register_reset(restore_boot_order, g_strdup(current_machine->boot_config.order)); 1813 handle_machine_dumpdtb(current_machine); 291 MachineState *current_machine; global() variable
|
| /openbmc/qemu/hw/nvram/ |
| H A D | fw_cfg.c | 187 if (current_machine->boot_config.has_splash_time) { in fw_cfg_bootsplash() 188 int64_t bst_val = current_machine->boot_config.splash_time; in fw_cfg_bootsplash() 204 if (current_machine->boot_config.splash) { in fw_cfg_bootsplash() 205 const char *boot_splash_filename = current_machine->boot_config.splash; in fw_cfg_bootsplash() 238 if (current_machine->boot_config.has_reboot_timeout) { in fw_cfg_reboot() 239 rt_val = current_machine->boot_config.reboot_timeout; in fw_cfg_reboot()
|
| /openbmc/qemu/hw/riscv/ |
| H A D | boot.c | 175 current_machine->ram_size, NULL, in riscv_load_firmware() 266 current_machine->ram_size, NULL, NULL); in riscv_load_kernel()
|
| /openbmc/qemu/target/i386/kvm/ |
| H A D | kvm-cpu.c | 101 cs->num_ases = x86_machine_is_smm_enabled(X86_MACHINE(current_machine)) ? 2 : 1; in kvm_cpu_realizefn()
|
| /openbmc/qemu/hw/i386/ |
| H A D | pc_sysfw.c | 74 if (!machine_require_guest_memfd(current_machine)) { in pc_isa_bios_init()
|
| H A D | vmport.c | 191 return current_machine->ram_size; in vmport_cmd_ram_size()
|
| /openbmc/qemu/hw/smbios/ |
| H A D | smbios.c | 858 size_kb = QEMU_ALIGN_UP(current_machine->ram_size, KiB) / KiB; in smbios_build_type_16_table() 864 t->extended_maximum_capacity = cpu_to_le64(current_machine->ram_size); 1137 : ((current_machine->ram_size - 1) % mc->smbios_memory_device_size) + 1) in smbios_get_tables_ep() 1139 dimm_cnt = QEMU_ALIGN_UP(current_machine->ram_size, in smbios_get_tables_ep()
|