kernel-hacking-2024-linux-s.../arch/s390/kvm
Christian Borntraeger 70455a36a0 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 <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-03-24 11:03:07 +02:00
..
diag.c [S390] Use unsigned long long for u64 on 64bit. 2009-01-09 12:15:07 +01:00
gaccess.h KVM: s390: Change guestaddr type in gaccess 2008-07-27 11:35:57 +03:00
intercept.c KVM: s390: Fix problem state check for b2 intercepts 2009-03-24 11:03:07 +02:00
interrupt.c [S390] Use unsigned long long for u64 on 64bit. 2009-01-09 12:15:07 +01:00
Kconfig KVM: Add CONFIG_HAVE_KVM_IRQCHIP 2009-03-24 11:03:02 +02:00
kvm-s390.c KVM: New guest debug interface 2009-03-24 11:02:49 +02:00
kvm-s390.h KVM: s390: Fix problem state check for b2 intercepts 2009-03-24 11:03:07 +02:00
Makefile KVM: s390: intercepts for diagnose instructions 2008-04-27 12:00:46 +03:00
priv.c KVM: s390: Fix problem state check for b2 intercepts 2009-03-24 11:03:07 +02:00
sie64a.S
sigp.c KVM: s390: Fix printk on SIGP set arch 2009-03-24 11:03:07 +02:00