When I try TAP Interface the qemu, the VM freezes, not sure why. But with -netdev user
it doesn't freeze but can't connect to the VM at all.
I tested using ESXi
and Centos 7
both VM freezes when using Tap
interface. Centos 7
VM starts fine but when restarting eth0
the VM freezes and doesn't recover. ESXi
freezes during loading when using Tap
interrace.
I used openVPN to create a Tap interface on windows 10, renamed the interface to Ethernet7 and used the following command when running Qemu
VM.
-netdev tap,ifname=Ethernet7,script=no,downscript=no,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=DE:AD:BE:EF:16:B6
I downloaded the latest Windows version of Qemu from qemu.org