[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 00/30] Block patches
From: |
Stefan Hajnoczi |
Subject: |
[PULL 00/30] Block patches |
Date: |
Fri, 9 Oct 2020 20:34:59 +0100 |
The following changes since commit 497d415d76b9f59fcae27f22df1ca2c3fa4df64e:
Merge remote-tracking branch
'remotes/pmaydell/tags/pull-target-arm-20201008-1' into staging (2020-10-08
21:41:20 +0100)
are available in the Git repository at:
https://gitlab.com/stefanha/qemu.git tags/block-pull-request
for you to fetch changes up to e969c7b045c90368bc3a5db3479e70b6f0ecb828:
iotests: add commit top->base cases to 274 (2020-10-09 14:32:24 +0100)
----------------------------------------------------------------
Pull request
This pull request includes the vhost-user-blk server by Coiby Xu, the block
coroutine code generator by Vladimir Sementsov-Ogievskiy, nvme block driver
statistics by Philippe Mathieu-Daudé, and cleanups/fixes/additions to the
vhost-user-blk server by me.
----------------------------------------------------------------
Coiby Xu (7):
libvhost-user: Allow vu_message_read to be replaced
libvhost-user: remove watch for kick_fd when de-initialize vu-dev
util/vhost-user-server: generic vhost user server
block: move logical block size check function to a common utility
function
block/export: vhost-user block device backend server
test: new qTest case to test the vhost-user-blk-server
MAINTAINERS: Add vhost-user block device backend server maintainer
Philippe Mathieu-Daudé (1):
block/nvme: Add driver statistics for access alignment and hw errors
Stefan Hajnoczi (17):
util/vhost-user-server: s/fileds/fields/ typo fix
util/vhost-user-server: drop unnecessary QOM cast
util/vhost-user-server: drop unnecessary watch deletion
block/export: consolidate request structs into VuBlockReq
util/vhost-user-server: drop unused DevicePanicNotifier
util/vhost-user-server: fix memory leak in vu_message_read()
util/vhost-user-server: check EOF when reading payload
util/vhost-user-server: rework vu_client_trip() coroutine lifecycle
block/export: report flush errors
block/export: convert vhost-user-blk server to block export API
util/vhost-user-server: move header to include/
util/vhost-user-server: use static library in meson.build
qemu-storage-daemon: avoid compiling blockdev_ss twice
block: move block exports to libblockdev
block/export: add iothread and fixed-iothread options
block/export: add vhost-user-blk multi-queue support
tests/qtest: add multi-queue test case to vhost-user-blk-test
Vladimir Sementsov-Ogievskiy (5):
block/io: fix bdrv_co_block_status_above
block/io: bdrv_common_block_status_above: support include_base
block/io: bdrv_common_block_status_above: support bs == base
block/io: fix bdrv_is_allocated_above
iotests: add commit top->base cases to 274
MAINTAINERS | 10 +
qapi/block-core.json | 24 +-
qapi/block-export.json | 36 +-
block/coroutines.h | 2 +
block/export/vhost-user-blk-server.h | 19 +
contrib/libvhost-user/libvhost-user.h | 21 +
include/qemu/vhost-user-server.h | 65 ++
tests/qtest/libqos/libqtest.h | 17 +
tests/qtest/libqos/vhost-user-blk.h | 48 ++
util/block-helpers.h | 19 +
block/export/export.c | 37 +-
block/export/vhost-user-blk-server.c | 431 +++++++++++
block/io.c | 132 ++--
block/nvme.c | 27 +
block/qcow2.c | 16 +-
contrib/libvhost-user/libvhost-user-glib.c | 2 +-
contrib/libvhost-user/libvhost-user.c | 15 +-
hw/core/qdev-properties-system.c | 31 +-
nbd/server.c | 2 -
qemu-nbd.c | 21 +-
softmmu/vl.c | 4 +
stubs/blk-exp-close-all.c | 7 +
tests/qtest/libqos/vhost-user-blk.c | 129 ++++
tests/qtest/libqtest.c | 36 +-
tests/qtest/vhost-user-blk-test.c | 822 +++++++++++++++++++++
tests/vhost-user-bridge.c | 2 +
tools/virtiofsd/fuse_virtio.c | 4 +-
util/block-helpers.c | 46 ++
util/vhost-user-server.c | 446 +++++++++++
block/export/meson.build | 3 +-
contrib/libvhost-user/meson.build | 1 +
meson.build | 22 +-
nbd/meson.build | 2 +
storage-daemon/meson.build | 3 +-
stubs/meson.build | 1 +
tests/qemu-iotests/274 | 20 +
tests/qemu-iotests/274.out | 68 ++
tests/qtest/libqos/meson.build | 1 +
tests/qtest/meson.build | 4 +-
util/meson.build | 4 +
40 files changed, 2476 insertions(+), 124 deletions(-)
create mode 100644 block/export/vhost-user-blk-server.h
create mode 100644 include/qemu/vhost-user-server.h
create mode 100644 tests/qtest/libqos/vhost-user-blk.h
create mode 100644 util/block-helpers.h
create mode 100644 block/export/vhost-user-blk-server.c
create mode 100644 stubs/blk-exp-close-all.c
create mode 100644 tests/qtest/libqos/vhost-user-blk.c
create mode 100644 tests/qtest/vhost-user-blk-test.c
create mode 100644 util/block-helpers.c
create mode 100644 util/vhost-user-server.c
--
2.26.2
- [PULL 00/30] Block patches,
Stefan Hajnoczi <=
- [PULL 01/30] block/nvme: Add driver statistics for access alignment and hw errors, Stefan Hajnoczi, 2020/10/09
- [PULL 02/30] libvhost-user: Allow vu_message_read to be replaced, Stefan Hajnoczi, 2020/10/09
- [PULL 03/30] libvhost-user: remove watch for kick_fd when de-initialize vu-dev, Stefan Hajnoczi, 2020/10/09
- [PULL 04/30] util/vhost-user-server: generic vhost user server, Stefan Hajnoczi, 2020/10/09
- [PULL 05/30] block: move logical block size check function to a common utility function, Stefan Hajnoczi, 2020/10/09
- [PULL 06/30] block/export: vhost-user block device backend server, Stefan Hajnoczi, 2020/10/09
- [PULL 08/30] MAINTAINERS: Add vhost-user block device backend server maintainer, Stefan Hajnoczi, 2020/10/09
- [PULL 09/30] util/vhost-user-server: s/fileds/fields/ typo fix, Stefan Hajnoczi, 2020/10/09
- [PULL 10/30] util/vhost-user-server: drop unnecessary QOM cast, Stefan Hajnoczi, 2020/10/09
- [PULL 07/30] test: new qTest case to test the vhost-user-blk-server, Stefan Hajnoczi, 2020/10/09