aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-02-18 13:07:22 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:57:19 +0100
commit71a4c30bf0d39306882c726cac68229eb38e1e85 (patch)
treec97a43d29df5bc914c535cc2e60cb01b85fd1c10 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentbd0e96fdc5a517e8d3d7924160b2367c44c10f2f (diff)
KVM: Refactor error handling for setting memory region
Replace a big pile o' gotos with returns to make it more obvious what error code is being returned, and to prepare for refactoring the functional, i.e. post-checks, portion of __kvm_set_memory_region(). Reviewed-by: Janosch Frank <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Peter Xu <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions