qemu-e2k/contrib/ivshmem-server
Marc-André Lureau f7a199b2b4 ivshmem: use little-endian int64_t for the protocol
The current ivshmem protocol uses 'long' for integers. But the
sizeof(long) depends on the host and the endianess is not defined, which
may cause portability troubles.

Instead, switch to using little-endian int64_t. This breaks the
protocol, except on x64 little-endian host where this change
should be compatible.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
2015-10-26 10:19:53 +01:00
..
ivshmem-server.c ivshmem: use little-endian int64_t for the protocol 2015-10-26 10:19:53 +01:00
ivshmem-server.h ivshmem: use little-endian int64_t for the protocol 2015-10-26 10:19:53 +01:00
main.c contrib: remove unnecessary strdup() 2015-10-24 18:03:18 +02:00
Makefile.objs