On 07/12/2020 18.20, Stefan Hajnoczi wrote: > Add an API that returns a new UNIX domain socket in the listen state. > The code for this was already there but only used internally in > init_socket(). > > This new API will be used by vhost-user-blk-test. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > tests/qtest/libqos/libqtest.h | 8 +++++++ > tests/qtest/libqtest.c | 40 ++++++++++++++++++++--------------- > 2 files changed, 31 insertions(+), 17 deletions(-) > > diff --git a/tests/qtest/libqos/libqtest.h b/tests/qtest/libqos/libqtest.h > index 724f65aa94..e5f1ec590c 100644 > --- a/tests/qtest/libqos/libqtest.h > +++ b/tests/qtest/libqos/libqtest.h > @@ -132,6 +132,14 @@ void qtest_qmp_send(QTestState *s, const char *fmt, ...) > void qtest_qmp_send_raw(QTestState *s, const char *fmt, ...) > GCC_FMT_ATTR(2, 3);
Reviewed-by: Thomas Huth <th...@redhat.com>