Home
last modified time | relevance | path

Searched refs:vms (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/qemu/hw/arm/
H A Dvirt.c260 static void create_fdt(VirtMachineState *vms) in create_fdt() argument
262 MachineState *ms = MACHINE(vms); in create_fdt()
264 void *fdt = create_device_tree(&vms->fdt_size); in create_fdt()
292 if (vms->dtb_randomness) { in create_fdt()
296 if (vms->secure) { in create_fdt()
298 if (vms->dtb_randomness) { in create_fdt()
310 vms->clock_phandle = qemu_fdt_alloc_phandle(fdt); in create_fdt()
317 qemu_fdt_setprop_cell(fdt, "/apb-pclk", "phandle", vms->clock_phandle); in create_fdt()
343 static void fdt_add_timer_nodes(const VirtMachineState *vms) in fdt_add_timer_nodes() argument
364 VirtMachineClass *vmc = VIRT_MACHINE_GET_CLASS(vms); in fdt_add_timer_nodes()
415 fdt_add_cpu_nodes(const VirtMachineState * vms) fdt_add_cpu_nodes() argument
531 fdt_add_its_gic_node(VirtMachineState * vms) fdt_add_its_gic_node() argument
551 fdt_add_v2m_gic_node(VirtMachineState * vms) fdt_add_v2m_gic_node() argument
570 fdt_add_gic_node(VirtMachineState * vms) fdt_add_gic_node() argument
648 fdt_add_pmu_nodes(const VirtMachineState * vms) fdt_add_pmu_nodes() argument
676 create_acpi_ged(VirtMachineState * vms) create_acpi_ged() argument
702 create_its(VirtMachineState * vms) create_its() argument
729 create_v2m(VirtMachineState * vms) create_v2m() argument
756 gicv3_nmi_present(VirtMachineState * vms) gicv3_nmi_present() argument
764 create_gic(VirtMachineState * vms,MemoryRegion * mem) create_gic() argument
924 create_uart(const VirtMachineState * vms,int uart,MemoryRegion * mem,Chardev * chr,bool secure) create_uart() argument
976 create_rtc(const VirtMachineState * vms) create_rtc() argument
1068 create_gpio_devices(const VirtMachineState * vms,int gpio,MemoryRegion * mem) create_gpio_devices() argument
1119 create_virtio_devices(const VirtMachineState * vms) create_virtio_devices() argument
1188 virt_flash_create1(VirtMachineState * vms,const char * name,const char * alias_prop_name) virt_flash_create1() argument
1213 virt_flash_create(VirtMachineState * vms) virt_flash_create() argument
1235 virt_flash_map(VirtMachineState * vms,MemoryRegion * sysmem,MemoryRegion * secure_sysmem) virt_flash_map() argument
1256 virt_flash_fdt(VirtMachineState * vms,MemoryRegion * sysmem,MemoryRegion * secure_sysmem) virt_flash_fdt() argument
1300 virt_firmware_init(VirtMachineState * vms,MemoryRegion * sysmem,MemoryRegion * secure_sysmem) virt_firmware_init() argument
1350 create_fw_cfg(const VirtMachineState * vms,AddressSpace * as) create_fw_cfg() argument
1409 create_smmu(const VirtMachineState * vms,PCIBus * bus) create_smmu() argument
1463 create_virtio_iommu_dt_bindings(VirtMachineState * vms) create_virtio_iommu_dt_bindings() argument
1489 create_pcie(VirtMachineState * vms) create_pcie() argument
1618 create_platform_bus(VirtMachineState * vms) create_platform_bus() argument
1653 create_secure_ram(VirtMachineState * vms,MemoryRegion * secure_sysmem,MemoryRegion * secure_tag_sysmem) create_secure_ram() argument
1692 virt_build_smbios(VirtMachineState * vms) virt_build_smbios() argument
1729 VirtMachineState *vms = container_of(notifier, VirtMachineState, virt_machine_done() local
1759 virt_cpu_mp_affinity(VirtMachineState * vms,int idx) virt_cpu_mp_affinity() argument
1782 virt_get_high_memmap_enabled(VirtMachineState * vms,int index) virt_get_high_memmap_enabled() argument
1798 virt_set_high_memmap(VirtMachineState * vms,hwaddr base,int pa_bits) virt_set_high_memmap() argument
1834 virt_set_memmap(VirtMachineState * vms,int pa_bits) virt_set_memmap() argument
1980 finalize_gic_version(VirtMachineState * vms) finalize_gic_version() argument
2031 virt_cpu_post_init(VirtMachineState * vms,MemoryRegion * sysmem) virt_cpu_post_init() argument
2096 VirtMachineState *vms = VIRT_MACHINE(machine); machvirt_init() local
2456 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_secure() local
2463 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_secure() local
2470 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_virt() local
2477 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_virt() local
2484 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_highmem() local
2491 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_highmem() local
2498 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_compact_highmem() local
2505 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_compact_highmem() local
2512 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_highmem_redists() local
2519 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_highmem_redists() local
2526 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_highmem_ecam() local
2533 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_highmem_ecam() local
2540 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_highmem_mmio() local
2547 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_highmem_mmio() local
2555 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_its() local
2562 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_its() local
2569 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_dtb_randomness() local
2576 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_dtb_randomness() local
2583 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_oem_id() local
2590 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_oem_id() local
2604 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_oem_table_id() local
2612 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_oem_table_id() local
2624 virt_is_acpi_enabled(VirtMachineState * vms) virt_is_acpi_enabled() argument
2635 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_acpi() local
2644 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_acpi() local
2651 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_ras() local
2658 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_ras() local
2665 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_mte() local
2672 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_mte() local
2679 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_gic_version() local
2698 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_gic_version() local
2718 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_iommu() local
2732 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_iommu() local
2746 VirtMachineState *vms = VIRT_MACHINE(obj); virt_get_default_bus_bypass_iommu() local
2754 VirtMachineState *vms = VIRT_MACHINE(obj); virt_set_default_bus_bypass_iommu() local
2780 VirtMachineState *vms = VIRT_MACHINE(ms); virt_possible_cpu_arch_ids() local
2816 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_memory_pre_plug() local
2842 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_memory_plug() local
2859 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_machine_device_pre_plug_cb() local
2904 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_machine_device_plug_cb() local
2933 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_dimm_unplug_request() local
2953 VirtMachineState *vms = VIRT_MACHINE(hotplug_dev); virt_dimm_unplug() local
3015 VirtMachineState *vms = VIRT_MACHINE(ms); virt_kvm_type() local
3050 VirtMachineState *vms = VIRT_MACHINE(ms); virt_hvf_get_physical_address_range() local
3279 VirtMachineState *vms = VIRT_MACHINE(obj); virt_instance_init() local
[all...]
H A Dvirt-acpi-build.c67 static void acpi_dsdt_add_cpus(Aml *scope, VirtMachineState *vms) in acpi_dsdt_add_cpus() argument
69 MachineState *ms = MACHINE(vms); in acpi_dsdt_add_cpus()
123 uint32_t irq, VirtMachineState *vms) in acpi_dsdt_add_pci() argument
125 int ecam_id = VIRT_ECAM_ID(vms->highmem_ecam); in acpi_dsdt_add_pci()
131 .bus = vms->bus, in acpi_dsdt_add_pci()
134 if (vms->highmem_mmio) { in acpi_dsdt_add_pci()
172 static void acpi_dsdt_add_tpm(Aml *scope, VirtMachineState *vms) in acpi_dsdt_add_tpm() argument
174 PlatformBusDevice *pbus = PLATFORM_BUS_DEVICE(vms->platform_bus_dev); in acpi_dsdt_add_tpm()
175 hwaddr pbus_base = vms->memmap[VIRT_PLATFORM_BUS].base; in acpi_dsdt_add_tpm()
275 build_iort(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms) in build_iort() argument
[all …]
H A Dvexpress.c272 static void a9_daughterboard_init(VexpressMachineState *vms, in a9_daughterboard_init() argument
277 MachineState *machine = MACHINE(vms); in a9_daughterboard_init()
296 vms->secure, vms->virt); in a9_daughterboard_init()
355 static void a15_daughterboard_init(VexpressMachineState *vms, in a15_daughterboard_init() argument
360 MachineState *machine = MACHINE(vms); in a15_daughterboard_init()
380 0x2c000000, pic, vms->secure, vms->virt); in a15_daughterboard_init()
392 memory_region_init_ram(&vms->a15sram, NULL, "vexpress.a15sram", 0x10000, in a15_daughterboard_init()
394 memory_region_add_subregion(sysmem, 0x2e000000, &vms->a15sram); in a15_daughterboard_init()
542 VexpressMachineState *vms = VEXPRESS_MACHINE(machine); in vexpress_common_init() local
557 daughterboard->init(vms, machine->ram_size, machine->cpu_type, pic); in vexpress_common_init()
[all …]
/openbmc/qemu/hw/acpi/
H A Dvmgenid.c25 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid, in vmgenid_build_acpi() argument
38 guid_le = qemu_uuid_bswap(vms->guid); in vmgenid_build_acpi()
123 void vmgenid_add_fw_cfg(VmGenIdState *vms, FWCfgState *s, GArray *guid) in vmgenid_add_fw_cfg() argument
130 vms->vmgenid_addr_le, in vmgenid_add_fw_cfg()
131 ARRAY_SIZE(vms->vmgenid_addr_le), false); in vmgenid_add_fw_cfg()
134 static void vmgenid_update_guest(VmGenIdState *vms) in vmgenid_update_guest() argument
142 memcpy(&vmgenid_addr, vms->vmgenid_addr_le, sizeof(vmgenid_addr)); in vmgenid_update_guest()
153 guid_le = qemu_uuid_bswap(vms->guid); in vmgenid_update_guest()
171 VmGenIdState *vms = opaque; in vmgenid_post_load() local
172 vmgenid_update_guest(vms); in vmgenid_post_load()
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmigration-permissions38 vms = [None, None]
40 vms[i] = iotests.VM(path_suffix=f'{i}')
41 vms[i].add_blockdev(f'file,node-name=prot,filename={test_img}')
42 vms[i].add_blockdev(f'{imgfmt},node-name=fmt,file=prot')
43 vms[i].add_device('virtio-blk,drive=fmt')
46 vms[i].add_incoming(f'unix:{mig_sock}')
48 vms[i].launch()
50 vms[i].cmd('migrate-set-capabilities',
55 self.vm_s = vms[0]
56 self.vm_d = vms[1]
/openbmc/qemu/include/hw/arm/
H A Dvirt.h190 void virt_acpi_setup(VirtMachineState *vms);
191 bool virt_is_acpi_enabled(VirtMachineState *vms);
194 static uint32_t virt_redist_capacity(VirtMachineState *vms, int region) in virt_redist_capacity() argument
198 if (vms->gic_version == VIRT_GIC_VERSION_3) { in virt_redist_capacity()
203 return vms->memmap[region].size / redist_size; in virt_redist_capacity()
207 static inline int virt_gicv3_redist_region_count(VirtMachineState *vms) in virt_gicv3_redist_region_count() argument
209 uint32_t redist0_capacity = virt_redist_capacity(vms, VIRT_GIC_REDIST); in virt_gicv3_redist_region_count()
211 assert(vms->gic_version != VIRT_GIC_VERSION_2); in virt_gicv3_redist_region_count()
213 return (MACHINE(vms)->smp.cpus > redist0_capacity && in virt_gicv3_redist_region_count()
214 vms->highmem_redists) ? 2 : 1; in virt_gicv3_redist_region_count()
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
41 vector int vms[] = { variable
65 &vms[i], sizeof(vector int)); in signal_usr1()
75 printf("%08x", vms[i][j]); in signal_usr1()
83 &vms[NV_VMX_REGS + i], sizeof (vector int)); in signal_usr1()
93 printf("%08x", vms[NV_VMX_REGS + i][j]); in signal_usr1()
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk()
H A Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c191 struct kvm_vm **vms; in main() local
215 vms = malloc(sizeof(vms[0]) * max_vm); in main()
216 TEST_ASSERT(vms, "Allocate memory for storing VM pointers"); in main()
229 vms[i] = vm_create_barebones(); in main()
231 vcpus[i * max_vcpu + j] = __vm_vcpu_add(vms[i], j); in main()
243 vm_stats_fds = vm_get_stats_fd(vms[i]); in main()
247 stats_test(vm_get_stats_fd(vms[i])); in main()
261 kvm_vm_free(vms[i]); in main()
270 free(vms); in main()
/openbmc/linux/mm/
H A Dpercpu-vm.c336 struct vm_struct **vms; in pcpu_create_chunk() local
342 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
344 if (!vms) { in pcpu_create_chunk()
349 chunk->data = vms; in pcpu_create_chunk()
350 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
H A Dvmalloc.c4040 struct vm_struct **vms; in pcpu_get_vm_areas() local
4073 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
4075 if (!vas || !vms) in pcpu_get_vm_areas()
4080 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
4081 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
4180 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
4192 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr, in pcpu_get_vm_areas()
4193 vms[area]->size, KASAN_VMALLOC_PROT_NORMAL); in pcpu_get_vm_areas()
4196 return vms; in pcpu_get_vm_areas()
4241 kfree(vms[area]); in pcpu_get_vm_areas()
[all …]
/openbmc/qemu/include/hw/acpi/
H A Dvmgenid.h33 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
35 void vmgenid_add_fw_cfg(VmGenIdState *vms, FWCfgState *s, GArray *guid);
H A Dghes.h73 void acpi_ghes_add_fw_cfg(AcpiGhesState *vms, FWCfgState *s,
/openbmc/qemu/hw/riscv/
H A Dvirt-acpi-build.c606 build_srat(GArray *table_data, BIOSLinker *linker, RISCVVirtState *vms) in build_srat() argument
610 MachineClass *mc = MACHINE_GET_CLASS(vms); in build_srat()
611 MachineState *ms = MACHINE(vms); in build_srat()
613 AcpiTable table = { .sig = "SRAT", .rev = 3, .oem_id = vms->oem_id, in build_srat()
614 .oem_table_id = vms->oem_table_id }; in build_srat()
635 mem_base = vms->memmap[VIRT_DRAM].base; in build_srat()
/openbmc/linux/include/linux/
H A Dvmalloc.h266 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
277 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
/openbmc/qemu/hw/core/
H A Dmachine-qmp-cmds.c396 VmGenIdState *vms; in qmp_query_vm_generation_id() local
403 vms = VMGENID(obj); in qmp_query_vm_generation_id()
406 info->guid = qemu_uuid_unparse_strdup(&vms->guid); in qmp_query_vm_generation_id()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/
H A D0001-genisoimage-Add-checksum.h-and-md5.h-for-function-pr.patch34 #include "vms.h"
/openbmc/qemu/include/hw/riscv/
H A Dvirt.h132 void virt_acpi_setup(RISCVVirtState *vms);
/openbmc/qemu/scripts/
H A Dcompare-machine-types.py476 vms = [stack.enter_context(QEMUMachine(binary=binary, qmp_timer=15, variable
480 for vm in vms:
/openbmc/openbmc/poky/meta/recipes-devtools/perl/
H A Dperl-ptest.inc15 --exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \
/openbmc/qemu/hw/loongarch/
H A Dacpi-build.c409 static void acpi_dsdt_add_tpm(Aml *scope, LoongArchVirtMachineState *vms) in acpi_dsdt_add_tpm() argument
411 PlatformBusDevice *pbus = PLATFORM_BUS_DEVICE(vms->platform_bus_dev); in acpi_dsdt_add_tpm()
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat846 vms = self.walkdir(PATH_DEBUGFS_KVM)[1]
847 if len(vms) == 0:
850 self.paths = list(filter(lambda x: "{}-".format(pid) in x, vms))
/openbmc/qemu/docs/
H A DCOLO-FT.txt159 # imagefolder="/mnt/vms/colo-test-primary"
185 # imagefolder="/mnt/vms/colo-test-secondary"

12