diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-05-29 15:21:55 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-06-03 05:35:23 -0700 |
| commit | 879fffc09474241428e142142206f903585e0834 (patch) | |
| tree | 8b303339331df3e95db1e657f4d90da0868a36e6 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b6a0fdf2bbf0ee6c9320a5c1c5d1e2f39b693fbf (diff) | |
KVM: x86: Harden is_64_bit_hypercall() against bugs on 32-bit kernels
Unconditionally return %false for is_64_bit_hypercall() on 32-bit kernels
to guard against incorrectly setting guest_state_protected, and because
in a (very) hypothetical world where 32-bit KVM supports protected guests,
assuming a hypercall was made in 64-bit mode is flat out wrong.
Reviewed-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://patch.msgid.link/20260529222223.870923-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
