Re: [PATCH V5 17/23] tests/qtest: optimize migrate_set_ports

2024-12-24 Thread Peter Xu
On Tue, Dec 24, 2024 at 08:17:02AM -0800, Steve Sistare wrote: > 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

[PATCH V5 17/23] tests/qtest: optimize migrate_set_ports

2024-12-24 Thread Steve Sistare
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 fo