commit | 5d9a07b0de512b77bf28d2401e5fe3351f00a240 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Dec 21 01:00:23 2014 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Dec 29 10:55:06 2014 +0200 |
tree | 1157d5803702f242d4b35268644ee48e20719307 | |
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>