mirror of https://gitee.com/openkylin/libvirt.git
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-i686 \
|
|
-name QEMUGuest2 \
|
|
-S \
|
|
-object secret,id=masterKey0,format=raw,\
|
|
file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
|
|
-M pc \
|
|
-m 214 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid c7a5fdbd-edaf-9466-926a-d65c16db1809 \
|
|
-nographic \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest2/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-no-acpi \
|
|
-boot c \
|
|
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 \
|
|
-usb \
|
|
-object secret,id=virtio-disk0-secret0,\
|
|
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
|
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
|
-drive file.driver=iscsi,file.portal=example.org:6000,\
|
|
file.target=iqn.1992-01.com.example:storage,file.lun=1,file.transport=tcp,\
|
|
file.user=myname,file.password-secret=virtio-disk0-secret0,format=raw,if=none,\
|
|
id=drive-virtio-disk0 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-object secret,id=hostdev0-secret0,\
|
|
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
|
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
|
-drive file.driver=iscsi,file.portal=example.org:6000,\
|
|
file.target=iqn.1992-01.com.example:storage,file.lun=2,file.transport=tcp,\
|
|
file.user=myname,file.password-secret=hostdev0-secret0,if=none,format=raw,\
|
|
id=drive-hostdev0 \
|
|
-device scsi-generic,bus=scsi0.0,channel=0,scsi-id=0,lun=0,\
|
|
drive=drive-hostdev0,id=hostdev0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|