Home
last modified time | relevance | path

Searched refs:current_machine (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/target/s390x/kvm/
H A Dstsi-topology.c143 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 Dcpu-topology.c50 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 = &current_machine->smp; in s390_topology_cpu_default()
237 CpuTopology *smp = &current_machine->smp; in s390_topology_check()
364 MachineState *ms = current_machine; in s390_change_topology()
/openbmc/qemu/hw/cpu/
H A Dcore.c75 if (current_machine) { in cpu_core_instance_init()
76 core->nr_threads = current_machine->smp.threads; in cpu_core_instance_init()
/openbmc/qemu/target/m68k/
H A Dm68k-semi.c223 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 Darm-qmp-cmds.c138 } 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 Dmemory-device.c98 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 Daccel-system.c57 return current_machine->accelerator; in current_accel()
/openbmc/qemu/hw/remote/
H A Diohub.c80 RemoteMachineState *machine = REMOTE_MACHINE(current_machine); in process_set_irqfd_msg()
/openbmc/qemu/system/
H A Dbootdevice.c274 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/hw/nvram/
H A Dfw_cfg.c187 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/target/i386/kvm/
H A Dkvm-cpu.c101 cs->num_ases = x86_machine_is_smm_enabled(X86_MACHINE(current_machine)) ? 2 : 1; in kvm_cpu_realizefn()
/openbmc/qemu/hw/i386/
H A Dpc_sysfw.c74 if (!machine_require_guest_memfd(current_machine)) { in pc_isa_bios_init()
H A Dvmport.c191 return current_machine->ram_size; in vmport_cmd_ram_size()
/openbmc/qemu/hw/sparc64/
H A Dsparc64.c122 env->gregs[2] = current_machine->ram_size; /* Memory size */ in main_cpu_reset()
/openbmc/qemu/hw/m68k/
H A Dmcf5206.c313 while (mask > current_machine->ram_size) { in m5206_mbar_read()
/openbmc/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz.c201 || (mr != current_machine->ram && mr != sparse_mem_mr)) { in fuzz_dma_read_cb()