diff options
author | Beraldo Leal <bleal@redhat.com> | 2022-03-11 14:11:27 -0300 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-03-16 08:43:10 +0100 |
commit | 5e2d19b3cd18184dde9a4793c3fbd8283ebffdfc (patch) | |
tree | 7f2d501c5fcd4b6252d092bfc061fe85be09e561 /accel | |
parent | c587bddb530c2f48b1a43b6df5028f78c39c81c3 (diff) | |
download | qemu-5e2d19b3cd18184dde9a4793c3fbd8283ebffdfc.zip qemu-5e2d19b3cd18184dde9a4793c3fbd8283ebffdfc.tar.gz qemu-5e2d19b3cd18184dde9a4793c3fbd8283ebffdfc.tar.bz2 |
tests/avocado: start PhoneServer upfront
Race conditions can happen with the current code, because the port that
was available might not be anymore by the time the server is started.
By setting the port to 0, PhoneServer it will use the OS default
behavior to get a free port, then we save this information so we can
later configure the guest.
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Beraldo Leal <bleal@redhat.com>
Message-Id: <20220311171127.2189534-1-bleal@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel')
0 files changed, 0 insertions, 0 deletions