Michael S. Tsirkin b28e0506fa virtio_ring: document alignment requirements
Host needs to know vring element alignment requirements:
simply doing alignof on structures doesn't work reliably: on some
platforms gcc has alignof(uint32_t) == 2.

Add macros for alignment as specified in virtio 1.0 cs01,
export them to userspace as well.

Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-12-29 10:54:54 +02:00
..
2014-12-20 13:42:57 -08:00
2014-12-11 13:20:50 -08:00
2014-12-20 13:42:57 -08:00
2014-12-20 13:42:57 -08:00