mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
877bc08947
In the past we automatically added a USB controller and assigned
it a PCI address (0:0:1.2) even on machines without a PCI bus.
This didn't break machines with no PCI bus because the command
line for it is just '-usb', with no mention of the PCI bus.
The implicit IDE controller (reserved address 0:0:1.1) has
no command line at all.
Commit b33eb0dc
removed the ability to reserve PCI addresses
on machines without a PCI bus. This made them stop working,
since there would always be the implicit USB controller.
Skip the reservation of addresses for these controllers when
there is no PCI bus, instead of failing.
12 lines
654 B
Plaintext
12 lines
654 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
|
/usr/bin/qemu-system-s390x -S -M s390-virtio -m 214 -smp 1 -nographic \
|
|
-nodefconfig -nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/test-monitor,server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline -no-acpi \
|
|
-device virtio-serial-s390,id=virtio-serial0 -usb -drive \
|
|
file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0 \
|
|
-device virtio-blk-s390,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
|
|
-chardev pty,id=charconsole0 \
|
|
-device virtconsole,chardev=charconsole0,id=console0 \
|
|
-object rng-random,id=rng0,filename=/dev/hwrng -device virtio-rng-s390,rng=rng0
|