From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Subject: Re: [PATCH 1/3] linux-user: netlink: update IFLA entries
Date: Wed, 5 Jan 2022 11:29:45 +0100 [thread overview]
Message-ID: <e519748c-781d-304a-8c69-edd164a5d1a6@vivier.eu> (raw)
In-Reply-To: <20211219154514.2165728-1-laurent@vivier.eu>
Le 19/12/2021 à 16:45, Laurent Vivier a écrit :
> Add IFLA_PHYS_PORT_ID, IFLA_PARENT_DEV_NAME, IFLA_PARENT_DEV_BUS_NAME
>
> # QEMU_LOG=unimp ip a
> Unknown host QEMU_IFLA type: 56
> Unknown host QEMU_IFLA type: 57
> Unknown host QEMU_IFLA type: 34
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
> linux-user/fd-trans.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
> index 69410899590c..14c19a90b2b0 100644
> --- a/linux-user/fd-trans.c
> +++ b/linux-user/fd-trans.c
> @@ -138,6 +138,9 @@ enum {
> QEMU_IFLA_PROP_LIST,
> QEMU_IFLA_ALT_IFNAME,
> QEMU_IFLA_PERM_ADDRESS,
> + QEMU_IFLA_PROTO_DOWN_REASON,
> + QEMU_IFLA_PARENT_DEV_NAME,
> + QEMU_IFLA_PARENT_DEV_BUS_NAME,
> QEMU___IFLA_MAX
> };
>
> @@ -818,9 +821,12 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr)
> case QEMU_IFLA_ADDRESS:
> case QEMU_IFLA_BROADCAST:
> case QEMU_IFLA_PERM_ADDRESS:
> + case QEMU_IFLA_PHYS_PORT_ID:
> /* string */
> case QEMU_IFLA_IFNAME:
> case QEMU_IFLA_QDISC:
> + case QEMU_IFLA_PARENT_DEV_NAME:
> + case QEMU_IFLA_PARENT_DEV_BUS_NAME:
> break;
> /* uin8_t */
> case QEMU_IFLA_OPERSTATE:
Applied to my linux-user-for-7.0 branch.
Thanks,
Laurent
prev parent reply other threads:[~2022-01-05 10:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-19 15:45 [PATCH 1/3] linux-user: netlink: update IFLA entries Laurent Vivier
2021-12-19 15:45 ` [PATCH 2/3] linux-user: netlink: Add IFLA_VFINFO_LIST Laurent Vivier
2021-12-21 23:24 ` Richard Henderson
2022-01-05 10:29 ` Laurent Vivier
2021-12-19 15:45 ` [PATCH 3/3] linux-user: netlink: update IFLA_BRPORT entries Laurent Vivier
2021-12-21 23:25 ` Richard Henderson
2022-01-05 10:29 ` Laurent Vivier
2021-12-21 23:20 ` [PATCH 1/3] linux-user: netlink: update IFLA entries Richard Henderson
2022-01-05 10:29 ` Laurent Vivier [this message]
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=e519748c-781d-304a-8c69-edd164a5d1a6@vivier.eu \
--to=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/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).