diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-12-21 02:00:23 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-29 11:55:06 +0300 |
commit | 5d9a07b0de512b77bf28d2401e5fe3351f00a240 (patch) | |
tree | 1157d5803702f242d4b35268644ee48e20719307 /include/linux/thermal.h | |
parent | b28e0506fafd9c987bba7a6a71ea02a37fcabdea (diff) | |
download | linux-5d9a07b0de512b77bf28d2401e5fe3351f00a240.tar.xz |
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 'include/linux/thermal.h')
0 files changed, 0 insertions, 0 deletions