From 53892b4aa529acb3f430ae1205e58d5608ea865b Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Mon, 4 Jul 2016 23:53:19 +0200 Subject: [PATCH] Correct options for Qemu networking --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1e77211..ab9806f5 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ thor.flp: hdd.img bootloader/stage1.bin bootloader/stage2.bin kernel/kernel.bin qemu: default touch virtual.log - qemu-system-x86_64 -enable-kvm -cpu host -serial file:virtual.log -net nic,vlan=0,model=rtl8139 -vga std -hda hdd.img & + sudo qemu-system-x86_64 -enable-kvm -cpu host -serial file:virtual.log -netdev tap,helper=/usr/libexec/qemu-bridge-helper,id=thor_net0 -device rtl8139,netdev=thor_net0,id=thor_nic0 -vga std -hda hdd.img & echo "Reading kernel log (Ctrl+C for exit)" tail -f virtual.log kill %1