diff options
author | SeokYeon Hwang <syeon.hwang@samsung.com> | 2015-11-10 22:09:17 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2015-11-10 22:09:17 +0900 |
commit | be6540fef422bf5d63edf0a53d2e94c41ff173e6 (patch) | |
tree | cc3b8a89971601eb039fe97f6b7f99203b5babb5 /net | |
parent | 7aafbd24cca1d5b83677ac467f82fbc370577533 (diff) | |
parent | 32d24131b2d1d98384b96c80f6cd3482550dc68a (diff) | |
download | qemu-be6540fef422bf5d63edf0a53d2e94c41ff173e6.tar.gz qemu-be6540fef422bf5d63edf0a53d2e94c41ff173e6.tar.bz2 qemu-be6540fef422bf5d63edf0a53d2e94c41ff173e6.zip |
Merge tag 'v2.4.1' into tizen_3.0_develop
v2.4.1
Change-Id: I8d62d785e1d693dc2ce29ddc3bdaf4e5ad30da61
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -517,20 +517,28 @@ void qemu_set_vnet_hdr_len(NetClientState *nc, int len) int qemu_set_vnet_le(NetClientState *nc, bool is_le) { +#ifdef HOST_WORDS_BIGENDIAN if (!nc || !nc->info->set_vnet_le) { return -ENOSYS; } return nc->info->set_vnet_le(nc, is_le); +#else + return 0; +#endif } int qemu_set_vnet_be(NetClientState *nc, bool is_be) { +#ifdef HOST_WORDS_BIGENDIAN + return 0; +#else if (!nc || !nc->info->set_vnet_be) { return -ENOSYS; } return nc->info->set_vnet_be(nc, is_be); +#endif } int qemu_can_send_packet(NetClientState *sender) |