qemuxml2argv-disk-cdrom-network-ftp.args 592 字节
Newer Older
1 2 3 4 5 6 7
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
/usr/bin/kvm \
8
-name QEMUGuest1 \
9 10 11
-S \
-M pc-1.2 \
-m 1024 \
12
-smp 1,sockets=1,cores=1,threads=1 \
13
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
14 15
-nographic \
-nodefaults \
16
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
17 18
-boot d \
-usb \
19 20
-drive file=ftp://host.name:21/url/path/file.iso,format=raw,if=none,\
media=cdrom,id=drive-ide0-1-0,readonly=on \
21 22
-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