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()
[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