diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2010-11-16 17:35:02 +0900 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:29:28 +0200 |
commit | 97e91e28fa8fcbac30beab3de72060ada27d5671 (patch) | |
tree | b6a1331007935961eb25157e7cceba13d9587090 /virt/kvm/iommu.c | |
parent | e730b63cc083852551b092e1c93f0ef22c25f220 (diff) | |
download | talos-op-linux-97e91e28fa8fcbac30beab3de72060ada27d5671.tar.gz talos-op-linux-97e91e28fa8fcbac30beab3de72060ada27d5671.zip |
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>
Diffstat (limited to 'virt/kvm/iommu.c')
0 files changed, 0 insertions, 0 deletions