Re: [Qemu-devel] [PATCH v2 1/3] linux-user: add rtnetlink(7) support

2016-06-14 Thread Laurent Vivier
Le 14/06/2016 à 11:34, Peter Maydell a écrit : > On 22 May 2016 at 17:56, Laurent Vivier wrote: >> rtnetlink is needed to use iproute package (ip addr, ip route) >> and dhcp client. >> >> +static abi_long target_to_host_for_each_nlmsg(struct nlmsghdr *nlh, >> +

Re: [Qemu-devel] [PATCH v2 1/3] linux-user: add rtnetlink(7) support

2016-06-14 Thread Peter Maydell
On 22 May 2016 at 17:56, Laurent Vivier wrote: > rtnetlink is needed to use iproute package (ip addr, ip route) > and dhcp client. > > +static abi_long target_to_host_for_each_nlmsg(struct nlmsghdr *nlh, > + size_t len, > +

[Qemu-devel] [PATCH v2 1/3] linux-user: add rtnetlink(7) support

2016-05-22 Thread Laurent Vivier
rtnetlink is needed to use iproute package (ip addr, ip route) and dhcp client. Examples: Without this patch: # ip link Cannot open netlink socket: Address family not supported by protocol # ip addr Cannot open netlink socket: Address family not supported by protocol # ip rout