summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-09-02 09:41:14 -0700
committerSean Christopherson <seanjc@google.com>2026-09-11 09:08:00 -0700
commit9e4e2281df12260e4b3419101d7d4dc027ab5d2f (patch)
treec5273543cce46c6f3b1527a7b2f813985a306f1f /tools/perf/scripts/python/stackcollapse.py
parent7f477ba0878e9db2cfe5da8b6d058f3a677fad91 (diff)
KVM: selftests: Initialize vm->memslots[] with invalid memslots during creation
Initialize vm->memslots[] with an invalid memslots value during very initial VM creation so that failure to configure the core memory regions generates an immediate assert instead of potential weirdness, e.g. if slot0 is coincidentally valid. This will also allow hardening the region APIs to guard overriding a region's memslot multiple times. Tested-by: Itaru Kitayama <itaru.kitayama@fujitsu.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Acked-by: Gautam Menghani <gautam@linux.ibm.com> Tested-by: Itaru Kitayam <itaru.kitayama@fujitsu.com> Link: https://patch.msgid.link/20260902164123.2546762-12-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions