search for: vnet_le

Displaying 18 results from an estimated 18 matches for "vnet_le".

2015 Apr 21
2
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
On Tue, Apr 21, 2015 at 06:22:20PM +0200, Greg Kurz wrote: > On Tue, 21 Apr 2015 16:06:33 +0200 > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > > > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > > > that are always little-endian. It can also be used to handle the special > > > case of a legacy little-endian device implemented by a big-endian host. > > > > > > Let's add a flag and ioctls for...
2015 Apr 21
2
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
On Tue, Apr 21, 2015 at 06:22:20PM +0200, Greg Kurz wrote: > On Tue, 21 Apr 2015 16:06:33 +0200 > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > > > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > > > that are always little-endian. It can also be used to handle the special > > > case of a legacy little-endian device implemented by a big-endian host. > > > > > > Let's add a flag and ioctls for...
2015 Apr 21
2
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > that are always little-endian. It can also be used to handle the special > case of a legacy little-endian device implemented by a big-endian host. > > Let's add a flag and ioctls for big-endian devices as well. If both fla...
2015 Apr 21
2
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > that are always little-endian. It can also be used to handle the special > case of a legacy little-endian device implemented by a big-endian host. > > Let's add a flag and ioctls for big-endian devices as well. If both fla...
2015 Apr 22
0
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
...wrote: > On Tue, Apr 21, 2015 at 06:22:20PM +0200, Greg Kurz wrote: > > On Tue, 21 Apr 2015 16:06:33 +0200 > > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > > > On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > > > > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > > > > that are always little-endian. It can also be used to handle the special > > > > case of a legacy little-endian device implemented by a big-endian host. > > > > > > > > Let's add a...
2014 Dec 11
3
[PULL] virtio: virtio 1.0 support, misc patches
...witch to __get/__put_user exclusively vhost: virtio 1.0 endian-ness support vhost/net: virtio 1.0 byte swap vhost/net: larger header for virtio 1.0 vhost/net: enable virtio 1.0 tun: move internal flag defines out of uapi tun: drop most type defines tun: add VNET_LE flag tun: TUN_VNET_LE support, fix sparse warnings for virtio headers macvtap: TUN_VNET_LE support virtio_scsi: v1.0 support virtio_scsi: move to uapi virtio_scsi: export to userspace vhost/scsi: partial virtio 1.0 support af_packet: virtio 1.0 stubs...
2014 Dec 11
3
[PULL] virtio: virtio 1.0 support, misc patches
...witch to __get/__put_user exclusively vhost: virtio 1.0 endian-ness support vhost/net: virtio 1.0 byte swap vhost/net: larger header for virtio 1.0 vhost/net: enable virtio 1.0 tun: move internal flag defines out of uapi tun: drop most type defines tun: add VNET_LE flag tun: TUN_VNET_LE support, fix sparse warnings for virtio headers macvtap: TUN_VNET_LE support virtio_scsi: v1.0 support virtio_scsi: move to uapi virtio_scsi: export to userspace vhost/scsi: partial virtio 1.0 support af_packet: virtio 1.0 stubs...
2015 Apr 10
0
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers that are always little-endian. It can also be used to handle the special case of a legacy little-endian device implemented by a big-endian host. Let's add a flag and ioctls for big-endian devices as well. If both flags are set, little-e...
2015 Apr 24
0
[PATCH v6 8/8] macvtap/tun: cross-endian support for little-endian hosts
The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers that are always little-endian. It can also be used to handle the special case of a legacy little-endian device implemented by a big-endian host. Let's add a flag and ioctls for big-endian devices as well. If both flags are set, little-e...
2015 Apr 21
0
[PATCH v4 8/8] macvtap/tun: add VNET_BE flag
On Tue, 21 Apr 2015 16:06:33 +0200 "Michael S. Tsirkin" <mst at redhat.com> wrote: > On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > > The VNET_LE flag was introduced to fix accesses to virtio 1.0 headers > > that are always little-endian. It can also be used to handle the special > > case of a legacy little-endian device implemented by a big-endian host. > > > > Let's add a flag and ioctls for big-endian devices...
2015 Apr 24
27
[PATCH v6 0/8] vhost: support for cross endian guests
Only cosmetic and documentation changes since v5. --- Greg Kurz (8): 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
2015 Apr 24
27
[PATCH v6 0/8] vhost: support for cross endian guests
Only cosmetic and documentation changes since v5. --- Greg Kurz (8): 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
2015 May 06
9
[PATCH RFC 0/7] vhost: cross-endian support (vhost-net only)
...ml Please comment. --- C?dric Le Goater (1): vhost_net: re-enable when cross endian Greg Kurz (6): virtio: relax feature check 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 ++++++++++ incl...
2015 May 06
9
[PATCH RFC 0/7] vhost: cross-endian support (vhost-net only)
...ml Please comment. --- C?dric Le Goater (1): vhost_net: re-enable when cross endian Greg Kurz (6): virtio: relax feature check 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 ++++++++++ incl...
2015 Apr 10
16
[PATCH v4 0/8] vhost: support for cross endian guests
Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. Patch 7 got rewritten according to Cornelia's and Michael's comments. I have also introduced patch 8 that brings BE vnet headers support to tun/macvtap. This series is enough to have vhost_net working flawlessly. I could succesfully reboot guests from ppc64 to ppc64le and
2015 Apr 10
16
[PATCH v4 0/8] vhost: support for cross endian guests
Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. Patch 7 got rewritten according to Cornelia's and Michael's comments. I have also introduced patch 8 that brings BE vnet headers support to tun/macvtap. This series is enough to have vhost_net working flawlessly. I could succesfully reboot guests from ppc64 to ppc64le and
2015 Apr 23
16
[PATCH v5 0/8] vhost: support for cross endian guests
Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. It is compatible with modern virtio and can be fully compiled out through kernel config. FWIW, I could flawlessly kexec/reboot guests from ppc64 to ppc64le and back. I could also migrate from a ppc64 to a ppc64le host and back. No regressions on x86 as expected. My experimental QEMU tree
2015 Apr 23
16
[PATCH v5 0/8] vhost: support for cross endian guests
Hi, This patchset allows vhost to be used with legacy virtio when guest and host have a different endianness. It is compatible with modern virtio and can be fully compiled out through kernel config. FWIW, I could flawlessly kexec/reboot guests from ppc64 to ppc64le and back. I could also migrate from a ppc64 to a ppc64le host and back. No regressions on x86 as expected. My experimental QEMU tree