mirror of https://gitee.com/openkylin/libvirt.git
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
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 8c273d77-39b0-47c4-9714-6dddcad56b88 \
|
|
-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 \
|
|
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
|
|
-usb \
|
|
-drive file=/var/lib/libvirt/images/f14.img,format=qcow2,if=none,\
|
|
id=drive-virtio-disk0 \
|
|
-device virtio-blk-pci,ioeventfd=on,scsi=off,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 \
|
|
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
|
|
-netdev user,id=hostnet0 \
|
|
-device virtio-net-pci,tx=bh,ioeventfd=off,netdev=hostnet0,id=net0,\
|
|
mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|