diff options
| author | John Snow <jsnow@redhat.com> | 2020-10-06 19:58:04 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2020-10-20 09:37:57 -0400 |
| commit | be1183e52f49cd0f9c1a855afe4c4a5455f966d1 (patch) | |
| tree | f14d28110ed8222b9f59c72b3cfbeb1ee08988ba /python/qemu/qtest.py | |
| parent | aaa81ec6093b2d45d5a318227db82fa71680a871 (diff) | |
| download | focaccia-qemu-be1183e52f49cd0f9c1a855afe4c4a5455f966d1.tar.gz focaccia-qemu-be1183e52f49cd0f9c1a855afe4c4a5455f966d1.zip | |
python/machine.py: Add _qmp access shim
Like many other Optional[] types, it's not always a given that this object will be set. Wrap it in a type-shim that raises a meaningful error and will always return a concrete type. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20201006235817.3280413-8-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/qtest.py')
0 files changed, 0 insertions, 0 deletions