From: Jens Freimann Date: Mon, 6 Feb 2012 09:59:03 +0000 (+0100) Subject: KVM: s390: do store status after handling STOP_ON_STOP bit X-Git-Tag: v3.4-rc1~59^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0d5473e2f0ba2d2fe9dab9408edef3060b710e;p=pandora-kernel.git KVM: s390: do store status after handling STOP_ON_STOP bit In handle_stop() handle the stop bit before doing the store status as described for "Stop and Store Status" in the Principles of Operation. We have to give up the local_int.lock before calling kvm store status since it calls gmap_fault() which might sleep. Since local_int.lock only protects local_int.* and not guest memory we can give up the lock. Signed-off-by: Jens Freimann Signed-off-by: Christian Borntraeger Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed