lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150407175443-mutt-send-email-mst@redhat.com>
Date:	Tue, 7 Apr 2015 17:55:08 +0200
From:	"Michael S. Tsirkin" <mst@...hat.com>
To:	Greg Kurz <gkurz@...ux.vnet.ibm.com>
Cc:	Rusty Russell <rusty@...tcorp.com.au>, linux-api@...r.kernel.org,
	linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
	virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH v3 0/7] vhost: support for cross endian guests

On Tue, Apr 07, 2015 at 02:09:29PM +0200, Greg Kurz wrote:
> Hi,
> 
> This patchset allows vhost to be used with legacy virtio when guest and host
> have a different endianness.
> 
> Patches 1-6 remain the same as the previous post. Patch 7 was heavily changed
> according to MST's comments.

This still doesn't actually work, right?
tun and macvtap need new ioctls too ...

> ---
> 
> Greg Kurz (7):
>       virtio: introduce virtio_is_little_endian() helper
>       tun: add tun_is_little_endian() helper
>       macvtap: introduce macvtap_is_little_endian() helper
>       vringh: introduce vringh_is_little_endian() helper
>       vhost: introduce vhost_is_little_endian() helper
>       virtio: add explicit big-endian support to memory accessors
>       vhost: feature to set the vring endianness
> 
> 
>  drivers/net/macvtap.c            |   11 ++++++--
>  drivers/net/tun.c                |   11 ++++++--
>  drivers/vhost/Kconfig            |   10 +++++++
>  drivers/vhost/vhost.c            |   55 ++++++++++++++++++++++++++++++++++++++
>  drivers/vhost/vhost.h            |   34 +++++++++++++++++++----
>  include/linux/virtio_byteorder.h |   24 ++++++++++-------
>  include/linux/virtio_config.h    |   19 +++++++++----
>  include/linux/vringh.h           |   19 +++++++++----
>  include/uapi/linux/vhost.h       |    5 +++
>  9 files changed, 156 insertions(+), 32 deletions(-)
> 
> --
> Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ