Skip to content

virtio/vhost: fix alignment requirements

Michael S. Tsirkin kvm linux-api lkml netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio_ring: document alignment requirementsinclude/uapi/linux/virtio_ring.h+7 -00 replies
2/2vhost: relax used address alignmentdrivers/vhost/vhost.c+7 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRusty Russell
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] virtio/vhost: fix alignment requirements

vhost incorrectly asked for 8 byte alignment for used ring pointer, it should be 4 byte.

Let's add explicit macros for ring element alignment, this makes it easier to make sure our requirements match the spec.

Rusty, OK to merge this through my vhost tree, or do you prefer merging this through yours?

Michael S. Tsirkin (2):
virtio_ring: document alignment requirements
vhost: relax used address alignment

 include/uapi/linux/virtio_ring.h |  7 +++++++
 drivers/vhost/vhost.c            | 10 +++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
MST