2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
2019-03-08 19:15:07 +08:00
|
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-QEMUGuest1/.local/share \
|
|
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-QEMUGuest1/.cache \
|
|
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
|
2015-11-06 21:20:06 +08:00
|
|
|
QEMU_AUDIO_DRV=none \
|
2017-04-07 00:19:48 +08:00
|
|
|
/usr/bin/qemu-system-x86_64 \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name QEMUGuest1 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
2018-03-29 18:51:55 +08:00
|
|
|
-machine pc-1.2,accel=kvm,usb=off,dump-guest-core=off \
|
2015-11-06 21:20:06 +08:00
|
|
|
-m 1024 \
|
2016-06-23 19:29:16 +08:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
2015-11-06 22:29:52 +08:00
|
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
2018-03-29 18:51:55 +08:00
|
|
|
-display none \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-user-config \
|
2015-11-06 21:20:06 +08:00
|
|
|
-nodefaults \
|
2017-06-26 22:40:39 +08:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest1/monitor.sock,\
|
|
|
|
server,nowait \
|
2018-03-29 06:04:58 +08:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2018-03-29 18:51:55 +08:00
|
|
|
-rtc base=utc \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-shutdown \
|
2015-11-06 21:20:06 +08:00
|
|
|
-usb \
|
2018-07-19 19:46:05 +08:00
|
|
|
-drive file=ftp://host.name:21/url/path/file.iso,format=raw,if=none,\
|
2019-01-28 21:44:57 +08:00
|
|
|
id=drive-ide0-0-0,readonly=on \
|
|
|
|
-device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
2018-07-19 19:46:05 +08:00
|
|
|
-drive file=ftps://host.name:990/url/path/file.iso,format=raw,if=none,\
|
2019-01-28 21:44:57 +08:00
|
|
|
id=drive-ide0-0-1,readonly=on \
|
|
|
|
-device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=https://host.name:443/url/path/file.iso,format=raw,if=none,\
|
2019-01-28 21:44:57 +08:00
|
|
|
id=drive-ide0-1-0,readonly=on \
|
|
|
|
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
|
2018-07-19 19:46:05 +08:00
|
|
|
-drive file=tftp://host.name:69/url/path/file.iso,format=raw,if=none,\
|
2019-01-28 21:44:57 +08:00
|
|
|
id=drive-ide0-1-1,readonly=on \
|
|
|
|
-device ide-cd,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 \
|
2013-09-17 01:12:51 +08:00
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|