Skip to content

Commit 42bd681

Browse files
committed
added make-iso.sh
1 parent 3e7e573 commit 42bd681

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

run-qemu.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
set -eux
44

5-
qemu-system-x86_64 -kernel ./build-dir/linux-kernel/linux-6.9/arch/x86/boot/bzImage -initrd rootfs.cpio.gz --append "console=ttyS0 init=/init" -nographic # -icount 10,align=on
5+
qemu-system-x86_64 -enable-kvm -kernel ./build-dir/linux-kernel/linux-6.9/arch/x86/boot/bzImage -initrd rootfs.cpio.gz --append "console=ttyS0 init=/init ip=192.168.10.2:192.168.10.1:192.168.10.1:255.255.255.0::eth0:off" -nographic \
6+
-netdev tap,id=net0,ifname=tap-ssh-node-0,script=no,downscript=no\
7+
-device e1000,netdev=net0
8+
9+
# -icount 10,align=on
610

711
# Example: Record the output terminal of the bootup:
812
# timeout --preserve-status 20 script -c ./run-qemu.sh output.log

0 commit comments

Comments
 (0)