qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/6] vhost: cross-endian support


From: Greg Kurz
Subject: [Qemu-devel] [PATCH 0/6] vhost: cross-endian support
Date: Wed, 17 Jun 2015 15:23:24 +0200
User-agent: StGit/0.17.1-dirty

Hi,

This series brings initial enablement in vhost to support legacy virtio
devices when host and guest have different endianness (for example, ppc64
versus ppc64le).

Only vhost_net is fully enabled at the moment... I haven't looked at
vhost_scsi yet.

It is basically the same patch set I had sent last month:

https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00780.html

... without the "virtio: relax feature check" patch since QEMU now
supports 64-bit features.

Some kernel support is needed, already available in Michael's vhost-next
branch at:

https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git

Please review.

---

Cédric Le Goater (1):
      vhost_net: re-enable when cross endian

Greg Kurz (5):
      linux-headers: sync vhost.h
      virtio: introduce virtio_legacy_is_cross_endian()
      vhost: set vring endianness for legacy virtio
      tap: add VNET_LE/VNET_BE operations
      vhost-net: tell tap backend about the vnet endianness


 hw/net/vhost_net.c                |   50 +++++++++++++++++++++++--------------
 hw/virtio/vhost.c                 |   50 ++++++++++++++++++++++++++++++++++++-
 include/hw/virtio/virtio-access.h |   13 ++++++++++
 include/net/net.h                 |    6 ++++
 linux-headers/linux/vhost.h       |   14 ++++++++++
 net/net.c                         |   18 +++++++++++++
 net/tap-linux.c                   |   34 +++++++++++++++++++++++++
 net/tap-linux.h                   |    2 +
 net/tap.c                         |   16 ++++++++++++
 net/tap_int.h                     |    2 +
 10 files changed, 185 insertions(+), 20 deletions(-)

--
Greg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]