From: David Hildenbrand <david@redhat.com>
To: Stefano Garzarella <sgarzare@redhat.com>, qemu-devel@nongnu.org
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Brad Smith" <brad@comstyle.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Coiby Xu" <Coiby.Xu@gmail.com>,
"Markus Armbruster" <armbru@redhat.com>,
slp@redhat.com, "Eduardo Habkost" <eduardo@habkost.net>,
stefanha@redhat.com, "Hanna Reitz" <hreitz@redhat.com>,
"Raphael Norwitz" <raphael@enfabrica.net>,
"Jason Wang" <jasowang@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Kevin Wolf" <kwolf@redhat.com>,
gmaglione@redhat.com, "Thomas Huth" <thuth@redhat.com>,
qemu-block@nongnu.org
Subject: Re: [PATCH v5 12/13] tests/qtest/vhost-user-blk-test: use memory-backend-shm
Date: Thu, 23 May 2024 17:06:00 +0200 [thread overview]
Message-ID: <06b7fd67-27d7-4afb-9fa3-2948d032efbd@redhat.com> (raw)
In-Reply-To: <20240523145522.313012-13-sgarzare@redhat.com>
On 23.05.24 16:55, Stefano Garzarella wrote:
> `memory-backend-memfd` is available only on Linux while the new
> `memory-backend-shm` can be used on any POSIX-compliant operating
> system. Let's use it so we can run the test in multiple environments.
>
> Acked-by: Thomas Huth <thuth@redhat.com>
> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> tests/qtest/vhost-user-blk-test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/qtest/vhost-user-blk-test.c b/tests/qtest/vhost-user-blk-test.c
> index 117b9acd10..e945f6abf2 100644
> --- a/tests/qtest/vhost-user-blk-test.c
> +++ b/tests/qtest/vhost-user-blk-test.c
> @@ -906,7 +906,7 @@ static void start_vhost_user_blk(GString *cmd_line, int vus_instances,
> vhost_user_blk_bin);
>
> g_string_append_printf(cmd_line,
> - " -object memory-backend-memfd,id=mem,size=256M,share=on "
> + " -object memory-backend-shm,id=mem,size=256M,share=on "
Can we simplifya nd drop the share=on?
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Cheers,
David / dhildenb
next prev parent reply other threads:[~2024-05-23 15:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 14:55 [PATCH v5 00/13] vhost-user: support any POSIX system (tested on macOS, FreeBSD, OpenBSD) Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 01/13] libvhost-user: set msg.msg_control to NULL when it is empty Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 02/13] libvhost-user: fail vu_message_write() if sendmsg() is failing Stefano Garzarella
2024-05-23 15:00 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 03/13] libvhost-user: mask F_INFLIGHT_SHMFD if memfd is not supported Stefano Garzarella
2024-05-23 15:00 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 04/13] vhost-user-server: do not set memory fd non-blocking Stefano Garzarella
2024-05-23 15:01 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 05/13] contrib/vhost-user-blk: fix bind() using the right size of the address Stefano Garzarella
2024-05-23 15:02 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 06/13] contrib/vhost-user-*: use QEMU bswap helper functions Stefano Garzarella
2024-05-23 15:03 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 07/13] vhost-user: enable frontends on any POSIX system Stefano Garzarella
2024-05-23 15:03 ` David Hildenbrand
2024-05-23 14:55 ` [PATCH v5 08/13] libvhost-user: enable it " Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 09/13] osdep: move O_DSYNC and O_DIRECT defines from file-posix Stefano Garzarella
2024-05-23 15:09 ` Stefano Garzarella
2024-05-23 15:14 ` Daniel P. Berrangé
2024-05-23 15:21 ` Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 10/13] contrib/vhost-user-blk: enable it on any POSIX system Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 11/13] hostmem: add a new memory backend based on POSIX shm_open() Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 12/13] tests/qtest/vhost-user-blk-test: use memory-backend-shm Stefano Garzarella
2024-05-23 15:06 ` David Hildenbrand [this message]
2024-05-23 15:26 ` Stefano Garzarella
2024-05-23 14:55 ` [PATCH v5 13/13] tests/qtest/vhost-user-test: add a test case for memory-backend-shm Stefano Garzarella
2024-05-23 15:06 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06b7fd67-27d7-4afb-9fa3-2948d032efbd@redhat.com \
--to=david@redhat.com \
--cc=Coiby.Xu@gmail.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=brad@comstyle.com \
--cc=eblake@redhat.com \
--cc=eduardo@habkost.net \
--cc=gmaglione@redhat.com \
--cc=hreitz@redhat.com \
--cc=imammedo@redhat.com \
--cc=jasowang@redhat.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=raphael@enfabrica.net \
--cc=sgarzare@redhat.com \
--cc=slp@redhat.com \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.