aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorSean Christopherson2020-02-18 13:07:22 -0800
committerPaolo Bonzini2020-03-16 17:57:19 +0100
commit71a4c30bf0d39306882c726cac68229eb38e1e85 (patch)
treec97a43d29df5bc914c535cc2e60cb01b85fd1c10 /include/linux/kvm_host.h
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 <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 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions