tests/qtest/vhost-user-blk-test: use memory-backend-shm
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 18 Jun 2024 10:05:27 +0000 (12:05 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jul 2024 22:14:06 +0000 (18:14 -0400)
commite349062727c7b35ac4c9bd08c534f64f571389fe
treec93547db158573717606d96a15a2c00de36b39f4
parent4e647fa08586a5ada74cf6d3ae1cdf3a027202cb
tests/qtest/vhost-user-blk-test: use memory-backend-shm

`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.

Since we are here, let`s remove `share=on` which is the default for shm
(and also for memfd).

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>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20240618100527.145883-1-sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/vhost-user-blk-test.c