All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] vhost_net: support for cross endian guests
@ 2015-02-20 10:07 Greg Kurz
  2015-02-20 10:07 ` [PATCH 1/3] vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag Greg Kurz
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Greg Kurz @ 2015-02-20 10:07 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: Cedric Le Goater, linux-kernel, kvm, virtualization

Hi,

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:

https://www.mail-archive.com/kvm-ppc@vger.kernel.org/msg09848.html

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 VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
      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(-)

--
Greg

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/3] vhost_net: support for cross endian guests
@ 2015-02-20 10:07 Greg Kurz
  0 siblings, 0 replies; 15+ messages in thread
From: Greg Kurz @ 2015-02-20 10:07 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: Cedric Le Goater, linux-kernel, kvm, virtualization

Hi,

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:

https://www.mail-archive.com/kvm-ppc@vger.kernel.org/msg09848.html

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 VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
      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(-)

--
Greg

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

end of thread, other threads:[~2015-02-23 13:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-20 10:07 [PATCH 0/3] vhost_net: support for cross endian guests Greg Kurz
2015-02-20 10:07 ` [PATCH 1/3] vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag Greg Kurz
2015-02-22  9:51   ` Michael S. Tsirkin
2015-02-22  9:51   ` Michael S. Tsirkin
2015-02-20 10:14 ` [PATCH 2/3] vhost: add support for legacy virtio Greg Kurz
2015-02-22  9:48   ` Michael S. Tsirkin
2015-02-22  9:48   ` Michael S. Tsirkin
2015-02-20 10:14 ` Greg Kurz
2015-02-20 10:15 ` [PATCH 3/3] vhost_net: fix virtio_net header endianness Greg Kurz
2015-02-22  9:46   ` Michael S. Tsirkin
2015-02-20 10:15 ` Greg Kurz
2015-02-22  9:53 ` [PATCH 0/3] vhost_net: support for cross endian guests Michael S. Tsirkin
2015-02-23 13:24   ` Greg Kurz
2015-02-23 13:24     ` Greg Kurz
  -- strict thread matches above, loose matches on Subject: below --
2015-02-20 10:07 Greg Kurz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.