mirror of https://gitee.com/openkylin/libvirt.git
30 lines
825 B
Plaintext
30 lines
825 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-aarch64 \
|
|
-name aarch64-vgpu \
|
|
-S \
|
|
-M virt \
|
|
-cpu cortex-a57 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid f3197c89-6457-44fe-b26d-897090ba6541 \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,\
|
|
path=/tmp/lib/domain--1-aarch64-vgpu/monitor.sock,server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline \
|
|
-no-acpi \
|
|
-device ioh3420,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,\
|
|
addr=0x1 \
|
|
-device ioh3420,port=0x9,chassis=2,id=pci.2,bus=pcie.0,multifunction=on,\
|
|
addr=0x1.0x1 \
|
|
-device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:73:34:53,bus=pci.1,addr=0x0,\
|
|
bootindex=1 \
|
|
-net user,vlan=0,name=hostnet0 \
|
|
-device virtio-gpu-pci,id=video0,bus=pci.2,addr=0x0
|