/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | kvm_pv_test.c | 15 struct msr_data { struct 28 static struct msr_data msrs_to_test[] = { argument 41 static void test_msr(struct msr_data *msr) in test_msr() 100 struct msr_data *msr = (struct msr_data *)uc->args[0]; in pr_msr()
|
H A D | hyperv_features.c | 24 struct msr_data { struct 42 static void guest_msr(struct msr_data *msr) in guest_msr() argument 138 struct msr_data *msr; in guest_test_msrs_access()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | pmu.h | 29 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 30 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 243 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info); 244 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
H A D | emulate.c | 2402 u64 msr_data; in em_syscall() local 2420 msr_data >>= 32; in em_syscall() 2439 ctxt->_eip = msr_data; in em_syscall() 2442 ctxt->eflags &= ~msr_data; in em_syscall() 2461 u64 msr_data; in em_sysenter() local 2499 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter() 2503 (u32)msr_data; in em_sysenter() 2514 u64 msr_data, rcx, rdx; in em_sysexit() local 2547 if (msr_data == 0x0) in em_sysexit() 3343 u64 msr_data; in em_wrmsr() local [all …]
|
H A D | lapic.h | 123 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
|
H A D | pmu.c | 576 int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_get_msr() 601 int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_pmu_set_msr()
|
H A D | x86.c | 485 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base() 1755 static int set_efer(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_efer() 1846 struct msr_data msr; in __kvm_set_msr() 1926 struct msr_data msr; in __kvm_get_msr() 3326 static int set_msr_mce(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in set_msr_mce() 3632 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_msr_common() 4053 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_get_msr_common() 11517 struct msr_data apic_base_msr; in __set_sregs_common()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | pmu.c | 131 static int amd_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_get_msr() 153 static int amd_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in amd_pmu_set_msr()
|
H A D | svm.c | 2818 struct msr_data msr_info; in efer_trap() 2851 static int svm_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in svm_get_msr() 3004 static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr) in svm_set_msr()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 312 struct msr_data *msr_info, bool read) in intel_pmu_handle_lbr_msrs_access() 348 static int intel_pmu_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_get_msr() 391 static int intel_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in intel_pmu_set_msr()
|
H A D | vmx.c | 1952 struct msr_data *msr) in is_vmx_feature_control_msr_valid() 1992 static int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_get_msr() 2171 static int vmx_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in vmx_set_msr()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 1530 struct msr_data { struct 1578 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); 1579 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); 1997 int kvm_get_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr); 1998 int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr);
|
/openbmc/qemu/target/i386/kvm/ |
H A D | kvm.c | 568 } msr_data = {}; in kvm_arch_get_supported_msr_feature() local 586 msr_data.info.nmsrs = 1; in kvm_arch_get_supported_msr_feature() 587 msr_data.entries[0].index = index; in kvm_arch_get_supported_msr_feature() 589 ret = kvm_ioctl(s, KVM_GET_MSRS, &msr_data); in kvm_arch_get_supported_msr_feature() 596 value = msr_data.entries[0].data; in kvm_arch_get_supported_msr_feature() 3505 } msr_data = { in kvm_get_one_msr() local 3510 ret = kvm_vcpu_ioctl(CPU(cpu), KVM_GET_MSRS, &msr_data); in kvm_get_one_msr() 3515 *value = msr_data.entries[0].data; in kvm_get_one_msr()
|