[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/6] vhost: cross-endian support
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH 0/6] vhost: cross-endian support |
Date: |
Wed, 17 Jun 2015 17:10:50 +0200 |
On Wed, Jun 17, 2015 at 03:23:24PM +0200, Greg Kurz wrote:
> 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.
Seems minor enough, I've applied this.
> ---
>
> 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
- [Qemu-devel] [PATCH 0/6] vhost: cross-endian support, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 3/6] vhost: set vring endianness for legacy virtio, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 5/6] vhost-net: tell tap backend about the vnet endianness, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 4/6] tap: add VNET_LE/VNET_BE operations, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 6/6] vhost_net: re-enable when cross endian, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 1/6] linux-headers: sync vhost.h, Greg Kurz, 2015/06/17
- [Qemu-devel] [PATCH 2/6] virtio: introduce virtio_legacy_is_cross_endian(), Greg Kurz, 2015/06/17
- Re: [Qemu-devel] [PATCH 0/6] vhost: cross-endian support,
Michael S. Tsirkin <=