]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC mode
authorZeng Guang <guang.zeng@intel.com>
Tue, 19 Apr 2022 15:35:16 +0000 (23:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jun 2022 08:47:23 +0000 (04:47 -0400)
commit2198a5d9ab46b366d73c8ce8652456232831e173
tree1ec92e8a1ce1745f06014d4b7aa3083999878060
parente0df47278c0ae93ac14f4b8dd561dbe9cdff03cc
KVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC mode

Upcoming Intel CPUs will support virtual x2APIC MSR writes to the vICR,
i.e. will trap and generate an APIC-write VM-Exit instead of intercepting
the WRMSR.  Add support for handling "nodecode" x2APIC writes, which
were previously impossible.

Note, x2APIC MSR writes are 64 bits wide.

Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Message-Id: <20220419153516.11739-1-guang.zeng@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c