mach-virt-serial-usb.args 832 字节
Newer Older
1 2 3 4 5 6 7 8 9
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
/usr/bin/qemu-system-aarch64 \
-name guest \
-S \
10
-machine virt,accel=tcg,dump-guest-core=off \
11 12 13
-m 512 \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \
J
Ján Tomko 已提交
14
-display none \
15
-no-user-config \
16 17 18
-nodefaults \
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-guest/monitor.sock,\
server,nowait \
19
-mon chardev=charmonitor,id=monitor,mode=control \
J
Ján Tomko 已提交
20
-rtc base=utc \
21
-no-shutdown \
22 23 24 25 26 27 28 29
-no-acpi \
-boot c \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,\
addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device qemu-xhci,id=usb,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device usb-serial,chardev=charserial0,id=serial0,bus=usb.0,port=1