diff options
| author | Sean Christopherson <[email protected]> | 2020-10-06 18:44:16 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-11-15 09:49:08 -0500 |
| commit | ee69c92bac61f4379e97f40b259a1c1257e5987f (patch) | |
| tree | d7f198368666d947be1c8f16a6f9233dc1739ded /tools/perf/scripts/python/flamegraph.py | |
| parent | c2fe3cd4604ac87c587db05d41843d667dc43815 (diff) | |
KVM: x86: Return bool instead of int for CR4 and SREGS validity checks
Rework the common CR4 and SREGS checks to return a bool instead of an
int, i.e. true/false instead of 0/-EINVAL, and add "is" to the name to
clarify the polarity of the return value (which is effectively inverted
by this change).
No functional changed intended.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions