diff options
| author | Het Gala <het.gala@nutanix.com> | 2024-03-12 20:26:29 +0000 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-04-23 18:36:01 -0400 |
| commit | 4f2f5b694d9dec2dde87a9155b0cb674dc3e6644 (patch) | |
| tree | d09e5f255789c7e80b2ef12eb540be4449e44b47 /python/qemu/machine/console_socket.py | |
| parent | d1155fd485d54e55fd26804c04635404ce5da43b (diff) | |
| download | focaccia-qemu-4f2f5b694d9dec2dde87a9155b0cb674dc3e6644.tar.gz focaccia-qemu-4f2f5b694d9dec2dde87a9155b0cb674dc3e6644.zip | |
tests/qtest/migration: Replace migrate_get_connect_uri inplace of migrate_get_socket_address
Refactor migrate_get_socket_address to internally utilize 'socket-address' parameter, reducing redundancy in the function definition. migrate_get_socket_address implicitly converts SocketAddress into str. Move migrate_get_socket_address inside migrate_get_connect_uri which should return the uri string instead. Signed-off-by: Het Gala <het.gala@nutanix.com> Suggested-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240312202634.63349-4-het.gala@nutanix.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'python/qemu/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions