From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>, Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH 1/2] linux-user: add netlink CARRIER_UP_COUNT/CARRIER_DOWN_COUNT
Date: Wed, 27 Jun 2018 23:21:51 +0200 [thread overview]
Message-ID: <20180627212152.26525-2-laurent@vivier.eu> (raw)
In-Reply-To: <20180627212152.26525-1-laurent@vivier.eu>
Error is reported with libuv test suite:
not ok 311 - udp_multicast_interface6
# exit code 134
# Output from process `udp_multicast_interface6`:
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 2117fb13b4..4460f1e39a 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2522,6 +2522,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
case QEMU_IFLA_NUM_VF:
case QEMU_IFLA_GSO_MAX_SEGS:
case QEMU_IFLA_GSO_MAX_SIZE:
+ case QEMU_IFLA_CARRIER_UP_COUNT:
+ case QEMU_IFLA_CARRIER_DOWN_COUNT:
u32 = RTA_DATA(rtattr);
*u32 = tswap32(*u32);
break;
--
2.14.4
next prev parent reply other threads:[~2018-06-27 21:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-27 21:21 [Qemu-devel] [PATCH 0/2] linux-user: minor fixes Laurent Vivier
2018-06-27 21:21 ` Laurent Vivier [this message]
2018-06-28 14:16 ` [Qemu-devel] [PATCH 1/2] linux-user: add netlink CARRIER_UP_COUNT/CARRIER_DOWN_COUNT Philippe Mathieu-Daudé
2018-06-27 21:21 ` [Qemu-devel] [PATCH 2/2] linux-user: update do_setsockopt() Laurent Vivier
2018-06-28 14:18 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180627212152.26525-2-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).