mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
e114b09157
Support for SMP topology was added by qemu commit dc6b1c09849484fbbc50 prior to 0.12.0, our minimum supported qemu version. $ git describe --tags dc6b1c09849484fbbc50803307e4c7a3d81eab62 v0.11.0-rc0-449-gdc6b1c0 $ git describe --tags --contains dc6b1c09849484fbbc50803307e4c7a3d81eab v0.12.0-rc0~1477
28 lines
758 B
Plaintext
28 lines
758 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-aarch64 \
|
|
-name armtest \
|
|
-S \
|
|
-M virt \
|
|
-cpu host,aarch64=off \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e6a \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-armtest/monitor.sock,server,nowait \
|
|
-boot c \
|
|
-kernel /arm.kernel \
|
|
-initrd /arm.initrd \
|
|
-append 'console=ttyAMA0,115200n8 rw root=/dev/vda rootwait physmap.enabled=0' \
|
|
-drive file=/arm.raw,format=raw,if=none,id=drive-virtio-disk0 \
|
|
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
|
|
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
|
|
-net user,vlan=0,name=hostnet0 \
|
|
-serial pty
|