commit | 97e91e28fa8fcbac30beab3de72060ada27d5671 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Tue Nov 16 17:35:02 2010 +0900 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:29:28 2011 +0200 |
tree | b6a1331007935961eb25157e7cceba13d9587090 | |
parent | e730b63cc083852551b092e1c93f0ef22c25f220 [diff] |
KVM: take kvm_lock for hardware_disable() during cpu hotplug In kvm_cpu_hotplug(), only CPU_STARTING case is protected by kvm_lock. This patch adds missing protection for CPU_DYING case. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>