Files
qemu/tests/qemu-iotests
John Snow 50465f94d2 python/machine: raise VMLaunchFailure exception from launch()
This allows us to pack in some extra information about the failure,
which guarantees that if the caller did not *intentionally* cause a
failure (by capturing this Exception), some pretty good clues will be
printed at the bottom of the traceback information.

This will help make failures in the event of a non-negative return code
more obvious when they go unhandled; the current behavior in
_post_shutdown() is to print a warning message only in the event of
signal-based terminations (for negative return codes).

(Note: In Python, catching BaseException instead of Exception catches a
broader array of Exception events, including SystemExit and
KeyboardInterrupt. We do not want to "wrap" such exceptions as a
VMLaunchFailure, because that will 'downgrade' the exception from a
BaseException to a regular Exception. We do, however, want to perform
cleanup in either case, so catch on the broadest scope and
wrap-and-re-raise only in the more targeted scope.)

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20220201041134.1237016-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2022-02-02 14:12:22 -05:00
..
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-05-12 17:42:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-05-12 17:42:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-11-01 11:54:59 -04:00
2021-07-09 13:18:32 +02:00
2020-09-08 13:40:49 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-01-20 14:53:22 -06:00
2021-03-29 18:06:14 +02:00
2021-03-29 18:06:14 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-10-15 16:06:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-09-02 16:32:14 -05:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:18:32 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-29 14:13:55 +02:00
2021-01-20 14:53:22 -06:00
2021-01-26 14:36:37 +01:00
2021-01-26 14:36:37 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-18 09:22:55 +00:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-24 14:25:48 +00:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-12-28 15:18:59 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2020-03-11 15:54:38 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-19 15:18:43 +01:00
2021-07-06 14:28:55 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-26 14:36:37 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-07-28 15:28:56 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-09-07 12:31:31 +02:00
2021-01-20 14:53:22 -06:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-02-01 10:51:39 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-01 11:54:59 -04:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-10-10 10:56:18 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2021-07-09 13:19:11 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-01 11:54:59 -04:00
2021-03-24 14:25:48 +00:00
2020-09-02 16:32:14 -05:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-01-14 12:03:16 +01:00
2021-01-20 14:53:22 -06:00
2019-11-18 16:01:31 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-12-28 15:18:59 +01:00
2021-12-28 15:18:59 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2021-11-01 11:54:59 -04:00
2021-07-09 13:19:11 +02:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:18:32 +02:00
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2022-01-14 12:03:16 +01:00
2022-01-14 12:03:16 +01:00
2021-01-20 14:53:22 -06:00
2021-01-27 20:53:14 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.