qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] vhost: cross-endian support
@ 2015-06-17 13:23 Greg Kurz
  2015-06-17 13:23 ` [Qemu-devel] [PATCH 1/6] linux-headers: sync vhost.h Greg Kurz
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Greg Kurz @ 2015-06-17 13:23 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Cornelia Huck, Thomas Huth, qemu-devel, Stefan Hajnoczi,
	Jason Wang

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-06-19  9:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-17 13:23 [Qemu-devel] [PATCH 0/6] vhost: cross-endian support Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 1/6] linux-headers: sync vhost.h Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 2/6] virtio: introduce virtio_legacy_is_cross_endian() Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 3/6] vhost: set vring endianness for legacy virtio Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 4/6] tap: add VNET_LE/VNET_BE operations Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 5/6] vhost-net: tell tap backend about the vnet endianness Greg Kurz
2015-06-19  9:16   ` Thomas Huth
2015-06-19  9:45     ` Greg Kurz
2015-06-17 13:23 ` [Qemu-devel] [PATCH 6/6] vhost_net: re-enable when cross endian Greg Kurz
2015-06-17 15:10 ` [Qemu-devel] [PATCH 0/6] vhost: cross-endian support Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).