aboutsummaryrefslogtreecommitdiff
path: root/scripts/check_sparse.py
diff options
context:
space:
mode:
authorHet Gala <het.gala@nutanix.com>2024-03-12 20:26:29 +0000
committerPeter Xu <peterx@redhat.com>2024-04-23 18:36:01 -0400
commit4f2f5b694d9dec2dde87a9155b0cb674dc3e6644 (patch)
treed09e5f255789c7e80b2ef12eb540be4449e44b47 /scripts/check_sparse.py
parentd1155fd485d54e55fd26804c04635404ce5da43b (diff)
downloadqemu-4f2f5b694d9dec2dde87a9155b0cb674dc3e6644.zip
qemu-4f2f5b694d9dec2dde87a9155b0cb674dc3e6644.tar.gz
qemu-4f2f5b694d9dec2dde87a9155b0cb674dc3e6644.tar.bz2
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 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions