From b45185d2a439802d6bf2cd0b0a8b0cd4cfea1b53 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 31 Aug 2023 08:39:02 +0100 Subject: Add tap0 to qemu. Add kernel config for 5.15.113 --- create_installroot/boot_qemu.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'create_installroot') diff --git a/create_installroot/boot_qemu.sh b/create_installroot/boot_qemu.sh index d7f527b..d14b102 100755 --- a/create_installroot/boot_qemu.sh +++ b/create_installroot/boot_qemu.sh @@ -2,9 +2,10 @@ qemu-system-x86_64 \ -kernel bootfs/vmlinuz-xos \ -hda xos_image.img \ - -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \ + -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH ip=192.168.4.66" \ -serial stdio -display none \ - -m 256 + -m 256 \ + -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device e1000,netdev=mynet0,mac=52:55:00:d1:55:01 #qemu-system-x86_64 -drive format=raw,file=xos_image.img -m 128 #qemu-system-x86_64 \ -- cgit v1.2.3