[PATCH 0/3] vhost_net: support for cross endian guests

From: Greg Kurz
Date: Fri Feb 20 2015 - 05:07:35 EST


This patchset allows vhost_net to be used with legacy virtio
when guest and host have a different endianness. It is based
on previous work by CÃdric Le Goater:


As suggested by MST:
- the API now asks for a specific format (big endian) instead of the hint
whether byteswap is needed or not (patch 1)
- rebased on top of the virtio-1 accessors (patch 2)

Patch 3 is a separate fix: I think it is also valid for virtio-1.

Please comment.


Greg Kurz (3):
vhost: add support for legacy virtio
vhost_net: fix virtio_net header endianness

drivers/vhost/net.c | 32 ++++++++++++++++++++++++++------
drivers/vhost/vhost.c | 6 +++++-
drivers/vhost/vhost.h | 23 +++++++++++++++++------
include/uapi/linux/vhost.h | 2 ++
4 files changed, 50 insertions(+), 13 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/