commit | 5cc150279936a618187c42966a8a2f09177ac80a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 14 10:55:31 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 17 12:16:13 2014 +0100 |
tree | b340d5adcdc63dfe0417764175ce22d3fa06250b | |
parent | f2a81036516e2b97c07c49dd6d51d36bfa43593d [diff] |
kvm: simplify update_memslots invocation The update_memslots invocation is only needed in one case. Make the code clearer by moving it to __kvm_set_memory_region, and removing the wrapper around insert_memslot. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>