kernel_optimize_test/drivers/vhost
Michael S. Tsirkin 5d9a07b0de 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>
2014-12-29 10:55:06 +02:00
..
Kconfig
Makefile
net.c
scsi.c
test.c
test.h
vhost.c vhost: relax used address alignment 2014-12-29 10:55:06 +02:00
vhost.h
vringh.c vringh: update for virtio 1.0 APIs 2014-12-15 23:49:28 +02:00