diff options
| author | Steve Sistare <steven.sistare@oracle.com> | 2025-01-15 11:00:44 -0800 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2025-01-29 11:56:39 -0300 |
| commit | 903a65120d347d7584726c01072b7e82826459c1 (patch) | |
| tree | 21cf610cca4461b649a1d2c7e36600def129d921 /scripts/qapi/source.py | |
| parent | fdbfbfc75e9e5ee76693f32d7e67cf04ff804413 (diff) | |
| download | focaccia-qemu-903a65120d347d7584726c01072b7e82826459c1.tar.gz focaccia-qemu-903a65120d347d7584726c01072b7e82826459c1.zip | |
tests/qtest: optimize migrate_set_ports
Do not query connection parameters if all port numbers are known. This is more efficient, and also solves a problem for the cpr-transfer test. At the point where cpr-transfer calls migrate_qmp and migrate_set_ports, the monitor is not connected and queries are not allowed. Port=0 is never used for cpr-transfer. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/1736967650-129648-19-git-send-email-steven.sistare@oracle.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions