mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
e117bf642b
Most of the qemuargv2xml tests are parsing old style qemu command lines (with -disk, -serial, etc), and it gets its input from qemuxml2argv output. But since we've raise the minimum supported qemu version to 0.12.0, which supports -device, once that changes propagates through libvirt the vast majority of qemuxml2argv output is _not_ going to be using old style qemu options. In preparation for this, switch qemuargv2xml to use its own copies of input and output, so it's not tied to qemuxml2argv results. This is just a straight copy of the current tests.
21 lines
443 B
Plaintext
21 lines
443 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-s390x \
|
|
-name QEMUGuest1 \
|
|
-S \
|
|
-machine s390-ccw-virtio,accel=tcg,aes-key-wrap=on \
|
|
-m 214 \
|
|
-smp 1 \
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
-nographic \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/test-monitor,server,nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=virtio,index=0,\
|
|
id=drive-virtio-disk0
|