-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqemu.sh
executable file
·18 lines (18 loc) · 1.08 KB
/
qemu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
qemu-system-x86_64 \
-M pc \
-cpu pentium \
-smp sockets=1,cores=1,threads=1 \
-m 256 \
-vga std \
-device ac97 \
-netdev user,id=n0 \
-device rtl8139,netdev=n0 \
-accel tcg,thread=multi,tb-size=2048 \
-boot d \
-cdrom build/*.iso \
-chardev stdio,id=char0,logfile=serial.log,signal=off \
-serial chardev:char0 \
-fda floppy.img \
-drive id=disk,file=harddisk.img,if=none \
-device ide-hd,drive=disk,bus=ide.0