diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2013-09-12 10:33:45 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-24 19:12:19 +0200 |
commit | 800c1065c3207a1b04d4ac457a57a37ce19eeb21 (patch) | |
tree | 62d1230e8b487587110150dc4a26c3157a23877c /usr | |
parent | KVM: s390: Push run loop into __vcpu_run (diff) | |
download | linux-800c1065c3207a1b04d4ac457a57a37ce19eeb21.tar.xz linux-800c1065c3207a1b04d4ac457a57a37ce19eeb21.zip |
KVM: s390: Lock kvm->srcu at the appropriate places
The kvm->srcu lock has to be held while accessing the memory of
guests and during certain other actions. This patch now adds
the locks to the __vcpu_run function so that all affected code
is protected now (and additionally to the KVM_S390_STORE_STATUS
ioctl, which can be called out-of-band and needs a separate lock).
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions