On 30/06/2022 16.38, Janis Schoetterl-Glausch wrote:
On 6/30/22 13:30, Nico Boehr wrote:
An invalid PSW causes a program interrupt. When an invalid PSW is
introduced in the pgm_new_psw, an interrupt loop occurs as soon as a
program interrupt is caused.
QEMU should detect that and panick the guest, hence add a test for it.
Why is that, after all in LPAR it would just spin, right?
Not sure what the LPAR is doing, but the guest is certainly completely
unusable, so a panic event is the right thing to do here for QEMU.
Also, panicK.
How do you assert that the guest doesn't spin forever, is there a timeout?
I agree, it would be good to have a "timeout" set in the unittests.cfg for
this test here (some few seconds should be enough).
Thomas