mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
47b6829edc
All qemu versions now support FD passing either directly or via FDset. Assume that we always have this capability so that we can simplify chardev handling in many cases. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-armtest \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-armtest/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-armtest/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-armtest/.config \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-arm \
|
|
-name guest=armtest,debug-threads=on \
|
|
-S \
|
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-armtest/master-key.aes \
|
|
-machine vexpress-a9,usb=off,dump-guest-core=off \
|
|
-accel tcg \
|
|
-m 1024 \
|
|
-realtime mlock=off \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e6a \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-boot strict=on \
|
|
-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 \
|
|
-netdev user,id=hostnet0 \
|
|
-net nic,macaddr=52:54:00:09:a4:37,netdev=hostnet0,model=lan9118,id=net0 \
|
|
-chardev pty,id=charserial0 \
|
|
-serial chardev:charserial0 \
|
|
-msg timestamp=on
|