Changeset d4b7b29 in mainline
- Timestamp:
- 2018-07-30T20:15:38Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bb136b2
- Parents:
- 2965d18
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-30 20:02:16)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-30 20:15:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
r2965d18 rd4b7b29 138 138 139 139 def qemu_nic_ne2k_options(): 140 return ' -device ne2k_isa,irq=5, vlan=0'140 return ' -device ne2k_isa,irq=5,netdev=n1' 141 141 142 142 def qemu_nic_e1k_options(): 143 return ' -device e1000, vlan=0'143 return ' -device e1000,netdev=n1' 144 144 145 145 def qemu_nic_rtl8139_options(): 146 return ' -device rtl8139, vlan=0'146 return ' -device rtl8139,netdev=n1' 147 147 148 148 def qemu_nic_virtio_options(): 149 return ' -device virtio-net, vlan=0'149 return ' -device virtio-net,netdev=n1' 150 150 151 151 def qemu_net_options(): … … 167 167 nic_options += qemu_nic_e1k_options() 168 168 169 return nic_options + ' -net user,hostfwd=udp::8080-:8080,hostfwd=udp::8081-:8081,hostfwd=tcp::8080-:8080,hostfwd=tcp::8081-:8081,hostfwd=tcp::2223-:2223'169 return nic_options + ' -netdev user,id=n1,hostfwd=udp::8080-:8080,hostfwd=udp::8081-:8081,hostfwd=tcp::8080-:8080,hostfwd=tcp::8081-:8081,hostfwd=tcp::2223-:2223' 170 170 171 171 def qemu_usb_options():
Note:
See TracChangeset
for help on using the changeset viewer.