qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Unit test+fix for problem with QEMU handling of multiple bind()s to the same port
@ 2017-06-09 19:19 Knut Omang
  2017-06-09 19:19 ` [Qemu-devel] [PATCH 1/2] Add test-listen - a stress test for QEMU socket listen Knut Omang
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Knut Omang @ 2017-06-09 19:19 UTC (permalink / raw)
  To: Daniel P . Berrange, Gerd Hoffmann, Paolo Bonzini; +Cc: qemu-devel, Knut Omang

This series contains:
* a unit test that exposes a race condition which causes QEMU to fail
  to find a port even when there is plenty of available ports.
* a refactor of the qemu-sockets inet_listen_saddr() function
  to better handle this situation.

Thanks,
Knut

Knut Omang (2):
  Add test-listen - a stress test for QEMU socket listen
  socket: Handle race condition between binds to the same port

 tests/Makefile.include |   2 +-
 tests/test-listen.c    | 135 ++++++++++++++++++++++++++++++++++++++++++-
 util/qemu-sockets.c    | 106 +++++++++++++++++++++++----------
 3 files changed, 212 insertions(+), 31 deletions(-)
 create mode 100644 tests/test-listen.c

base-commit: 64175afc695c0672876fbbfc31b299c86d562cb4
-- 
git-series 0.9.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-06-14 11:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09 19:19 [Qemu-devel] [PATCH 0/2] Unit test+fix for problem with QEMU handling of multiple bind()s to the same port Knut Omang
2017-06-09 19:19 ` [Qemu-devel] [PATCH 1/2] Add test-listen - a stress test for QEMU socket listen Knut Omang
2017-06-09 19:19 ` [Qemu-devel] [PATCH 2/2] socket: Handle race condition between binds to the same port Knut Omang
2017-06-14  8:17   ` Daniel P. Berrange
2017-06-14 11:34     ` Knut Omang
2017-06-09 19:25 ` [Qemu-devel] [PATCH 0/2] Unit test+fix for problem with QEMU handling of multiple bind()s " no-reply
2017-06-09 19:39 ` Eric Blake
2017-06-13  5:36   ` Knut Omang
2017-06-09 21:04 ` no-reply
2017-06-13  6:42   ` Knut Omang
2017-06-13  7:21     ` Fam Zheng
2017-06-09 21:16 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).