Add qemu start script
This commit is contained in:
parent
8cb0795b72
commit
2398dea8e9
|
@ -0,0 +1,22 @@
|
||||||
|
# Options:
|
||||||
|
# -m Random Access Memory
|
||||||
|
# -cpu for cpu type
|
||||||
|
# -smp for core count
|
||||||
|
# -M q35 for sata bus
|
||||||
|
# -accel for acceleration
|
||||||
|
# -drive for disk/cdrom
|
||||||
|
# -boot for boot device:a-floppy,c-disk,fd-cdrom
|
||||||
|
# -vnc for vnc display
|
||||||
|
# -usb -device usb-tablet for fix mouse
|
||||||
|
cd /sdcard/0
|
||||||
|
# start qemu
|
||||||
|
qemu-system-x86_64 \
|
||||||
|
-m 768 \
|
||||||
|
-cpu max \
|
||||||
|
-accel tcg,thread=multi \
|
||||||
|
-drive file=Pagefile.vhd,media=disk \
|
||||||
|
-drive file=Cpp.vhd,media=disk \
|
||||||
|
-drive file=winXP-FS6.iso,media=cdrom \
|
||||||
|
-boot d \
|
||||||
|
-vnc :1 \
|
||||||
|
-usb -device usb-tablet
|
Loading…
Reference in New Issue