commit | 724b3962ef808388005b860450bfbef6bade26b3 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <seanjc@google.com> | Fri Oct 08 19:12:20 2021 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Dec 08 04:24:57 2021 -0500 |
tree | 2df60d35620ee8b6100b3e3dce2b7dbac10601e0 | |
parent | cfb0e1306a3790eb055ebf7cdb7b0ee8a23e9b6e [diff] |
KVM: VMX: Move Posted Interrupt ndst computation out of write loop Hoist the CPU => APIC ID conversion for the Posted Interrupt descriptor out of the loop to write the descriptor, preemption is disabled so the CPU won't change, and if the APIC ID changes KVM has bigger problems. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20211009021236.4122790-28-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>