mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
b9dfed787d
Move together sections which are conditionaly executed depending on whether -device will be used together with the -drive.
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 468404ad-d49c-40f2-9e14-02294f9c1be3 \
|
|
-nographic \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-test/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline \
|
|
-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,copy-on-read=on \
|
|
-device virtio-blk-pci,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 \
|
|
-device virtio-net-pci,tx=bh,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,\
|
|
addr=0x3 \
|
|
-net user,vlan=0,name=hostnet0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|