Skip to content

Instantly share code, notes, and snippets.

@edp1096
Created September 26, 2019 07:33
Show Gist options
  • Save edp1096/99b84d761920789bba3bc21d5f1923a7 to your computer and use it in GitHub Desktop.
Save edp1096/99b84d761920789bba3bc21d5f1923a7 to your computer and use it in GitHub Desktop.
REM tap+bridge cause blue screen
REM https://wiki.qemu.org/Documentation/Networking
REM using tap
REM start qemu-system-x86_64w.exe -vga std -nic tap,id=n0,ifname=tap0,script=no,downscript=no -boot c -m 2G -hda images/freebsd-11.3.qcow2 -smp sockets=1,cores=2
REM not using tap
start qemu-system-x86_64w.exe -vga std -device rtl8139,netdev=n0 -netdev user,id=n0,hostfwd=tcp::2222-:22,hostfwd=tcp::8080-:80 -boot c -m 2G -hda images/freebsd-11.3.qcow2 -smp sockets=1,cores=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment