vhost-user: support cross-endian vnet headers
commitba28889838e6bdce540f30892d547cf634c1b0cd
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Feb 2019 17:35:51 +0000 (14 18:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Feb 2019 17:28:01 +0000 (21 12:28 -0500)
tree0fcb44577297a373477ab7782ecf9e5d2264e08e
parent18658a3ced71e0fb23a0ef80ef0bbf1a9cbb7a2b
vhost-user: support cross-endian vnet headers

vhost-user already has a way to communicate the endianness of the guest
via the vring endianness messages.  The vring endianness always matches
the vnet header endianness so there is no need to do anything else in
the backend.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1543851204-41186-9-git-send-email-pbonzini@redhat.com>
Message-Id: <1550165756-21617-5-git-send-email-pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-user.c