mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
ce1ee02a25
As with other devices assign the slot number right away when adding the device. This will make the slot numbers static as we do with other addressing elements and it will ultimately simplify allocation of the alias in a static way which does not break with qemu.
29 lines
799 B
Plaintext
29 lines
799 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,addr=0x2
|