qemu/contrib/ivshmem-client
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-client.c ivshmem: use little-endian int64_t for the protocol 2015-10-26 10:19:53 +01:00
ivshmem-client.h ivshmem: use little-endian int64_t for the protocol 2015-10-26 10:19:53 +01:00
main.c ivshmem: use little-endian int64_t for the protocol 2015-10-26 10:19:53 +01:00
Makefile.objs contrib: add ivshmem client and server 2015-10-24 18:03:16 +02:00