summaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-21 00:00:23 +0100
committerMichael S. Tsirkin <mst@redhat.com>2014-12-29 09:55:06 +0100
commit5d9a07b0de512b77bf28d2401e5fe3351f00a240 (patch)
tree1157d5803702f242d4b35268644ee48e20719307 /kernel/user_namespace.c
parentvirtio_ring: document alignment requirements (diff)
downloadlinux-5d9a07b0de512b77bf28d2401e5fe3351f00a240.tar.xz
linux-5d9a07b0de512b77bf28d2401e5fe3351f00a240.zip
vhost: relax used address alignment
virtio 1.0 only requires used address to be 4 byte aligned, vhost required 8 bytes (size of vring_used_elem). Fix up vhost to match that. Additionally, while vhost correctly requires 8 byte alignment for log, it's unconnected to used ring: it's a consequence that log has u64 entries. Tweak code to make that clearer. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions