linux/arch/s390/kvm
David Hildenbrand f71d0dc508 KVM: s390: no timer interrupts when single-stepping a guest
When a guest is single-stepped, we want to disable timer interrupts. Otherwise,
the guest will continuously execute the external interrupt handler and make
debugging of code where timer interrupts are enabled almost impossible.

The delivery of timer interrupts can be enforced in such sections by setting a
breakpoint and continuing execution.

In order to disable timer interrupts, they are disabled in the control register
of the guest just before SIE entry and are suppressed in the interrupt
check/delivery methods.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2014-04-22 13:24:52 +02:00
..
diag.c KVM: s390: convert pfault code 2014-04-22 13:24:40 +02:00
gaccess.c KVM: s390: make use of ipte lock 2014-04-22 13:24:39 +02:00
gaccess.h KVM: s390: cleanup kvm_s390_real_to_abs() 2014-04-22 13:24:47 +02:00
guestdbg.c KVM: s390: no timer interrupts when single-stepping a guest 2014-04-22 13:24:52 +02:00
intercept.c KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
interrupt.c KVM: s390: no timer interrupts when single-stepping a guest 2014-04-22 13:24:52 +02:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
kvm-s390.c KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
kvm-s390.h KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
Makefile KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
priv.c KVM: s390: emulate stctl and stctg 2014-04-22 13:24:50 +02:00
sigp.c KVM: s390: convert __sigp_set_prefix()/handle_set_prefix() 2014-04-22 13:24:42 +02:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: emulate stctl and stctg 2014-04-22 13:24:50 +02:00