Home
last modified time | relevance | path

Searched full:vm (Results 1 – 25 of 7888) sorted by relevance

12345678910>>...316

/aosp_15_r20/art/compiler/utils/riscv64/
H A Dassembler_riscv64.h685 enum class VM : uint32_t { // Vector mask enum
704 void VLe8(VRegister vd, XRegister rs1, VM vm = VM::kUnmasked);
705 void VLe16(VRegister vd, XRegister rs1, VM vm = VM::kUnmasked);
706 void VLe32(VRegister vd, XRegister rs1, VM vm = VM::kUnmasked);
707 void VLe64(VRegister vd, XRegister rs1, VM vm = VM::kUnmasked);
710 void VSe8(VRegister vs3, XRegister rs1, VM vm = VM::kUnmasked);
711 void VSe16(VRegister vs3, XRegister rs1, VM vm = VM::kUnmasked);
712 void VSe32(VRegister vs3, XRegister rs1, VM vm = VM::kUnmasked);
713 void VSe64(VRegister vs3, XRegister rs1, VM vm = VM::kUnmasked);
723 void VLse8(VRegister vd, XRegister rs1, XRegister rs2, VM vm = VM::kUnmasked);
[all …]
H A Dassembler_riscv64.cc1799 void Riscv64Assembler::VLe8(VRegister vd, XRegister rs1, VM vm) { in VLe8() argument
1801 DCHECK_IMPLIES(vm == VM::kV0_t, vd != V0); in VLe8()
1802 const uint32_t funct7 = EncodeRVVMemF7(Nf::k1, 0x0, MemAddressMode::kUnitStride, vm); in VLe8()
1806 void Riscv64Assembler::VLe16(VRegister vd, XRegister rs1, VM vm) { in VLe16() argument
1808 DCHECK_IMPLIES(vm == VM::kV0_t, vd != V0); in VLe16()
1809 const uint32_t funct7 = EncodeRVVMemF7(Nf::k1, 0x0, MemAddressMode::kUnitStride, vm); in VLe16()
1813 void Riscv64Assembler::VLe32(VRegister vd, XRegister rs1, VM vm) { in VLe32() argument
1815 DCHECK_IMPLIES(vm == VM::kV0_t, vd != V0); in VLe32()
1816 const uint32_t funct7 = EncodeRVVMemF7(Nf::k1, 0x0, MemAddressMode::kUnitStride, vm); in VLe32()
1820 void Riscv64Assembler::VLe64(VRegister vd, XRegister rs1, VM vm) { in VLe64() argument
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/85/
D85b79e2e6bdbaa5087cada5215ffcb9998b994c118 from: "cts/tools/vm-tests-tf/src/dot/Main.java"
19 to: "cts/tools/vm-tests-tf/src/dot/Main.java"
22 from: "cts/tools/vm-tests-tf/src/dot/junit/AllTests.java"
23 to: "cts/tools/vm-tests-tf/src/dot/junit/AllTests.java"
26 from: "cts/tools/vm-tests-tf/src/dot/junit/AssertionFailedException.java"
27 to: "cts/tools/vm-tests-tf/src/dot/junit/AssertionFailedException.java"
30 from: "cts/tools/vm-tests-tf/src/dot/junit/DxAbstractMain.java"
31 to: "cts/tools/vm-tests-tf/src/dot/junit/DxAbstractMain.java"
34 from: "cts/tools/vm-tests-tf/src/dot/junit/DxTestCase.java"
35 to: "cts/tools/vm-tests-tf/src/dot/junit/DxTestCase.java"
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/12/
D1204e895f321b4e7aa7d4ab42783eb0d7c8e0c7c3 from: "cts/tools/vm-tests-tf/etc/vmtests-cfassembler.sh"
4 to: "tools/src/cts/tools/vm-tests-tf/etc/vmtests-cfassembler.sh"
22 from: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_1.dfh"
23 to: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_1.dfh"
26 from: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_10.dfh"
27 to: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_10.dfh"
30 from: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_11.dfh"
31 to: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_11.dfh"
34 from: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_12.dfh"
35 to: "cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/T_f1_12.dfh"
[all …]
/aosp_15_r20/external/bc/src/
H A Dvm.c63 #include <vm.h>
78 BcVm* vm = &vm_data; variable
93 BcVm* vm = bcl_getspecific(); local
96 assert(BC_SIG_EXC(vm));
101 bc_file_puts(&vm->ferr, bc_flush_none, "Longjmp: ");
102 bc_file_puts(&vm->ferr, bc_flush_none, f);
103 bc_file_putchar(&vm->ferr, bc_flush_none, '\n');
104 bc_file_flush(&vm->ferr, bc_flush_none);
108 assert(vm->jmp_bufs.len - (size_t) vm->sig_pop);
111 if (vm->jmp_bufs.len == 0) abort();
[all …]
H A Dlibrary.c46 #include <vm.h>
119 * @param vm The @a BcVm to set as the thread data.
123 bcl_setspecific(BcVm* vm) in bcl_setspecific() argument
131 r = pthread_setspecific(tls_real, vm); in bcl_setspecific()
140 r = TlsSetValue(tls_real, vm); in bcl_setspecific()
151 BcVm* vm; in bcl_getspecific() local
155 vm = pthread_getspecific(tls_real); in bcl_getspecific()
159 vm = TlsGetValue(tls_real); in bcl_getspecific()
163 return vm; in bcl_getspecific()
170 BcVm* vm; in bcl_init() local
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c122 void vm_enable_dirty_ring(struct kvm_vm *vm, uint32_t ring_size) in vm_enable_dirty_ring() argument
124 if (vm_check_cap(vm, KVM_CAP_DIRTY_LOG_RING_ACQ_REL)) in vm_enable_dirty_ring()
125 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING_ACQ_REL, ring_size); in vm_enable_dirty_ring()
127 vm_enable_cap(vm, KVM_CAP_DIRTY_LOG_RING, ring_size); in vm_enable_dirty_ring()
128 vm->dirty_ring_size = ring_size; in vm_enable_dirty_ring()
131 static void vm_open(struct kvm_vm *vm) in vm_open() argument
133 vm->kvm_fd = _open_kvm_dev_path_or_exit(O_RDWR); in vm_open()
137 vm->fd = __kvm_ioctl(vm->kvm_fd, KVM_CREATE_VM, (void *)vm->type); in vm_open()
138 TEST_ASSERT(vm->fd >= 0, KVM_IOCTL_ERROR(KVM_CREATE_VM, vm->fd)); in vm_open()
190 struct kvm_vm *vm; in ____vm_create() local
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/
H A Dprocessor.c19 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align() argument
21 return (v + vm->page_size) & ~(vm->page_size - 1); in page_align()
24 static uint64_t pgd_index(struct kvm_vm *vm, vm_vaddr_t gva) in pgd_index() argument
26 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index()
27 uint64_t mask = (1UL << (vm->va_bits - shift)) - 1; in pgd_index()
32 static uint64_t pud_index(struct kvm_vm *vm, vm_vaddr_t gva) in pud_index() argument
34 unsigned int shift = 2 * (vm->page_shift - 3) + vm->page_shift; in pud_index()
35 uint64_t mask = (1UL << (vm->page_shift - 3)) - 1; in pud_index()
37 TEST_ASSERT(vm->pgtable_levels == 4, in pud_index()
38 "Mode %d does not have 4 page table levels", vm->mode); in pud_index()
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dvmmigration_v1alpha1.projects.locations.sources.migratingVms.html75 <h1><a href="vmmigration_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projec…
113 …r a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further re…
116 <p class="firstline">Resumes a migration for a VM. When called on a paused migration, will start th…
119 <p class="firstline">Starts migration for a VM. Starts the process of uploading data and creating s…
135 { # MigratingVm describes the VM that will be migrated from a Source environment and its replicatio…
136 …s is a collection of details for creating a VM in a target Compute Engine project. # Details of th…
137 &quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
144 …bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
145 …&quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour …
160 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
[all …]
Dvmmigration_v1alpha1.projects.locations.sources.migratingVms.cutoverJobs.html75 <h1><a href="vmmigration_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projec…
85 <p class="firstline">Initiates a Cutover of a specific migrating VM. The returned LRO is completed …
91 <p class="firstline">Lists CutoverJobs of a given migrating VM.</p>
144 …<pre>Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutove…
151 … a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a …
152 …collection of details for creating a VM in a target Compute Engine project. # Output only. Details…
153 &quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
160 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
161 …&quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour …
176 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
[all …]
Dvmmigration_v1alpha1.projects.locations.sources.migratingVms.cloneJobs.html75 <h1><a href="vmmigration_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projec…
85 <p class="firstline">Initiates a Clone of a specific migrating VM.</p>
91 <p class="firstline">Lists CloneJobs of a given migrating VM.</p>
144 <pre>Initiates a Clone of a specific migrating VM.
151 … cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in th…
152 …collection of details for creating a VM in a target Compute Engine project. # Output only. Details…
153 &quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
160 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
161 …&quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour …
176 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
[all …]
Dvmmigration_v1.projects.locations.sources.migratingVms.html75 <h1><a href="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">pro…
113 …r a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further re…
116 <p class="firstline">Resumes a migration for a VM. When called on a paused migration, will start th…
119 <p class="firstline">Starts migration for a VM. Starts the process of uploading data and creating s…
135 { # MigratingVm describes the VM that will be migrated from a Source environment and its replicatio…
136 …s is a collection of details for creating a VM in a target Compute Engine project. # Details of th…
137 &quot;additionalLicenses&quot;: [ # Additional licenses to assign to the VM.
144 …bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
145 …&quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour …
159 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/VE/
H A DVEInstrIntrinsicVL.gen.td67 …ssml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTrrvml i64:$sy, i64:$sz, v256f64:$vx,…
68 …ml v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTirvml (LO7 $I), i64:$sz, v256f64:$vx,…
71 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCrrvml i64:$sy, i64:$sz, v256f64:$vx…
72 …l v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCirvml (LO7 $I), i64:$sz, v256f64:$vx…
75 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTOTrrvml i64:$sy, i64:$sz, v256f64:$vx…
76 …l v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTOTirvml (LO7 $I), i64:$sz, v256f64:$vx…
79 …ml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCOTrrvml i64:$sy, i64:$sz, v256f64:$v…
80 … v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCOTirvml (LO7 $I), i64:$sz, v256f64:$v…
83 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTUrrvml i64:$sy, i64:$sz, v256f64:$vx,…
84 …ml v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTUirvml (LO7 $I), i64:$sz, v256f64:$vx…
[all …]
/aosp_15_r20/packages/modules/Virtualization/libs/framework-virtualization/
DREADME.md8 payload code that is to run inside a VM, and the native API available to it, see
9 the [VM Payload API](../libvm_payload/README.md)
66 ## Starting a VM
70 a VM can be started by:
71 - Specifying the desired VM configuration, using a
77 - Registering to retrieve events from the VM by providing a
80 - Running the VM.
91 VirtualMachine vm = vmm.getOrCreate("my vm", config);
93 vm.setCallback(executor, new VirtualMachineCallback() {...});
95 vm.run();
[all …]
/aosp_15_r20/external/crosvm/e2e_tests/tests/
H A Dswap.rs14 use fixture::vm::Config;
15 use fixture::vm::TestVm;
22 fn get_swap_state(vm: &mut TestVm) -> SwapState { in get_swap_state()
23 let output = vm.swap_command("status").unwrap(); in get_swap_state()
29 vm: &mut TestVm, in wait_until_swap_state_change()
36 let current_state = get_swap_state(vm); in wait_until_swap_state_change()
58 fn create_tmpfs_file_in_guest(vm: &mut TestVm, size: usize) { in create_tmpfs_file_in_guest()
59 vm.exec_in_guest("mount -t tmpfs -o size=64m /dev/shm /tmp") in create_tmpfs_file_in_guest()
61 vm.exec_in_guest(&format!( in create_tmpfs_file_in_guest()
68 fn load_checksum_tmpfs_file(vm: &mut TestVm) -> String { in load_checksum_tmpfs_file()
[all …]
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmFloatControlsTests.cpp729 ValueMap &vm = m_valueIdToVariableType; in TypeValues() local
730 vm[V_UNUSED] = deFloat32To16(0.0f); in TypeValues()
731 vm[V_MINUS_INF] = 0xfc00; in TypeValues()
732 vm[V_MINUS_ONE] = deFloat32To16(-1.0f); in TypeValues()
733 vm[V_MINUS_ZERO] = 0x8000; in TypeValues()
734 vm[V_ZERO] = 0x0000; in TypeValues()
735 vm[V_HALF] = deFloat32To16(0.5f); in TypeValues()
736 vm[V_ONE] = deFloat32To16(1.0f); in TypeValues()
737 vm[V_INF] = 0x7c00; in TypeValues()
738vm[V_DENORM] = 0x03f0; // this value should be the same as the result of denormBase - epsilon in TypeValues()
[all …]
/aosp_15_r20/external/llvm/unittests/Transforms/Utils/
H A DValueMapperTest.cpp27 ValueToValueMapTy VM; in TEST() local
28 EXPECT_EQ(U, ValueMapper(VM).mapMDNode(*U)); in TEST()
54 ValueToValueMapTy VM; in TEST() local
55 EXPECT_EQ(U0, ValueMapper(VM).mapMDNode(*U0)); in TEST()
56 EXPECT_EQ(U1, ValueMapper(VM).mapMDNode(*U1)); in TEST()
61 ValueToValueMapTy VM; in TEST() local
62 EXPECT_EQ(U1, ValueMapper(VM).mapMDNode(*U1)); in TEST()
63 EXPECT_EQ(U0, ValueMapper(VM).mapMDNode(*U0)); in TEST()
95 ValueToValueMapTy VM; in TEST() local
96 VM[G0.get()] = G1.get(); in TEST()
[all …]
/aosp_15_r20/external/crosvm/kvm/tests/
H A Dkvm_tests.rs27 use kvm::Vm;
60 Vm::new(&kvm, gm).unwrap(); in create_vm()
75 let vm = Vm::new(&kvm, gm).unwrap(); in check_vm_extension() localVariable
76 assert!(vm.check_extension(Cap::UserMemory)); in check_vm_extension()
78 assert!(!vm.check_extension(Cap::S390UserSigp)); in check_vm_extension()
113 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory() localVariable
116 vm.add_memory_region(GuestAddress(pagesize() as u64), Box::new(mem), false, false) in add_memory()
119 vm.add_memory_region( in add_memory()
132 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory_ro() localVariable
135 vm.add_memory_region(GuestAddress(pagesize() as u64), Box::new(mem), true, false) in add_memory_ro()
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h51 struct kvm_vm *vm; member
98 #define kvm_for_each_vcpu(vm, i, vcpu) \ argument
99 for ((i) = 0; (i) <= (vm)->last_vcpu_id; (i)++) \
100 if (!((vcpu) = vm->vcpus[i])) \
105 memslot2region(struct kvm_vm *vm, uint32_t memslot);
215 static __always_inline void static_assert_is_vm(struct kvm_vm *vm) { } in static_assert_is_vm() argument
217 #define __vm_ioctl(vm, cmd, arg) \ argument
219 static_assert_is_vm(vm); \
220 kvm_do_ioctl((vm)->fd, cmd, arg); \
223 #define _vm_ioctl(vm, cmd, name, arg) \ argument
[all …]
/aosp_15_r20/external/capstone/arch/ARM/
H A DARMMappingInsnOp.inc31 { /* ARM_AESD, ARM_INS_AESD: aesd.8 $vd, $vm */
34 { /* ARM_AESE, ARM_INS_AESE: aese.8 $vd, $vm */
37 { /* ARM_AESIMC, ARM_INS_AESIMC: aesimc.8 $vd, $vm */
40 { /* ARM_AESMC, ARM_INS_AESMC: aesmc.8 $vd, $vm */
688 { /* ARM_SHA1C, ARM_INS_SHA1C: sha1c.32 $vd, $vn, $vm */
691 { /* ARM_SHA1H, ARM_INS_SHA1H: sha1h.32 $vd, $vm */
694 { /* ARM_SHA1M, ARM_INS_SHA1M: sha1m.32 $vd, $vn, $vm */
697 { /* ARM_SHA1P, ARM_INS_SHA1P: sha1p.32 $vd, $vn, $vm */
700 { /* ARM_SHA1SU0, ARM_INS_SHA1SU0: sha1su0.32 $vd, $vn, $vm */
703 { /* ARM_SHA1SU1, ARM_INS_SHA1SU1: sha1su1.32 $vd, $vm */
[all …]
/aosp_15_r20/external/capstone/arch/AArch64/
H A DARMMappingInsnOp.inc31 { /* ARM_AESD, ARM_INS_AESD: aesd.8 $vd, $vm */
34 { /* ARM_AESE, ARM_INS_AESE: aese.8 $vd, $vm */
37 { /* ARM_AESIMC, ARM_INS_AESIMC: aesimc.8 $vd, $vm */
40 { /* ARM_AESMC, ARM_INS_AESMC: aesmc.8 $vd, $vm */
688 { /* ARM_SHA1C, ARM_INS_SHA1C: sha1c.32 $vd, $vn, $vm */
691 { /* ARM_SHA1H, ARM_INS_SHA1H: sha1h.32 $vd, $vm */
694 { /* ARM_SHA1M, ARM_INS_SHA1M: sha1m.32 $vd, $vn, $vm */
697 { /* ARM_SHA1P, ARM_INS_SHA1P: sha1p.32 $vd, $vn, $vm */
700 { /* ARM_SHA1SU0, ARM_INS_SHA1SU0: sha1su0.32 $vd, $vn, $vm */
703 { /* ARM_SHA1SU1, ARM_INS_SHA1SU1: sha1su1.32 $vd, $vm */
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c122 void virt_arch_pgd_alloc(struct kvm_vm *vm) in virt_arch_pgd_alloc() argument
124 TEST_ASSERT(vm->mode == VM_MODE_PXXV48_4K, "Attempt to use " in virt_arch_pgd_alloc()
125 "unknown or unsupported guest mode, mode: 0x%x", vm->mode); in virt_arch_pgd_alloc()
128 if (!vm->pgd_created) { in virt_arch_pgd_alloc()
129 vm->pgd = vm_alloc_page_table(vm); in virt_arch_pgd_alloc()
130 vm->pgd_created = true; in virt_arch_pgd_alloc()
134 static void *virt_get_pte(struct kvm_vm *vm, uint64_t pt_pfn, uint64_t vaddr, in virt_get_pte() argument
137 uint64_t *page_table = addr_gpa2hva(vm, pt_pfn << vm->page_shift); in virt_get_pte()
143 static uint64_t *virt_create_upper_pte(struct kvm_vm *vm, in virt_create_upper_pte() argument
150 uint64_t *pte = virt_get_pte(vm, pt_pfn, vaddr, current_level); in virt_create_upper_pte()
[all …]
H A Dvmx.c66 * vm - The VM to allocate guest-virtual addresses in.
75 vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva) in vcpu_alloc_vmx() argument
77 vm_vaddr_t vmx_gva = vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
78 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx()
81 vmx->vmxon = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
82 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
83 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
86 vmx->vmcs = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
87 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
88 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
[all …]
/aosp_15_r20/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java154 // Using a non-default VM always needs the custom permission. in setup()
188 VirtualMachine vm = forceCreateNewVirtualMachine("test_vm", config); in createAndConnectToVmHelper() local
193 vm, in createAndConnectToVmHelper()
239 VirtualMachine vm = in vmAttestationWhenRemoteAttestationIsNotSupported() local
246 runVmAttestationService(TAG, vm, challenge, VM_ATTESTATION_MESSAGE.getBytes()); in vmAttestationWhenRemoteAttestationIsNotSupported()
266 VirtualMachine vm = in vmAttestationWithVendorPartitionWhenSupported() local
268 checkVmAttestationWithValidChallenge(vm); in vmAttestationWithVendorPartitionWhenSupported()
286 VirtualMachine vm = in vmAttestationWhenRemoteAttestationIsSupported() local
294 TAG, vm, invalidChallenge, VM_ATTESTATION_MESSAGE.getBytes()); in vmAttestationWhenRemoteAttestationIsSupported()
299 checkVmAttestationWithValidChallenge(vm); in vmAttestationWhenRemoteAttestationIsSupported()
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c16 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align() argument
18 return (v + vm->page_size) & ~(vm->page_size - 1); in page_align()
21 static uint64_t pte_addr(struct kvm_vm *vm, uint64_t entry) in pte_addr() argument
27 static uint64_t ptrs_per_pte(struct kvm_vm *vm) in ptrs_per_pte() argument
46 static uint64_t pte_index(struct kvm_vm *vm, vm_vaddr_t gva, int level) in pte_index() argument
50 TEST_ASSERT(level < vm->pgtable_levels, in pte_index()
56 void virt_arch_pgd_alloc(struct kvm_vm *vm) in virt_arch_pgd_alloc() argument
58 if (!vm->pgd_created) { in virt_arch_pgd_alloc()
59 vm_paddr_t paddr = vm_phy_pages_alloc(vm, in virt_arch_pgd_alloc()
60 page_align(vm, ptrs_per_pte(vm) * 8) / vm->page_size, in virt_arch_pgd_alloc()
[all …]

12345678910>>...316