KVM: cleanup (physical) CPU hotplug
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Sep 2013 10:57:17 +0000 (12:57 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:06 +0000 (17:18 +0200)
commitae0e4b34f8d96028faefddb83994cfd2c8cb8681
tree626f2dedfcd4169853661fd3c22589ee0ee8caac
parentc3832c083abf356e0df1b581df22ee8a21034841
KVM: cleanup (physical) CPU hotplug

Remove the useless argument, and do not do anything if there are no
VMs running at the time of the hotplug.

Cc: kvm@vger.kernel.org
Cc: gleb@redhat.com
Cc: jan.kiszka@siemens.com
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 4fa92fb25ae5a2d79d872ab54df511c831b1f363)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/kvm_main.c