mirror of https://gitee.com/openkylin/libvirt.git
30 lines
900 B
Plaintext
30 lines
900 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name test \
|
|
-S \
|
|
-M pc-0.13 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 92d7a226-cfae-425b-a6d3-00bbf9ec5c9e \
|
|
-nographic \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-test/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-no-acpi \
|
|
-boot dc \
|
|
-usb \
|
|
-drive file=/var/lib/libvirt/images/f14.img,format=qcow2,if=none,\
|
|
id=drive-virtio-disk0,discard=unmap \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
|
|
id=drive-ide0-1-0,media=cdrom,readonly=on,discard=ignore \
|
|
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|