]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: set_memory_region: Don't jump to out_free unnecessarily
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 11 Jan 2013 09:26:10 +0000 (18:26 +0900)
committerGleb Natapov <gleb@redhat.com>
Thu, 17 Jan 2013 12:27:43 +0000 (14:27 +0200)
commit507d58fa2c9dc75227e83401535ccae8be65112e
tree83aed7450eb5f2eea111a5da578e37285f6e065b
parent83227f551f1bd7e1d98bddd3d30991bcdb9b1dfe
KVM: set_memory_region: Don't jump to out_free unnecessarily

This makes the separation between the sanity checks and the rest of the
code a bit clearer.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/kvm_main.c