Re: [RFC PATCH 1/4] vhost: add VHOST_VRING_F_BYTESWAP flag

2014-11-03 Thread Michael S. Tsirkin
On Wed, Oct 29, 2014 at 09:38:42AM +0100, Cédric Le Goater wrote: The VHOST_VRING_F_BYTESWAP flag will be used by the host to byteswap the vring data when the guest and the host have a different endian order. Signed-off-by: Cédric Le Goater c...@fr.ibm.com I don't think it's a good API. You

[RFC PATCH 1/4] vhost: add VHOST_VRING_F_BYTESWAP flag

2014-10-29 Thread Cédric Le Goater
The VHOST_VRING_F_BYTESWAP flag will be used by the host to byteswap the vring data when the guest and the host have a different endian order. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- drivers/vhost/vhost.c |5 - drivers/vhost/vhost.h |1 +