Suravee Suthikulpanit 01e69cef63 KVM: SVM: Fix x2APIC MSRs interception
The index for svm_direct_access_msrs was incorrectly initialized with
the APIC MMIO register macros. Fix by introducing a macro for calculating
x2APIC MSRs.

Fixes: 5c127c85472c ("KVM: SVM: Adding support for configuring x2APIC MSRs interception")
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Message-Id: <20220718083833.222117-1-suravee.suthikulpanit@amd.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-07-28 13:22:19 -04:00
..
2022-05-23 17:51:12 -07:00
2022-04-11 18:04:27 +02:00
2022-04-14 14:09:43 +02:00
2022-05-27 15:25:10 -07:00
2022-05-23 17:51:12 -07:00
2022-06-05 10:55:23 -07:00
2021-12-11 09:09:45 +01:00
2022-05-26 12:09:50 -07:00