aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-01 11:35:54 -0700
committerSean Christopherson <[email protected]>2024-11-04 20:57:46 -0800
commitc9155eb012b9b611852e63bb396a58924f1d371f (patch)
tree6ddc27c087f8e99f0c7b67a76feaec11b079a2a4 /arch/x86/kvm/svm/svm.c
parentff6ce56e1d8889cf572874046d51325884e17e2c (diff)
KVM: x86: Unpack msr_data structure prior to calling kvm_apic_set_base()
Pass in the new value and "host initiated" as separate parameters to kvm_apic_set_base(), as forcing the KVM_SET_SREGS path to declare and fill an msr_data structure is awkward and kludgy, e.g. __set_sregs_common() doesn't even bother to set the proper MSR index. No functional change intended. Suggested-by: Kai Huang <[email protected]> Reviewed-by: Kai Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions