mirror of https://gitee.com/openkylin/qemu.git
linux-user: netlink: update IFLA entries
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> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211219154514.2165728-1-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
7a5626a1d8
commit
312aef98ae
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue