[PATCH for 7.2 v4 0/5] final vhost-user fixes

Alex Bennée posted 5 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221130112439.2527228-1-alex.bennee@linaro.org
Maintainers: "Gonglei (Arei)" <arei.gonglei@huawei.com>, "Michael S. Tsirkin" <mst@redhat.com>, Raphael Norwitz <raphael.norwitz@nutanix.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Jason Wang <jasowang@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Viresh Kumar <viresh.kumar@linaro.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
include/hw/virtio/vhost-user-gpio.h | 10 ++++
include/hw/virtio/vhost-user.h      | 18 ++++++++
include/hw/virtio/vhost.h           |  6 ++-
include/hw/virtio/virtio.h          | 23 ++++++++--
backends/cryptodev-vhost.c          |  4 +-
backends/vhost-user.c               |  4 +-
hw/block/vhost-user-blk.c           | 45 +++---------------
hw/net/vhost_net.c                  |  8 ++--
hw/scsi/vhost-scsi-common.c         |  4 +-
hw/virtio/vhost-user-fs.c           |  4 +-
hw/virtio/vhost-user-gpio.c         | 26 +++++++----
hw/virtio/vhost-user-i2c.c          |  4 +-
hw/virtio/vhost-user-rng.c          |  4 +-
hw/virtio/vhost-user.c              | 71 +++++++++++++++++++++++++++++
hw/virtio/vhost-vsock-common.c      |  4 +-
hw/virtio/vhost.c                   | 44 ++++++++++++++++--
tests/qtest/libqos/virtio-gpio.c    |  3 +-
hw/virtio/trace-events              |  4 +-
18 files changed, 205 insertions(+), 81 deletions(-)
[PATCH for 7.2 v4 0/5] final vhost-user fixes
Posted by Alex Bennée 1 year, 3 months ago
Hi Michael,

Following feedback from the previous posting I've dropped the setting
of host_features (probably and overfix while chasing other issues).
I've re-ordered the series so the "VM state takes precedence" patch is
the last one. I'm going to demur on fixing up vhost-net which on the
surface looks like it should benefit from the CHR_EVENT_CLOSED
re-factoring but is going to require more invasive tweaks to ensure we
properly pass DeviceState to the helpers.

Please apply


Alex Bennée (4):
  tests/qtests: override "force-legacy" for gpio virtio-mmio tests
  hw/virtio: add started_vu status field to vhost-user-gpio
  hw/virtio: generalise CHR_EVENT_CLOSED handling
  include/hw: VM state takes precedence in virtio_device_should_start

Stefano Garzarella (1):
  vhost: enable vrings in vhost_dev_start() for vhost-user devices

 include/hw/virtio/vhost-user-gpio.h | 10 ++++
 include/hw/virtio/vhost-user.h      | 18 ++++++++
 include/hw/virtio/vhost.h           |  6 ++-
 include/hw/virtio/virtio.h          | 23 ++++++++--
 backends/cryptodev-vhost.c          |  4 +-
 backends/vhost-user.c               |  4 +-
 hw/block/vhost-user-blk.c           | 45 +++---------------
 hw/net/vhost_net.c                  |  8 ++--
 hw/scsi/vhost-scsi-common.c         |  4 +-
 hw/virtio/vhost-user-fs.c           |  4 +-
 hw/virtio/vhost-user-gpio.c         | 26 +++++++----
 hw/virtio/vhost-user-i2c.c          |  4 +-
 hw/virtio/vhost-user-rng.c          |  4 +-
 hw/virtio/vhost-user.c              | 71 +++++++++++++++++++++++++++++
 hw/virtio/vhost-vsock-common.c      |  4 +-
 hw/virtio/vhost.c                   | 44 ++++++++++++++++--
 tests/qtest/libqos/virtio-gpio.c    |  3 +-
 hw/virtio/trace-events              |  4 +-
 18 files changed, 205 insertions(+), 81 deletions(-)

-- 
2.34.1