summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-03-11 07:35:16 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-02 12:34:44 +0300
commit320af55a930f30ba49d7cd663280d46705e11383 (patch)
tree3eded2731ddb4340de106cfbe5807a8438dc26de /Makefile
parent7491b7b2e1c57990dcd0f60ed2f3f1c92a145486 (diff)
downloadlinux-320af55a930f30ba49d7cd663280d46705e11383.tar.xz
KVM: x86: Add wrappers for setting/clearing APICv inhibits
Add set/clear wrappers for toggling APICv inhibits to make the call sites more readable, and opportunistically rename the inner helpers to align with the new wrappers and to make them more readable as well. Invert the flag from "activate" to "set"; activate is painfully ambiguous as it's not obvious if the inhibit is being activated, or if APICv is being activated, in which case the inhibit is being deactivated. For the functions that take @set, swap the order of the inhibit reason and @set so that the call sites are visually similar to those that bounce through the wrapper. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220311043517.17027-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions