From: Thomas Huth Date: Thu, 12 Sep 2013 08:33:45 +0000 (+0200) Subject: KVM: s390: Lock kvm->srcu at the appropriate places X-Git-Tag: v3.13-rc1~80^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800c1065c3207a1b04d4ac457a57a37ce19eeb21;p=pandora-kernel.git 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 Acked-by: Christian Borntraeger Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed