Searched refs:kvm_register_read (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kvm/ |
D | kvm_cache_regs.h | 9 static inline unsigned long kvm_register_read(struct kvm_vcpu *vcpu, in kvm_register_read() function 29 return kvm_register_read(vcpu, VCPU_REGS_RIP); in kvm_rip_read() 83 return (kvm_register_read(vcpu, VCPU_REGS_RAX) & -1u) in kvm_read_edx_eax() 84 | ((u64)(kvm_register_read(vcpu, VCPU_REGS_RDX) & -1u) << 32); in kvm_read_edx_eax()
|
D | hyperv.c | 367 param = ((u64)kvm_register_read(vcpu, VCPU_REGS_RDX) << 32) | in kvm_hv_hypercall() 368 (kvm_register_read(vcpu, VCPU_REGS_RAX) & 0xffffffff); in kvm_hv_hypercall() 369 ingpa = ((u64)kvm_register_read(vcpu, VCPU_REGS_RBX) << 32) | in kvm_hv_hypercall() 370 (kvm_register_read(vcpu, VCPU_REGS_RCX) & 0xffffffff); in kvm_hv_hypercall() 371 outgpa = ((u64)kvm_register_read(vcpu, VCPU_REGS_RDI) << 32) | in kvm_hv_hypercall() 372 (kvm_register_read(vcpu, VCPU_REGS_RSI) & 0xffffffff); in kvm_hv_hypercall() 376 param = kvm_register_read(vcpu, VCPU_REGS_RCX); in kvm_hv_hypercall() 377 ingpa = kvm_register_read(vcpu, VCPU_REGS_RDX); in kvm_hv_hypercall() 378 outgpa = kvm_register_read(vcpu, VCPU_REGS_R8); in kvm_hv_hypercall()
|
D | x86.h | 136 unsigned long val = kvm_register_read(vcpu, reg); in kvm_register_readl()
|
D | x86.c | 944 u32 ecx = kvm_register_read(vcpu, VCPU_REGS_RCX); in kvm_rdpmc() 5130 return kvm_register_read(emul_to_vcpu(ctxt), reg); in emulator_read_gpr() 5668 unsigned long val = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_fast_pio_out() 6078 nr = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_hypercall() 6079 a0 = kvm_register_read(vcpu, VCPU_REGS_RBX); in kvm_emulate_hypercall() 6080 a1 = kvm_register_read(vcpu, VCPU_REGS_RCX); in kvm_emulate_hypercall() 6081 a2 = kvm_register_read(vcpu, VCPU_REGS_RDX); in kvm_emulate_hypercall() 6082 a3 = kvm_register_read(vcpu, VCPU_REGS_RSI); in kvm_emulate_hypercall() 6328 put_smstate(u32, buf, 0x7fd0 + i * 4, kvm_register_read(vcpu, i)); in process_smi_save_state_32() 6374 put_smstate(u64, buf, 0x7ff8 - i * 8, kvm_register_read(vcpu, i)); in process_smi_save_state_64() [all …]
|
D | cpuid.c | 901 function = eax = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_cpuid() 902 ecx = kvm_register_read(vcpu, VCPU_REGS_RCX); in kvm_emulate_cpuid()
|
D | svm.c | 2736 trace_kvm_invlpga(svm->vmcb->save.rip, kvm_register_read(&svm->vcpu, VCPU_REGS_RCX), in invlpga_interception() 2737 kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in invlpga_interception() 2740 kvm_mmu_invlpg(vcpu, kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in invlpga_interception() 2749 trace_kvm_skinit(svm->vmcb->save.rip, kvm_register_read(&svm->vcpu, VCPU_REGS_RAX)); in skinit_interception() 2764 u32 index = kvm_register_read(&svm->vcpu, VCPU_REGS_RCX); in xsetbv_interception() 3135 u32 ecx = kvm_register_read(&svm->vcpu, VCPU_REGS_RCX); in rdmsr_interception() 3312 u32 ecx = kvm_register_read(&svm->vcpu, VCPU_REGS_RCX); in wrmsr_interception()
|
D | vmx.c | 5990 u32 index = kvm_register_read(vcpu, VCPU_REGS_RCX); in handle_xsetbv() 6670 off += kvm_register_read(vcpu, base_reg); in get_vmx_mem_address() 6672 off += kvm_register_read(vcpu, index_reg)<<scaling; in get_vmx_mem_address() 10351 vmcs12->guest_rsp = kvm_register_read(vcpu, VCPU_REGS_RSP); in prepare_vmcs12() 10352 vmcs12->guest_rip = kvm_register_read(vcpu, VCPU_REGS_RIP); in prepare_vmcs12()
|