diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-12-20 18:00:23 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-29 03:55:06 -0500 |
commit | 5d9a07b0de512b77bf28d2401e5fe3351f00a240 (patch) | |
tree | 1157d5803702f242d4b35268644ee48e20719307 /scripts/patch-kernel | |
parent | b28e0506fafd9c987bba7a6a71ea02a37fcabdea (diff) |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions