From: Christian Borntraeger Date: Thu, 22 Jan 2009 09:28:29 +0000 (+0100) Subject: KVM: s390: Fix problem state check for b2 intercepts X-Git-Tag: v2.6.30-rc1~664^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70455a36a073cbb83ca17f92d135a6128c73cb3c;p=pandora-kernel.git KVM: s390: Fix problem state check for b2 intercepts The kernel handles some priviledged instruction exits. While I was unable to trigger such an exit from guest userspace, the code should check for supervisor state before emulating a priviledged instruction. I also renamed kvm_s390_handle_priv to kvm_s390_handle_b2. After all there are non priviledged b2 instructions like stck (store clock). Signed-off-by: Christian Borntraeger Signed-off-by: Avi Kivity --- Reading git-diff-tree failed