qemu-e2k/python/qemu/utils
John Snow 062fd1dad2 python/utils: add VerboseProcessError
This adds an Exception that extends the Python stdlib
subprocess.CalledProcessError.

The difference is that the str() method of this exception also adds the
stdout/stderr logs. In effect, if this exception goes unhandled, Python
will print the output in a visually distinct wrapper to the terminal so
that it's easy to spot in a sea of traceback information.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-3-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2022-03-22 10:14:23 +01:00
..
README.rst tests/acceptance: rename tests acceptance to tests avocado 2021-11-08 17:00:22 +01:00
__init__.py python/utils: add VerboseProcessError 2022-03-22 10:14:23 +01:00
accel.py python: Fix broken ReST docstrings 2021-06-30 21:57:08 -04:00
py.typed python: expose typing information via PEP 561 2021-06-30 21:54:04 -04:00
qemu_ga_client.py python: move qmp utilities to python/qemu/utils 2022-01-21 16:01:31 -05:00
qom.py python: move qmp utilities to python/qemu/utils 2022-01-21 16:01:31 -05:00
qom_common.py python: move qmp utilities to python/qemu/utils 2022-01-21 16:01:31 -05:00
qom_fuse.py python: move qmp utilities to python/qemu/utils 2022-01-21 16:01:31 -05:00

README.rst

qemu.utils package
==================

This package provides miscellaneous utilities used for testing and
debugging QEMU. It is used primarily by the vm and avocado tests.

See the documentation in ``__init__.py`` for more information.