mirror of https://gitee.com/openkylin/libvirt.git
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-i686 \
|
|
-name QEMUGuest1 \
|
|
-S \
|
|
-M pc \
|
|
-m 214 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
-nographic \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest1/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-acpi \
|
|
-boot c \
|
|
-usb \
|
|
-drive file=gluster://example.org:6000/Volume1/Image,file.debug=4,format=raw,\
|
|
if=none,id=drive-virtio-disk0 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-drive 'file=gluster+unix:///Volume2/Image?socket=/path/to/sock,file.debug=4,\
|
|
format=raw,if=none,id=drive-virtio-disk1' \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,\
|
|
id=virtio-disk1 \
|
|
-drive file.driver=gluster,file.volume=Volume3,file.path=Image.qcow2,\
|
|
file.server.0.type=tcp,file.server.0.host=example.org,file.server.0.port=6000,\
|
|
file.server.1.type=tcp,file.server.1.host=example.org,file.server.1.port=24007,\
|
|
file.server.2.type=unix,file.server.2.socket=/path/to/sock,file.debug=4,\
|
|
format=qcow2,if=none,id=drive-virtio-disk2 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk2,\
|
|
id=virtio-disk2
|