tests/qtest/boot-sector: Check that the guest did not panic
commit45d10d724b421c9a96720cc870de9533206ccdc9
authorThomas Huth <thuth@redhat.com>
Fri, 12 Feb 2021 11:31:41 +0000 (12 12:31 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 19 Feb 2021 05:29:05 +0000 (19 06:29 +0100)
tree5c722e5a623058d75fb97356ff5d3b87a42f24da
parent3473f6ed88169e755123396447a5c119e74814c3
tests/qtest/boot-sector: Check that the guest did not panic

The s390-ccw bios code panics if it can not boot successfully. In
this case, it does not make sense that we wait the full 600 seconds
for the boot sector test to finish and can signal the failure
immediately, thus let's check the status of the guest with the
"query-status" QMP command here, too.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210212113141.854871-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/boot-sector.c