diff --git a/VirtualMachine.pro.user b/VirtualMachine.pro.user index 5b21731..324f593 100644 --- a/VirtualMachine.pro.user +++ b/VirtualMachine.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/qemu.cpp b/qemu.cpp index 3fa118e..1811f8d 100644 --- a/qemu.cpp +++ b/qemu.cpp @@ -72,7 +72,7 @@ int qemu::Start(bool unShown){ if(Command().GetCommand("arch").replace("\n", "").replace(" ", "") == "x86_64"){ return system(("kvm " + commandOption + " &").toLatin1()); } - return system(("qemu-system-x86_64 " + commandOption + " &").toLatin1()); + return system(("qemu-system-x86_64 -nic model=rtl8139 " + commandOption + " &").toLatin1()); } int qemu::Stop(){ system("killall qemu-system-x86_64 -9");