mirror of https://gitee.com/openkylin/libvirt.git
15 lines
711 B
Plaintext
15 lines
711 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
|
/usr/bin/qemu-system-ppc64 \
|
|
-S -M pseries -m 512 -smp 1 -nographic -nodefconfig -nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/test-monitor,server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline -no-acpi -boot c \
|
|
-device spapr-vscsi,id=scsi0,reg=0x2000 \
|
|
-device spapr-vscsi,id=scsi1,reg=0x3000 \
|
|
-usb -drive file=/tmp/scsidisk.img,if=none,id=drive-scsi1-0-0-0 \
|
|
-device scsi-disk,bus=scsi1.0,channel=0,scsi-id=0,lun=0,\
|
|
drive=drive-scsi1-0-0-0,id=scsi1-0-0-0 \
|
|
-chardev pty,id=charserial0 \
|
|
-device spapr-vty,chardev=charserial0,reg=0x30000000 \
|
|
-chardev pty,id=charserial1 \
|
|
-device spapr-vty,chardev=charserial1,reg=0x30001000
|