/linux-master/arch/x86/kvm/ |
H A D | x86.c | 10045 u64 ret = vcpu->run->hypercall.ret; 10133 vcpu->run->hypercall.nr = KVM_HC_MAP_GPA_RANGE; 10134 vcpu->run->hypercall.args[0] = gpa; 10135 vcpu->run->hypercall.args[1] = npages; 10136 vcpu->run->hypercall.args[2] = attrs; 10137 vcpu->run->hypercall.flags = 0; 10139 vcpu->run->hypercall.flags |= KVM_EXIT_HYPERCALL_LONG_MODE; 10141 WARN_ON_ONCE(vcpu->run->hypercall.flags & KVM_EXIT_HYPERCALL_MBZ);
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmx.c | 5375 vmx_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) argument 5380 hypercall[0] = 0x0f; 5381 hypercall[1] = 0x01; 5382 hypercall[2] = 0xc1;
|
/linux-master/arch/x86/kvm/svm/ |
H A D | svm.c | 3915 * flush the NPT mappings via hypercall as flushing the ASID only 4276 svm_patch_hypercall(struct kvm_vcpu *vcpu, unsigned char *hypercall) argument 4281 hypercall[0] = 0x0f; 4282 hypercall[1] = 0x01; 4283 hypercall[2] = 0xd9;
|
/linux-master/tools/include/uapi/linux/ |
H A D | kvm.h | 272 } hypercall; member in union:kvm_run::__anon162
|
/linux-master/arch/x86/kernel/ |
H A D | callthunks.c | 23 #include <asm/xen/hypercall.h>
|
/linux-master/drivers/xen/events/ |
H A D | events_base.c | 53 #include <asm/xen/hypercall.h>
|
/linux-master/drivers/xen/ |
H A D | balloon.c | 68 #include <asm/xen/hypercall.h>
|
H A D | privcmd.c | 35 #include <asm/xen/hypercall.h> 58 "Maximum number of buffers per dm_op hypercall"); 64 "Maximum size of a dm_op hypercall buffer"); 78 struct privcmd_hypercall hypercall; local 85 if (copy_from_user(&hypercall, udata, sizeof(hypercall))) 89 ret = privcmd_call(hypercall.op, 90 hypercall.arg[0], hypercall.arg[1], 91 hypercall [all...] |
H A D | pcpu.c | 48 #include <asm/xen/hypercall.h>
|
/linux-master/arch/x86/xen/ |
H A D | setup.c | 27 #include <asm/xen/hypercall.h>
|
H A D | enlighten_pvh.c | 15 #include <asm/xen/hypercall.h>
|
H A D | enlighten.c | 19 #include <asm/xen/hypercall.h> 174 * However, the hypercall can only be done once (see below) so if a VCPU 175 * is offlined and comes back online then let's not redo the hypercall. 191 * N.B. This hypercall can _only_ be called once per CPU. 194 * hypercall does not allow to over-write info.mfn and
|
H A D | mmu_pv.c | 73 #include <asm/xen/hypercall.h> 126 * hypercall to set the vcpu cr3 is complete (so it may be a little 292 * emulate the PTE write, but a hypercall is much cheaper. 488 * Raw hypercall-based set_p4d, intended for in early boot before 1445 * and doing a hypercall for these is unnecessary and expensive. At 2277 * Perform the hypercall to exchange a region of our pfns to point to
|
H A D | smp_pv.c | 41 #include <asm/xen/hypercall.h> 313 * Why is this a BUG? If the hypercall fails then everything can be
|
H A D | enlighten_pv.c | 56 #include <asm/xen/hypercall.h> 119 * passed in the update_descriptor hypercall we keep shadow copies to 271 * from the hardware and hypercall. 295 * ecx and edx. The hypercall provides only partial information. 437 * we probe the target and when we issue the hypercall. We'll 524 * hypercall. The page can also be in the kernel's
|
H A D | apic.c | 8 #include <asm/xen/hypercall.h>
|
H A D | irq.c | 12 #include <asm/xen/hypercall.h>
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | private_mem_conversions_test.c | 54 * Execute KVM hypercall to map/unmap gpa range which will cause userspace exit 293 uint64_t gpa = run->hypercall.args[0]; 294 uint64_t size = run->hypercall.args[1] * PAGE_SIZE; 295 bool set_attributes = run->hypercall.args[2] & MAP_GPA_SET_ATTRIBUTES; 296 bool map_shared = run->hypercall.args[2] & MAP_GPA_SHARED; 297 bool do_fallocate = run->hypercall.args[2] & MAP_GPA_DO_FALLOCATE; 300 TEST_ASSERT(run->hypercall.nr == KVM_HC_MAP_GPA_RANGE, 302 KVM_HC_MAP_GPA_RANGE, run->hypercall.nr); 310 run->hypercall.ret = 0;
|
/linux-master/include/uapi/linux/ |
H A D | kvm.h | 272 } hypercall; member in union:kvm_run::__anon894
|
/linux-master/drivers/block/xen-blkback/ |
H A D | blkback.c | 50 #include <asm/xen/hypercall.h> 1415 * the hypercall to unmap the grants - that is all done in
|
/linux-master/arch/x86/hyperv/ |
H A D | ivm.c | 62 } hypercall; member in union:hv_ghcb 92 hv_ghcb->hypercall.outputgpa = (u64)output; 93 hv_ghcb->hypercall.hypercallinput.asuint64 = 0; 94 hv_ghcb->hypercall.hypercallinput.callcode = control; 97 memcpy(hv_ghcb->hypercall.hypercalldata, input, input_size); 105 status = hv_ghcb->hypercall.hypercalloutput.callstatus;
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | smccc_filter.c | 214 TEST_ASSERT(run->hypercall.nr == func_id, 215 "Unexpected SMCCC function: %llu", run->hypercall.nr); 218 TEST_ASSERT(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC, 221 TEST_ASSERT(!(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC),
|
/linux-master/drivers/net/xen-netback/ |
H A D | netback.c | 49 #include <asm/xen/hypercall.h>
|
/linux-master/arch/powerpc/kernel/ |
H A D | exceptions-64e.S | 497 EXCEPTION_STUB(0x300, hypercall) 869 START_EXCEPTION(hypercall);
|
/linux-master/arch/arm/xen/ |
H A D | enlighten.c | 17 #include <asm/xen/hypercall.h> 239 * they call special hypercall which executes relevant EFI functions) 572 /* In the hypercall.S file. */
|