[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 02/12] libqtest: add qtest_socket_server()
From: |
Thomas Huth |
Subject: |
Re: [PATCH v2 02/12] libqtest: add qtest_socket_server() |
Date: |
Fri, 18 Dec 2020 12:29:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
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 <stefanha@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 <thuth@redhat.com>
- [PATCH v2 00/12] block/export: vhost-user-blk server tests and input validation, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 01/12] vhost-user-blk: fix blkcfg->num_queues endianness, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 04/12] libqtest: add qtest_remove_abrt_handler(), Stefan Hajnoczi, 2020/12/07
- [PATCH v2 12/12] block/export: port virtio-blk read/write range check, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 06/12] tests/qtest: add multi-queue test case to vhost-user-blk-test, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 03/12] libqtest: add qtest_kill_qemu(), Stefan Hajnoczi, 2020/12/07
- [PATCH v2 11/12] vhost-user-blk-test: test discard/write zeroes invalid inputs, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 02/12] libqtest: add qtest_socket_server(), Stefan Hajnoczi, 2020/12/07
- Re: [PATCH v2 02/12] libqtest: add qtest_socket_server(),
Thomas Huth <=
- [PATCH v2 05/12] test: new qTest case to test the vhost-user-blk-server, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 10/12] block/export: port virtio-blk discard/write zeroes input validation, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 07/12] block/export: fix blk_size double byteswap, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 09/12] block/export: fix vhost-user-blk export sector number calculation, Stefan Hajnoczi, 2020/12/07
- [PATCH v2 08/12] block/export: use VIRTIO_BLK_SECTOR_BITS, Stefan Hajnoczi, 2020/12/07