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)
commit7ec4fb44962f611241bcb974fa97c5f49ddcb2f1
tree28400ae97788c508e723bc84f2bd6e42e6515815
parentf924d66d278d5da890f3098805b0450a4ef66c32
KVM: move the code that installs new slots array to a separate function.

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