Searched refs:current_machine (Results 1 – 16 of 16) sorted by relevance
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 …]
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()
75 if (current_machine) { in cpu_core_instance_init()76 core->nr_threads = current_machine->smp.threads; in cpu_core_instance_init()
223 env->dregs[1] = current_machine->ram_size; in do_m68k_semihosting()224 env->aregs[7] = current_machine->ram_size; in do_m68k_semihosting()
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()
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()
57 return current_machine->accelerator; in current_accel()
80 RemoteMachineState *machine = REMOTE_MACHINE(current_machine); in process_set_irqfd_msg()
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()
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()
101 cs->num_ases = x86_machine_is_smm_enabled(X86_MACHINE(current_machine)) ? 2 : 1; in kvm_cpu_realizefn()
74 if (!machine_require_guest_memfd(current_machine)) { in pc_isa_bios_init()
191 return current_machine->ram_size; in vmport_cmd_ram_size()
122 env->gregs[2] = current_machine->ram_size; /* Memory size */ in main_cpu_reset()
313 while (mask > current_machine->ram_size) { in m5206_mbar_read()
201 || (mr != current_machine->ram && mr != sparse_mem_mr)) { in fuzz_dma_read_cb()