mirror of https://gitee.com/openkylin/libvirt.git
32 lines
807 B
Plaintext
32 lines
807 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-arm \
|
|
-name armtest \
|
|
-S \
|
|
-M vexpress-a9 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e6a \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-armtest/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-boot c \
|
|
-kernel /arm.kernel \
|
|
-initrd /arm.initrd \
|
|
-append 'console=ttyAMA0,\
|
|
115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0' \
|
|
-dtb /arm.dtb \
|
|
-usb \
|
|
-drive file=/arm.raw,format=raw,if=sd,index=0 \
|
|
-net nic,macaddr=52:54:00:09:a4:37,vlan=0,model=lan9118,name=net0 \
|
|
-net user,vlan=0,name=hostnet0 \
|
|
-chardev pty,id=charserial0 \
|
|
-serial chardev:charserial0
|