diff options
| author | Suravee Suthikulpanit <[email protected]> | 2022-07-25 00:33:56 -0500 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-07-28 13:51:42 -0400 |
| commit | 1bd9dfec9fd419920572b057e2c98d9877190b06 (patch) | |
| tree | ac596810d033e95412a80c39782aeb9249b3fe52 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | 0a8735a6acf36ac35499563dc44f3e3d5034a2ce (diff) | |
KVM: x86: Do not block APIC write for non ICR registers
The commit 5413bcba7ed5 ("KVM: x86: Add support for vICR APIC-write
VM-Exits in x2APIC mode") introduces logic to prevent APIC write
for offset other than ICR in kvm_apic_write_nodecode() function.
This breaks x2AVIC support, which requires KVM to trap and emulate
x2APIC MSR writes.
Therefore, removes the warning and modify to logic to allow MSR write.
Fixes: 5413bcba7ed5 ("KVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC mode")
Cc: Zeng Guang <[email protected]>
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions