Re: [PATCH v2 0/2] virtio/vhost: fix alignment requirements

2014-12-27 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Dec 25, 2014 at 05:05:01PM +0200, Michael S. Tsirkin wrote: >> vhost incorrectly asked for 8 byte alignment for >> used ring pointer, it should be 4 byte. >> >> Let's add explicit macros for ring element alignment, >> this makes it easier to make sure our re

Re: [PATCH v2 0/2] virtio/vhost: fix alignment requirements

2014-12-25 Thread Michael S. Tsirkin
On Thu, Dec 25, 2014 at 05:05:01PM +0200, Michael S. Tsirkin wrote: > vhost incorrectly asked for 8 byte alignment for > used ring pointer, it should be 4 byte. > > Let's add explicit macros for ring element alignment, > this makes it easier to make sure our requirements > match the spec. > > Rus

[PATCH v2 0/2] virtio/vhost: fix alignment requirements

2014-12-25 Thread Michael S. Tsirkin
vhost incorrectly asked for 8 byte alignment for used ring pointer, it should be 4 byte. Let's add explicit macros for ring element alignment, this makes it easier to make sure our requirements match the spec. Rusty, OK to merge this through my vhost tree, or do you prefer merging this through yo