Laurent Vivier 7ff7b66618 linux-user: add SIOCADDRT/SIOCDELRT support
This allows to pass the device name.

You can test this with the "route" command.

WITHOUT this patch:

$ sudo route add -net default gw 10.0.3.1 eth0
SIOCADDRT: Bad address
$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Ifa
10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 eth

WITH this patch:

$ sudo route add -net default gw 10.0.3.1 eth0
$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Ifa
0.0.0.0         10.0.3.1        0.0.0.0         UG        0 0          0 eth
10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 eth

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2013-07-05 15:45:40 +03:00
2013-06-27 02:38:35 +02:00
2013-06-28 14:01:52 -05:00
2013-05-28 12:19:02 +02:00
2013-07-01 01:11:17 +02:00
2013-06-11 23:45:43 +04:00
2013-06-28 09:20:27 +02:00
2013-06-15 17:50:21 +00:00
2013-06-20 16:39:52 +02:00
2013-06-06 11:27:05 +02:00
2013-07-01 01:11:14 +02:00
2013-06-14 15:33:10 +01:00
2013-06-21 22:52:50 +04:00
2013-06-06 11:27:05 +02:00
2013-06-06 11:27:05 +02:00
2013-06-27 02:38:36 +02:00
2013-06-28 14:02:14 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%