[dev][e1000] add an atomic counter to number the e1000s found

This commit is contained in:
Travis Geiselbrecht
2022-01-11 00:15:10 -08:00
parent 18330c5948
commit f3a337789c
2 changed files with 32 additions and 17 deletions

View File

@@ -113,8 +113,8 @@ if (( $DO_NET )); then
if (( ! $DO_NET_TAP )); then
ARGS+=" -netdev user,id=vmnic,hostname=qemu"
# quick note to enable tap interface
# IFNAME=qemu
# BRIDGE=br0
# IFNAME=qemu0
# BRIDGE=bridge0
# sudo tunctl -u $(whoami) -t ${IFNAME}
# sudo ifconfig ${IFNAME} up
# sudo ip link set ${IFNAME} master ${BRIDGE}