diff options
| author | 2020-02-18 13:07:22 -0800 | |
|---|---|---|
| committer | 2020-03-16 17:57:19 +0100 | |
| commit | 71a4c30bf0d39306882c726cac68229eb38e1e85 (patch) | |
| tree | c97a43d29df5bc914c535cc2e60cb01b85fd1c10 /tools/perf/scripts/python/bin | |
| parent | KVM: Explicitly free allocated-but-unused dirty bitmap (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 <frankja@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
