2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu-system-aarch64 \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name aarch64test \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
|
|
|
-machine virt,accel=tcg,gic-version=3 \
|
|
|
|
-cpu cortex-a53 \
|
|
|
|
-m 1024 \
|
|
|
|
-smp 1 \
|
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
|
|
|
-monitor unix:/tmp/test-monitor,server,nowait \
|
|
|
|
-boot c \
|
|
|
|
-kernel /aarch64.kernel \
|
|
|
|
-initrd /aarch64.initrd \
|
|
|
|
-append console=ttyAMA0 \
|
|
|
|
-usb \
|
2015-09-30 19:04:11 +08:00
|
|
|
-net nic,macaddr=52:54:00:09:a4:37,vlan=0,model=virtio,name=net0 \
|
|
|
|
-net user,vlan=0,name=hostnet0
|