mirror of https://gitee.com/openkylin/libvirt.git
37 lines
1.2 KiB
Plaintext
37 lines
1.2 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 \
|
|
-machine pc,accel=tcg,usb=off,dump-guest-core=off \
|
|
-m 214 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
-display none \
|
|
-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-shutdown \
|
|
-no-acpi \
|
|
-usb \
|
|
-drive file=/some/block/device/unit:0:0:1,if=none,id=drive-ide0-0-1,\
|
|
media=cdrom,readonly=on \
|
|
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
|
|
-drive file=iscsi://iscsi.example.com:3260/demo-target/2,if=none,\
|
|
id=drive-ide0-0-2,media=cdrom,readonly=on \
|
|
-device ide-drive,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \
|
|
-drive file=/tmp/idedisk.img,format=raw,if=none,id=drive-ide0-0-3 \
|
|
-device ide-drive,bus=ide.0,unit=3,drive=drive-ide0-0-3,id=ide0-0-3,\
|
|
bootindex=1 \
|
|
-drive file=iscsi://iscsi.example.com:3260/demo-target/3,if=none,\
|
|
id=drive-ide0-0-4,media=cdrom,readonly=on \
|
|
-device ide-drive,bus=ide.0,unit=4,drive=drive-ide0-0-4,id=ide0-0-4 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|