From e73d89fd48a71a1cff764fc07edd46cb951e9418 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 23 Sep 2018 00:06:55 +0200 Subject: struggling with e1000 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f852009..78696d5 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,7 @@ run-qemu-debug: all # qemu -enable-kvm -s -singlestep disk.img # qemu-system-i386 -enable-kvm -s -S -kernel foolos.img -smp 4 -initrd userspace/ext2.img echo XDOTOOL HACK...&& sleep 0.2 && xdotool search --name "QEMU" windowsize 100 100 && echo XDOTOOL HACK END. & - qemu-system-i386 -s -S $(FOOLOS_ISO) -smp 4 -serial stdio #-enable-kvm -smp 1 + qemu-system-i386 -s -S $(FOOLOS_ISO) -smp 4 -serial stdio #-enable-kvm -smp 1 monitor: echo XDOTOOL HACK...&& sleep 0.2 && xdotool search --name "QEMU" windowsize 100 100 && echo XDOTOOL HACK END. & qemu-system-i386 -s -S $(FOOLOS_ISO) -smp 4 -monitor stdio # -serial stdio #-enable-kvm -smp 1 @@ -250,3 +250,8 @@ doxygen: clean ## headers ## list_headers: find asm/ driver/ fs/ kernel/ lib/ -iname *.h -exec basename {} \; | sort | uniq -c + +#qemu-system-i386 -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -enable-kvm fool-os-i386.iso -smp 4 -serial stdio +#sudo tunctl -t tap0 -u miguel +qemu-22: + qemu-system-i386 -s -enable-kvm fool-os-i386.iso -smp 4 -serial stdio -net user,hostfwd=tcp::10022-:22 -net nic -net dump,file=./netfool -- cgit v1.2.3