These two small patches add a VHOST_VRING_F_BYTESWAP flag to the 
vring which will be used by the kernel to byteswap the different 
vring indexes.

The kernel patchset can be found on the kvm@ and kvm-ppc@ mailing 
lists.

Cédric Le Goater (2):
  vhost: add VHOST_VRING_F_BYTESWAP flag
  vhost_net: re-enable when cross endian

 hw/net/vhost_net.c          |   19 -------------------
 hw/virtio/vhost.c           |   25 ++++++++++++++++++++++++-
 include/hw/virtio/vhost.h   |    1 +
 linux-headers/linux/vhost.h |    3 +++
 4 files changed, 28 insertions(+), 20 deletions(-)

-- 
1.7.10.4


Reply via email to