summaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorLaurent Vivier2013-07-02 15:04:12 +0200
committerRiku Voipio2013-07-05 14:45:40 +0200
commit7ff7b666186a86f0121e6e7db6784222cefe22a2 (patch)
tree2964e8f4f315cafed504359f22f440f182908d5a /Makefile.target
parentlinux-user: handle /proc/$$ like /proc/self (diff)
downloadqemu-7ff7b666186a86f0121e6e7db6784222cefe22a2.tar.gz
qemu-7ff7b666186a86f0121e6e7db6784222cefe22a2.tar.xz
qemu-7ff7b666186a86f0121e6e7db6784222cefe22a2.zip
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>
Diffstat (limited to 'Makefile.target')
0 files changed, 0 insertions, 0 deletions