aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/commands.py
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 /scripts/qapi/commands.py
parentblock/nbd: Assert there are no timers when closed (diff)
downloadqemu-091dc7b2b5553a529bff9a7bf9ad3bc85bc5bdcd.tar.xz
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 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions