/qemu/hw/riscv/ |
H A D | numa.c | 28 static bool numa_enabled(const MachineState *ms) in numa_enabled() 33 int riscv_socket_count(const MachineState *ms) in riscv_socket_count() 38 int riscv_socket_first_hartid(const MachineState *ms, int socket_id) in riscv_socket_first_hartid() 58 int riscv_socket_last_hartid(const MachineState *ms, int socket_id) in riscv_socket_last_hartid() 78 int riscv_socket_hart_count(const MachineState *ms, int socket_id) in riscv_socket_hart_count() 103 bool riscv_socket_check_hartids(const MachineState *ms, int socket_id) in riscv_socket_check_hartids() 130 uint64_t riscv_socket_mem_offset(const MachineState *ms, int socket_id) in riscv_socket_mem_offset() 149 uint64_t riscv_socket_mem_size(const MachineState *ms, int socket_id) in riscv_socket_mem_size() 159 void riscv_socket_fdt_write_id(const MachineState *ms, const char *node_name, in riscv_socket_fdt_write_id() 167 void riscv_socket_fdt_write_distance_matrix(const MachineState *ms) in riscv_socket_fdt_write_distance_matrix() [all …]
|
H A D | virt.c | 238 MachineState *ms = MACHINE(s); in create_fdt_socket_cpus() local 308 MachineState *ms = MACHINE(s); in create_fdt_socket_memory() local 328 MachineState *ms = MACHINE(s); in create_fdt_socket_clint() local 367 MachineState *ms = MACHINE(s); in create_fdt_socket_aclint() local 452 MachineState *ms = MACHINE(s); in create_fdt_socket_plic() local 530 MachineState *ms = MACHINE(s); in create_fdt_one_imsic() local 632 MachineState *ms = MACHINE(s); in create_fdt_one_aplic() local 695 MachineState *ms = MACHINE(s); in create_fdt_socket_aplic() local 734 MachineState *ms = MACHINE(s); in create_fdt_pmu() local 750 MachineState *ms = MACHINE(s); in create_fdt_sockets() local [all …]
|
H A D | virt-acpi-build.c | 73 MachineState *ms = MACHINE(s); in riscv_acpi_madt_add_rintc() local 121 MachineState *ms = MACHINE(s); in acpi_dsdt_add_cpus() local 284 MachineState *ms = MACHINE(s); in build_rhct() local 446 MachineState *ms = MACHINE(s); in build_dsdt() local 522 MachineState *ms = MACHINE(s); in build_madt() local 826 MachineState *ms = MACHINE(vms); in build_srat() local 868 MachineState *ms = MACHINE(s); in virt_acpi_build() local
|
/qemu/hw/core/ |
H A D | machine.c | 292 MachineState *ms = MACHINE(obj); in machine_get_kernel() local 299 MachineState *ms = MACHINE(obj); in machine_set_kernel() local 307 MachineState *ms = MACHINE(obj); in machine_get_shim() local 314 MachineState *ms = MACHINE(obj); in machine_set_shim() local 322 MachineState *ms = MACHINE(obj); in machine_get_initrd() local 329 MachineState *ms = MACHINE(obj); in machine_set_initrd() local 337 MachineState *ms = MACHINE(obj); in machine_get_append() local 344 MachineState *ms = MACHINE(obj); in machine_set_append() local 352 MachineState *ms = MACHINE(obj); in machine_get_dtb() local 359 MachineState *ms = MACHINE(obj); in machine_set_dtb() local [all …]
|
H A D | machine-smp.c | 31 static char *cpu_hierarchy_to_string(MachineState *ms) in cpu_hierarchy_to_string() 85 void machine_parse_smp_config(MachineState *ms, in machine_parse_smp_config() 264 static bool machine_check_topo_support(MachineState *ms, in machine_check_topo_support() 285 bool machine_parse_smp_cache(MachineState *ms, in machine_parse_smp_cache() 340 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms) in machine_topo_get_cores_per_socket() 345 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms) in machine_topo_get_threads_per_socket() 350 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms, in machine_get_cache_topo_level() 356 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level() 387 bool machine_check_smp_cache(const MachineState *ms, Error **errp) in machine_check_smp_cache()
|
H A D | numa.c | 62 static void parse_numa_node(MachineState *ms, NumaNodeOptions *node, in parse_numa_node() 172 void parse_numa_distance(MachineState *ms, NumaDistOptions *dist, Error **errp) in parse_numa_distance() 389 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node, in parse_numa_hmat_cache() 462 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp) in set_numa_options() 520 MachineState *ms = MACHINE(opaque); in parse_numa() local 560 static void validate_numa_distance(MachineState *ms) in validate_numa_distance() 603 static void complete_init_numa_distance(MachineState *ms) in complete_init_numa_distance() 626 static void numa_init_memdev_container(MachineState *ms, MemoryRegion *ram) in numa_init_memdev_container() 643 void numa_complete_configuration(MachineState *ms) in numa_complete_configuration() 736 void parse_numa_opts(MachineState *ms) in parse_numa_opts() [all …]
|
H A D | machine-qmp-cmds.c | 37 MachineState *ms = MACHINE(qdev_get_machine()); in qmp_query_cpus_fast() local 150 MachineState *ms = MACHINE(qdev_get_machine()); in qmp_query_hotpluggable_cpus() local 226 MachineState *ms = MACHINE(qdev_get_machine()); in qmp_x_query_numa() local 306 MachineState *ms = MACHINE(qdev_get_machine()); in qmp_query_memory_size_summary() local
|
/qemu/hw/loongarch/ |
H A D | virt-fdt-build.c | 22 MachineState *ms = MACHINE(lvms); in create_fdt() local 46 MachineState *ms = MACHINE(lvms); in fdt_add_cpu_nodes() local 111 static void fdt_add_memory_node(MachineState *ms, in fdt_add_memory_node() 128 static void fdt_add_memory_nodes(MachineState *ms) in fdt_add_memory_nodes() 174 const MachineState *ms = MACHINE(lvms); in fdt_add_fw_cfg_node() local 188 MachineState *ms = MACHINE(lvms); in fdt_add_flash_node() local 219 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node() local 237 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node() local 262 MachineState *ms = MACHINE(lvms); in fdt_add_pch_pic_node() local 287 MachineState *ms = MACHINE(lvms); in fdt_add_pch_msi_node() local [all …]
|
H A D | virt.c | 129 MachineState *ms = MACHINE(lvms); in virt_build_smbios() local 175 static void memmap_add_entry(MachineState *ms, uint64_t address, in memmap_add_entry() 204 MachineState *ms = MACHINE(lvms); in create_acpi_ged() local 341 MachineState *ms = MACHINE(lvms); in virt_cpu_irq_init() local 629 static void fw_cfg_add_memory(MachineState *ms) in fw_cfg_add_memory() 855 static void virt_get_topo_from_index(MachineState *ms, in virt_get_topo_from_index() 878 static int virt_get_arch_id_from_topo(MachineState *ms, LoongArchCPUTopo *topo) in virt_get_arch_id_from_topo() 898 static CPUArchId *virt_find_cpu_slot(MachineState *ms, int arch_id) in virt_find_cpu_slot() 911 static CPUArchId *virt_find_empty_cpu_slot(MachineState *ms) in virt_find_empty_cpu_slot() 927 MachineState *ms = MACHINE(OBJECT(hotplug_dev)); in virt_cpu_pre_plug() local [all …]
|
H A D | boot.c | 91 static void init_efi_boot_memmap(MachineState *ms, in init_efi_boot_memmap() 150 static void init_systab(MachineState *ms, in init_systab() 376 static void init_boot_rom(MachineState *ms, in init_boot_rom() 387 static void loongarch_direct_kernel_boot(MachineState *ms, in loongarch_direct_kernel_boot() 429 void loongarch_load_kernel(MachineState *ms, struct loongarch_boot_info *info) in loongarch_load_kernel()
|
/qemu/hw/virtio/ |
H A D | virtio-md-stubs.c | 5 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 10 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 15 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 21 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
H A D | virtio-md-pci.c | 19 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 47 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 69 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 110 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
/qemu/hw/s390x/ |
H A D | virtio-ccw-md-stubs.c | 5 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug() 10 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug() 15 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request() 21 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
|
H A D | virtio-ccw-md.c | 19 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug() 48 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug() 70 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request() 112 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
|
H A D | s390-virtio-ccw.c | 266 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in ccw_init() local 332 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() local 358 static void s390_machine_unprotect(S390CcwMachineState *ms) in s390_machine_unprotect() 368 static int s390_machine_protect(S390CcwMachineState *ms, in s390_machine_protect() 438 static void s390_pv_prepare_reset(S390CcwMachineState *ms) in s390_pv_prepare_reset() 455 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in s390_machine_reset() local 640 static CpuInstanceProperties s390_cpu_index_to_props(MachineState *ms, in s390_cpu_index_to_props() 650 static const CPUArchIdList *s390_possible_cpu_arch_ids(MachineState *ms) in s390_possible_cpu_arch_ids() 723 S390CcwMachineState *ms = S390_CCW_MACHINE(obj); in machine_get_aes_key_wrap() local 731 S390CcwMachineState *ms = S390_CCW_MACHINE(obj); in machine_set_aes_key_wrap() local [all …]
|
H A D | cpu-topology.c | 87 static void s390_topology_init(MachineState *ms) in s390_topology_init() 292 static void s390_update_cpu_props(MachineState *ms, S390CPU *cpu) in s390_update_cpu_props() 315 void s390_topology_setup_cpu(MachineState *ms, S390CPU *cpu, Error **errp) in s390_topology_setup_cpu() 364 MachineState *ms = current_machine; in s390_change_topology() local
|
/qemu/hw/mem/ |
H A D | memory-device.c | 85 static unsigned int get_reserved_memslots(MachineState *ms) in get_reserved_memslots() 113 static unsigned int memory_device_memslot_decision_limit(MachineState *ms, in memory_device_memslot_decision_limit() 173 static void memory_device_check_addable(MachineState *ms, MemoryDeviceState *md, in memory_device_check_addable() 214 static uint64_t memory_device_get_free_addr(MachineState *ms, in memory_device_get_free_addr() 347 void memory_device_pre_plug(MemoryDeviceState *md, MachineState *ms, in memory_device_pre_plug() 410 void memory_device_plug(MemoryDeviceState *md, MachineState *ms) in memory_device_plug() 442 void memory_device_unplug(MemoryDeviceState *md, MachineState *ms) in memory_device_unplug() 529 void machine_memory_devices_init(MachineState *ms, hwaddr base, uint64_t size) in machine_memory_devices_init()
|
/qemu/hw/arm/ |
H A D | virt.c | 241 static void create_randomness(MachineState *ms, const char *node) in create_randomness() 271 MachineState *ms = MACHINE(vms); in create_fdt() local 374 MachineState *ms = MACHINE(vms); in fdt_add_timer_nodes() local 423 const MachineState *ms = MACHINE(vms); in fdt_add_cpu_nodes() local 538 MachineState *ms = MACHINE(vms); in fdt_add_its_gic_node() local 557 MachineState *ms = MACHINE(vms); in fdt_add_v2m_gic_node() local 576 MachineState *ms = MACHINE(vms); in fdt_add_gic_node() local 656 MachineState *ms = MACHINE(vms); in fdt_add_pmu_nodes() local 683 MachineState *ms = MACHINE(vms); in create_acpi_ged() local 770 MachineState *ms = MACHINE(vms); in create_gic() local [all …]
|
/qemu/tests/unit/ |
H A D | test-smp-parse.c | 781 static void check_parse(MachineState *ms, const SMPConfiguration *config, in check_parse() 885 static void smp_parse_test(MachineState *ms, SMPTestData *data, bool is_valid) in smp_parse_test() 1015 MachineState *ms = MACHINE(obj); in test_generic_valid() local 1034 MachineState *ms = MACHINE(obj); in test_generic_invalid() local 1053 MachineState *ms = MACHINE(obj); in test_with_modules() local 1103 MachineState *ms = MACHINE(obj); in test_with_dies() local 1153 MachineState *ms = MACHINE(obj); in test_with_modules_dies() local 1214 MachineState *ms = MACHINE(obj); in test_with_clusters() local 1264 MachineState *ms = MACHINE(obj); in test_with_books() local 1314 MachineState *ms = MACHINE(obj); in test_with_drawers() local [all …]
|
/qemu/accel/ |
H A D | accel-system.c | 34 int accel_init_machine(AccelState *accel, MachineState *ms) in accel_init_machine() 56 void accel_setup_post(MachineState *ms) in accel_setup_post()
|
/qemu/hw/ppc/ |
H A D | spapr_numa.c | 72 static int get_numa_distance(MachineState *ms, int src, int dst) in get_numa_distance() 94 static bool spapr_numa_is_symmetrical(MachineState *ms) in spapr_numa_is_symmetrical() 145 MachineState *ms = MACHINE(spapr); in spapr_numa_define_FORM1_domains() local 434 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM1_write_rtas_dt() local 491 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_tables() local 552 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_dt() local
|
H A D | spapr_vof.c | 104 void spapr_vof_quiesce(MachineState *ms) in spapr_vof_quiesce() 112 bool spapr_vof_setprop(MachineState *ms, const char *path, const char *propname, in spapr_vof_setprop()
|
/qemu/hw/i386/xen/ |
H A D | xen-pvh.c | 29 static DeviceState *xen_pvh_cpu_new(MachineState *ms, in xen_pvh_cpu_new() 42 static void xen_pvh_init(MachineState *ms) in xen_pvh_init()
|
/qemu/hw/i386/ |
H A D | fw_cfg.c | 70 MachineState *ms = MACHINE(pcms); in fw_cfg_build_smbios() local 119 FWCfgState *fw_cfg_arch_create(MachineState *ms, in fw_cfg_arch_create() 177 void fw_cfg_build_feature_control(MachineState *ms, FWCfgState *fw_cfg) in fw_cfg_build_feature_control()
|
/qemu/plugins/ |
H A D | system.c | 20 MachineState *ms = MACHINE(qdev_get_machine()); in qemu_plugin_fillin_mode_info() local
|