Re: [PATCH 3/3] kvm: simplify update_memslots invocation

2014-11-14 Thread Igor Mammedov
On Fri, 14 Nov 2014 12:12:02 +0100 Paolo Bonzini wrote: > 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. > > Signed-off-by: Paolo Bonzini > --- > virt/kvm/kvm_main.c

[PATCH 3/3] kvm: simplify update_memslots invocation

2014-11-14 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini --- virt/kvm/kvm_main.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions