diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-11-16 17:12:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-26 12:02:04 +0300 |
commit | 80bd91ab9ad853d2f4f769b732fb8a501c90ec9d (patch) | |
tree | e63d81a59a84a1d92941c5b03ca6ecc8a1bf82ca /lib/ts_bm.c | |
parent | a5a8ca753c0c4659287416ce282ba357c30098a8 (diff) | |
download | linux-80bd91ab9ad853d2f4f769b732fb8a501c90ec9d.tar.xz |
KVM: s390: use created_vcpus in more places
[ Upstream commit 241e3ec0faf5ab1a0d9b1f6c43eefa919fb9c112 ]
commit a03825bbd0c3 ("KVM: s390: use kvm->created_vcpus") introduced
kvm->created_vcpus to avoid races with the existing kvm->online_vcpus
scheme. One place was "forgotten" and one new place was "added".
Let's fix those.
Reported-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Fixes: 4e0b1ab72b8a ("KVM: s390: gs support for kvm guests")
Fixes: a03825bbd0c3 ("KVM: s390: use kvm->created_vcpus")
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions