Skip to content

vhost-vsock: fixes for seqpacket support

Stefano Garzarella qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 11 repliesSuperseded

Changes in v2 from the cover letter

- used OnOffAuto seqpacket property instead of boolean features [stefanha]
- moved seqpacket property to vhost-vsock-common class

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost-vsock: fix migration issue when seqpacket is supportedhw/core/machine.c hw/virtio/vhost-vsock.c include/hw/virtio/vhost-vsock.h+20 -30 replies
2/2vhost-vsock: handle common features in vhost-vsock-commonhw/core/machine.c hw/virtio/vhost-user-vsock.c hw/virtio/vhost-vsock-common.c +3 more+43 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] vhost-vsock: fixes for seqpacket support

This series includes 2 patches: the first is similar of v1, but using OnOffAuto property.
The second patch moves the seqpacket handling in the vhost-vsock-common class to reuse the same code/properties also in vhost-user-vsock devices.

Perhaps the patches can be merged into a single one, but to simplify the backport I left them separate.

v1: https://lore.kernel.org/qemu-devel/[email protected]/

v2:
- used OnOffAuto seqpacket property instead of boolean features [stefanha]
- moved seqpacket property to vhost-vsock-common class

Stefano Garzarella (2):
vhost-vsock: fix migration issue when seqpacket is supported
vhost-vsock: handle common features in vhost-vsock-common

 include/hw/virtio/vhost-vsock-common.h |  5 +++++
 hw/core/machine.c                      |  5 ++++-
 hw/virtio/vhost-user-vsock.c           |  4 +++-
 hw/virtio/vhost-vsock-common.c         | 31 ++++++++++++++++++++++++++
 hw/virtio/vhost-vsock.c                | 11 +--------
 5 files changed, 44 insertions(+), 12 deletions(-)
Signature · 1 line
2.31.1