mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-04 01:36:10 -04:00
Correct options for Qemu networking
This commit is contained in:
parent
86386f134d
commit
53892b4aa5
2
Makefile
2
Makefile
@ -41,7 +41,7 @@ thor.flp: hdd.img bootloader/stage1.bin bootloader/stage2.bin kernel/kernel.bin
|
|||||||
|
|
||||||
qemu: default
|
qemu: default
|
||||||
touch virtual.log
|
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)"
|
echo "Reading kernel log (Ctrl+C for exit)"
|
||||||
tail -f virtual.log
|
tail -f virtual.log
|
||||||
kill %1
|
kill %1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user