diff options
author | Maxim Levitsky <[email protected]> | 2022-11-29 21:37:11 +0200 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-01-31 17:29:09 -0800 |
commit | 32e69f232db4ca11f26e5961daeff93906ce232f (patch) | |
tree | 87242fe5c003a90cba2906207ff9d339365ec0e1 /tools/perf/scripts/python | |
parent | 916b54a7688b0b9a1c48c708b848e4348c3ae2ab (diff) |
KVM: x86: Use emulator callbacks instead of duplicating "host flags"
Instead of re-defining the "host flags" bits, just expose dedicated
helpers for each of the two remaining flags that are consumed by the
emulator. The emulator never consumes both "is guest" and "is SMM" in
close proximity, so there is no motivation to avoid additional indirect
branches.
Also while at it, garbage collect the recently removed host flags.
No functional change is intended.
Signed-off-by: Maxim Levitsky <[email protected]>
Tested-by: Santosh Shukla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: fix CONFIG_KVM_SMM=n builds, tweak names of wrappers]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions