summaryrefslogtreecommitdiffstats
path: root/python/qemu/machine.py
diff options
context:
space:
mode:
authorCleber Rosa2021-04-12 06:46:36 +0200
committerJohn Snow2021-06-01 22:21:20 +0200
commit976218cbe792c37c1af7840ca5113e37b5a51d95 (patch)
tree082b120c16002d36f92f3bd402af0e734dc81fd6 /python/qemu/machine.py
parenttests/acceptance/virtiofs_submounts.py: evaluate string not length (diff)
downloadqemu-976218cbe792c37c1af7840ca5113e37b5a51d95.tar.gz
qemu-976218cbe792c37c1af7840ca5113e37b5a51d95.tar.xz
qemu-976218cbe792c37c1af7840ca5113e37b5a51d95.zip
Python: add utility function for retrieving port redirection
Slightly different versions for the same utility code are currently present on different locations. This unifies them all, giving preference to the version from virtiofs_submounts.py, because of the last tweaks added to it. While at it, this adds a "qemu.utils" module to host the utility function and a test. Signed-off-by: Cleber Rosa <crosa@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Message-Id: <20210412044644.55083-4-crosa@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> [Squashed in below fix. --js] Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20210601154546.130870-2-crosa@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions