KVM: xen: flush deferred static key before checking it
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Feb 2021 09:49:06 +0000 (04:49 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Feb 2021 10:13:02 +0000 (05:13 -0500)
commitc462f859f895840e7cd4f20f822ad4c6df2db489
treef270834655c6a86cdf879a5b29a6cbf156ff8792
parent44ac5958a6c1fd91ac8810fbb37194e377d78db5
KVM: xen: flush deferred static key before checking it

A missing flush would cause the static branch to trigger incorrectly.

Cc: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c