qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>,
	Thomas Huth <thuth@redhat.com>,
	qemu-block@nongnu.org, Coiby Xu <Coiby.Xu@gmail.com>,
	Max Reitz <mreitz@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: [PATCH 0/4] vhost-user-blk-test: add vhost-user-blk server tests
Date: Tue,  9 Mar 2021 09:41:02 +0000	[thread overview]
Message-ID: <20210309094106.196911-1-stefanha@redhat.com> (raw)

These patches were dropped from Kevin's last block pull request due to a GitLab
CI failure. The old CentOS 7 and opensuse Leap build images lack
memfd_create(2) (introduced in Linux around 2014). The vhost-user-blk server
had a dependency on memfd_create(2) due to VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD
and qemu-storage-daemon would fail to create a vhost-user-blk export.

Since we have not thought about or tested VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD
anyway, disable it for now. It can be re-enabled again later when it's needed
for reconnection support.

Coiby Xu (1):
  test: new qTest case to test the vhost-user-blk-server

Stefan Hajnoczi (3):
  block/export: disable VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD for now
  tests/qtest: add multi-queue test case to vhost-user-blk-test
  vhost-user-blk-test: test discard/write zeroes invalid inputs

 MAINTAINERS                          |   2 +
 tests/qtest/libqos/vhost-user-blk.h  |  48 ++
 block/export/vhost-user-blk-server.c |   3 +-
 tests/qtest/libqos/vhost-user-blk.c  | 130 ++++
 tests/qtest/vhost-user-blk-test.c    | 983 +++++++++++++++++++++++++++
 tests/qtest/libqos/meson.build       |   1 +
 tests/qtest/meson.build              |   4 +
 7 files changed, 1169 insertions(+), 2 deletions(-)
 create mode 100644 tests/qtest/libqos/vhost-user-blk.h
 create mode 100644 tests/qtest/libqos/vhost-user-blk.c
 create mode 100644 tests/qtest/vhost-user-blk-test.c

-- 
2.29.2


             reply	other threads:[~2021-03-09  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09  9:41 Stefan Hajnoczi [this message]
2021-03-09  9:41 ` [PATCH 1/4] block/export: disable VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD for now Stefan Hajnoczi
2021-03-09  9:41 ` [PATCH 2/4] test: new qTest case to test the vhost-user-blk-server Stefan Hajnoczi
2021-03-09  9:41 ` [PATCH 3/4] tests/qtest: add multi-queue test case to vhost-user-blk-test Stefan Hajnoczi
2021-03-09  9:41 ` [PATCH 4/4] vhost-user-blk-test: test discard/write zeroes invalid inputs Stefan Hajnoczi
2021-03-10 17:45 ` [PATCH 0/4] vhost-user-blk-test: add vhost-user-blk server tests Kevin Wolf

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=20210309094106.196911-1-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=Coiby.Xu@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --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 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).