2017-03-09 15:38:56 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu-system-x86_64 \
|
|
|
|
-name guest \
|
|
|
|
-S \
|
2018-03-29 10:51:55 +00:00
|
|
|
-machine q35,accel=tcg,usb=off,dump-guest-core=off \
|
2017-03-09 15:38:56 +00:00
|
|
|
-cpu Haswell \
|
|
|
|
-m 1024 \
|
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e8b \
|
2018-03-29 10:51:55 +00:00
|
|
|
-display none \
|
2018-03-29 10:51:55 +00:00
|
|
|
-no-user-config \
|
2017-03-09 15:38:56 +00:00
|
|
|
-nodefaults \
|
2017-06-26 14:40:39 +00:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-guest/monitor.sock,\
|
|
|
|
server,nowait \
|
2018-03-28 22:04:58 +00:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2018-03-29 10:51:55 +00:00
|
|
|
-rtc base=utc \
|
2018-03-29 10:51:55 +00:00
|
|
|
-no-shutdown \
|
2017-03-09 15:38:56 +00:00
|
|
|
-boot c \
|
|
|
|
-kernel /var/lib/libvirt/images/guest.vmlinuz \
|
|
|
|
-initrd /var/lib/libvirt/images/guest.initramfs \
|
|
|
|
-append 'rw root=/dev/vda rootwait'
|