mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
3a37af1e41
virQEMUCapsHasPCIMultiBus() performs a version check on the QEMU binary to figure out whether multiple buses are supported, so to get the correct aliases assigned when dealing with pSeries guests we need to spoof the version accordingly in the test suite.
29 lines
801 B
Plaintext
29 lines
801 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-ppc64 \
|
|
-name QEMUGuest1 \
|
|
-S \
|
|
-M pseries \
|
|
-m size=1310720k,slots=16,maxmem=4194304k \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-object memory-backend-ram,id=memdimm0,size=536870912 \
|
|
-device pc-dimm,memdev=memdimm0,id=dimm0,slot=0 \
|
|
-object memory-backend-ram,id=memdimm1,size=536870912 \
|
|
-device pc-dimm,memdev=memdimm1,id=dimm1,slot=1 \
|
|
-uuid 49545eb3-75e1-2d0a-acdd-f0294406c99e \
|
|
-nographic \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-kernel /media/ram/uImage \
|
|
-initrd /media/ram/ramdisk \
|
|
-append 'root=/dev/ram rw console=ttyS0,115200' \
|
|
-usb \
|
|
-serial pty \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
|