summary refs log tree commit diff stats
path: root/include/qemu/coroutine.h
diff options
context:
space:
mode:
authorHanna Reitz <hreitz@redhat.com>2022-02-04 12:10:09 +0100
committerVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2022-02-11 14:06:05 +0100
commit091dc7b2b5553a529bff9a7bf9ad3bc85bc5bdcd (patch)
tree1d566340044d4b06c8c966c548ad36cf2d4d5abe /include/qemu/coroutine.h
parent8a39c381e5e407d2fe5500324323f90a8540fa90 (diff)
downloadfocaccia-qemu-091dc7b2b5553a529bff9a7bf9ad3bc85bc5bdcd.tar.gz
focaccia-qemu-091dc7b2b5553a529bff9a7bf9ad3bc85bc5bdcd.zip
iotests.py: Add QemuStorageDaemon class
This is a rather simple class that allows creating a QSD instance
running in the background and stopping it when no longer needed.

The __del__ handler is a safety net for when something goes so wrong in
a test that e.g. the tearDown() method is not called (e.g. setUp()
launches the QSD, but then launching a VM fails).  We do not want the
QSD to continue running after the test has failed, so __del__() will
take care to kill it.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'include/qemu/coroutine.h')
0 files changed, 0 insertions, 0 deletions