Re: [PATCH 2/3] vhost: add support for legacy virtio

2015-02-22 Thread Michael S. Tsirkin
On Fri, Feb 20, 2015 at 11:14:47AM +0100, Greg Kurz wrote: > Signed-off-by: Greg Kurz > --- > drivers/vhost/vhost.h | 20 ++-- > 1 file changed, 14 insertions(+), 6 deletions(-) > > Michael, > > The vhost_is_little_endian() helper adds unconditionnal overhead to fixed >

Re: [PATCH 2/3] vhost: add support for legacy virtio

2015-02-22 Thread Michael S. Tsirkin
On Fri, Feb 20, 2015 at 11:14:47AM +0100, Greg Kurz wrote: Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/vhost/vhost.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Michael, The vhost_is_little_endian() helper adds unconditionnal overhead

[PATCH 2/3] vhost: add support for legacy virtio

2015-02-20 Thread Greg Kurz
Signed-off-by: Greg Kurz --- drivers/vhost/vhost.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Michael, The vhost_is_little_endian() helper adds unconditionnal overhead to fixed endian architectures: that is all architectures except arm and ppc64. This was

[PATCH 2/3] vhost: add support for legacy virtio

2015-02-20 Thread Greg Kurz
Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com --- drivers/vhost/vhost.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Michael, The vhost_is_little_endian() helper adds unconditionnal overhead to fixed endian architectures: that is all architectures except arm