[lkml]   [2014]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[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(-)


 \ /
  Last update: 2014-12-25 16:41    [W:0.027 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site