Re: [kvm-unit-tests PATCH v1 2/3] s390x: add extint loop test

Thomas Huth
2022-06-30T17:56:12Z

On 30/06/2022 13.30, Nico Boehr wrote:
> The CPU timer interrupt stays pending as long as the CPU timer value is
> negative. This can lead to interruption loops when the ext_new_psw mask
> has external interrupts enabled.
>
> QEMU is able to detect this situation and panic the guest, so add a test
> for it.
>
> Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
> ---
> s390x/Makefile | 1 +
> s390x/extint-loop.c | 64 +++++++++++++++++++++++++++++++++++++++++++++
> s390x/unittests.cfg | 4 +++
> 3 files changed, 69 insertions(+)
> create mode 100644 s390x/extint-loop.c

Reviewed-by: Thomas Huth <thuth@redhat.com>