mbox series

[kvmtool,v2,00/17] Fix vhost-net, scsi and vsock

Message ID 20230606130426.978945-1-jean-philippe@linaro.org (mailing list archive)
Headers show
Series Fix vhost-net, scsi and vsock | expand

Message

Jean-Philippe Brucker June 6, 2023, 1:04 p.m. UTC
This is version 2 of the vhost fixes for kvmtool posted here:
https://lore.kernel.org/all/20230419132119.124457-1-jean-philippe@linaro.org/

Since v1:
* Added review tags from Andre
* Fixed issues reported by Andre, and the max_target size found while
  rebasing patch 8
* Added patch 14 (warn and disable an unsupported configuration)

Jean-Philippe Brucker (17):
  virtio: Factor vhost initialization
  virtio/vhost: Factor vring operation
  virtio/vhost: Factor notify_vq_eventfd()
  virtio/vhost: Factor notify_vq_gsi()
  virtio/scsi: Move VHOST_SCSI_SET_ENDPOINT to device start
  virtio/scsi: Fix and simplify command-line
  disk/core: Fix segfault on exit with SCSI
  virtio/scsi: Initialize max_target
  virtio/scsi: Fix feature selection
  virtio/vsock: Fix feature selection
  virtio/net: Fix feature selection
  virtio: Document how to test the devices
  virtio: Fix messages about missing Linux config
  virtio/net: Warn about enabling multiqueue with vhost
  Factor epoll thread
  virtio/vhost: Support line interrupt signaling
  virtio/vhost: Clear VIRTIO_F_ACCESS_PLATFORM

 Makefile                     |   2 +
 Documentation/io-testing.txt | 141 +++++++++++++++++++++++
 include/kvm/disk-image.h     |   7 +-
 include/kvm/epoll.h          |  17 +++
 include/kvm/virtio.h         |  16 +++
 disk/core.c                  |  15 +--
 epoll.c                      |  91 +++++++++++++++
 ioeventfd.c                  |  94 +++-------------
 kvm-ipc.c                    | 103 +++++------------
 virtio/core.c                |   1 +
 virtio/net.c                 | 129 +++++----------------
 virtio/scsi.c                | 118 ++++++--------------
 virtio/vhost.c               | 209 +++++++++++++++++++++++++++++++++++
 virtio/vsock.c               | 134 +++++-----------------
 14 files changed, 611 insertions(+), 466 deletions(-)
 create mode 100644 Documentation/io-testing.txt
 create mode 100644 include/kvm/epoll.h
 create mode 100644 epoll.c
 create mode 100644 virtio/vhost.c

Comments

Will Deacon June 8, 2023, 9:45 p.m. UTC | #1
On Tue, 6 Jun 2023 14:04:09 +0100, Jean-Philippe Brucker wrote:
> This is version 2 of the vhost fixes for kvmtool posted here:
> https://lore.kernel.org/all/20230419132119.124457-1-jean-philippe@linaro.org/
> 
> Since v1:
> * Added review tags from Andre
> * Fixed issues reported by Andre, and the max_target size found while
>   rebasing patch 8
> * Added patch 14 (warn and disable an unsupported configuration)
> 
> [...]

Applied to kvmtool (master), thanks!

[01/17] virtio: Factor vhost initialization
        https://git.kernel.org/will/kvmtool/c/f84ab9eb74fc
[02/17] virtio/vhost: Factor vring operation
        https://git.kernel.org/will/kvmtool/c/745221e582f7
[03/17] virtio/vhost: Factor notify_vq_eventfd()
        https://git.kernel.org/will/kvmtool/c/676c0c8ad95b
[04/17] virtio/vhost: Factor notify_vq_gsi()
        https://git.kernel.org/will/kvmtool/c/029cd2bb7898
[05/17] virtio/scsi: Move VHOST_SCSI_SET_ENDPOINT to device start
        https://git.kernel.org/will/kvmtool/c/13e7d626e00f
[06/17] virtio/scsi: Fix and simplify command-line
        https://git.kernel.org/will/kvmtool/c/145a86fedfe8
[07/17] disk/core: Fix segfault on exit with SCSI
        https://git.kernel.org/will/kvmtool/c/7bc3b5d7ef80
[08/17] virtio/scsi: Initialize max_target
        https://git.kernel.org/will/kvmtool/c/b8420e8d5d8d
[09/17] virtio/scsi: Fix feature selection
        https://git.kernel.org/will/kvmtool/c/13ea439a1f48
[10/17] virtio/vsock: Fix feature selection
        https://git.kernel.org/will/kvmtool/c/cf8358d34f31
[11/17] virtio/net: Fix feature selection
        https://git.kernel.org/will/kvmtool/c/53171d59b081
[12/17] virtio: Document how to test the devices
        https://git.kernel.org/will/kvmtool/c/13534ee80ce3
[13/17] virtio: Fix messages about missing Linux config
        https://git.kernel.org/will/kvmtool/c/33e026a78c9f
[14/17] virtio/net: Warn about enabling multiqueue with vhost
        https://git.kernel.org/will/kvmtool/c/3a70ab1e7bb3
[15/17] Factor epoll thread
        https://git.kernel.org/will/kvmtool/c/d30d94872e7f
[16/17] virtio/vhost: Support line interrupt signaling
        https://git.kernel.org/will/kvmtool/c/46aaf3b87d7e
[17/17] virtio/vhost: Clear VIRTIO_F_ACCESS_PLATFORM
        https://git.kernel.org/will/kvmtool/c/3b1cdcf9e78f

Cheers,