Searched refs:msr_index (Results 1 – 4 of 4) sorted by relevance
/arch/x86/include/asm/ |
D | kvm_emulate.h | 196 int (*set_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 data); 197 int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata);
|
D | kvm_host.h | 652 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata); 815 int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data);
|
/arch/x86/kvm/ |
D | vmx.c | 2266 static int vmx_get_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in vmx_get_vmx_msr() argument 2268 if (!nested_vmx_allowed(vcpu) && msr_index >= MSR_IA32_VMX_BASIC && in vmx_get_vmx_msr() 2269 msr_index <= MSR_IA32_VMX_TRUE_ENTRY_CTLS) { in vmx_get_vmx_msr() 2278 switch (msr_index) { in vmx_get_vmx_msr() 2354 static int vmx_set_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) in vmx_set_vmx_msr() argument 2359 if (msr_index == MSR_IA32_FEATURE_CONTROL) in vmx_set_vmx_msr() 2374 static int vmx_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in vmx_get_msr() argument 2384 switch (msr_index) { in vmx_get_msr() 2398 return kvm_get_msr_common(vcpu, msr_index, pdata); in vmx_get_msr() 2416 if (vmx_get_vmx_msr(vcpu, msr_index, pdata)) in vmx_get_msr() [all …]
|
D | x86.c | 2143 int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) in kvm_get_msr() argument 2145 return kvm_x86_ops->get_msr(vcpu, msr_index, pdata); in kvm_get_msr() 4592 u32 msr_index, u64 *pdata) in emulator_get_msr() argument 4594 return kvm_get_msr(emul_to_vcpu(ctxt), msr_index, pdata); in emulator_get_msr() 4598 u32 msr_index, u64 data) in emulator_set_msr() argument 4603 msr.index = msr_index; in emulator_set_msr()
|