KVM: move the code that installs new slots array to a separate function.
authorGleb Natapov <gleb@redhat.com>
Mon, 24 Dec 2012 15:49:30 +0000 (17:49 +0200)
committerGleb Natapov <gleb@redhat.com>
Mon, 24 Dec 2012 15:49:30 +0000 (17:49 +0200)
Move repetitive code sequence to a separate function.

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/kvm_main.c

Simple merge