2017-10-20 14:48:14 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
2019-03-06 12:29:01 +00:00
|
|
|
HOME=/tmp/lib/domain--1-gentoo \
|
2017-10-20 14:48:14 +00:00
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
2019-03-08 11:15:07 +00:00
|
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-gentoo/.local/share \
|
|
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-gentoo/.cache \
|
|
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-gentoo/.config \
|
2017-10-20 14:48:14 +00:00
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu-system-x86_64 \
|
2021-08-10 14:39:38 +00:00
|
|
|
-name guest=gentoo,debug-threads=on \
|
2017-10-20 14:48:14 +00:00
|
|
|
-S \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-gentoo/master-key.aes \
|
2022-01-05 10:52:04 +00:00
|
|
|
-machine pc,usb=off,dump-guest-core=off \
|
2021-11-05 08:38:10 +00:00
|
|
|
-accel kvm \
|
2017-10-20 14:48:14 +00:00
|
|
|
-m 4096 \
|
2022-02-10 11:57:26 +00:00
|
|
|
-overcommit mem-lock=off \
|
2017-10-20 14:48:14 +00:00
|
|
|
-smp 4,sockets=4,cores=1,threads=1 \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object memory-backend-file,id=ram-node0,mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object memory-backend-file,id=ram-node1,mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object memory-backend-file,id=ram-node2,mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object memory-backend-file,id=ram-node3,mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
|
|
|
-uuid a75aca4b-a02f-2bcb-4a91-c93cd848c34b \
|
2018-03-29 10:51:55 +00:00
|
|
|
-no-user-config \
|
2017-10-20 14:48:14 +00:00
|
|
|
-nodefaults \
|
2022-02-03 12:31:28 +00:00
|
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
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-10-20 14:48:14 +00:00
|
|
|
-global PIIX4_PM.disable_s3=0 \
|
|
|
|
-global PIIX4_PM.disable_s4=0 \
|
2021-09-20 14:22:59 +00:00
|
|
|
-boot strict=on \
|
2017-10-20 14:48:14 +00:00
|
|
|
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x8 \
|
2019-01-15 15:50:22 +00:00
|
|
|
-usb \
|
2018-03-23 13:24:14 +00:00
|
|
|
-device usb-ccid,id=ua-myCCID,bus=ua-SomeWeirdController.0,port=1 \
|
|
|
|
-device usb-ccid,id=ua-myCCID2,bus=ua-SomeWeirdController.0,port=2 \
|
2021-03-31 08:46:36 +00:00
|
|
|
-drive file=/var/lib/libvirt/images/fd.img,format=raw,if=none,id=drive-ua-myDisk1,cache=none \
|
|
|
|
-drive file=/var/lib/libvirt/images/gentoo.qcow2,format=qcow2,if=none,id=drive-ua-myDisk2 \
|
|
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-ua-myDisk2,id=ua-myDisk2,bootindex=1 \
|
|
|
|
-object secret,id=ua-myEncryptedDisk1-encryption-secret0,data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
|
|
|
-drive file=/var/lib/libvirt/images/OtherDemo.img,encrypt.format=luks,encrypt.key-secret=ua-myEncryptedDisk1-encryption-secret0,format=qcow2,if=none,id=drive-ua-myEncryptedDisk1 \
|
|
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x7,drive=drive-ua-myEncryptedDisk1,id=ua-myEncryptedDisk1 \
|
|
|
|
-drive file=/home/zippy/tmp/install-amd64-minimal-20140619.iso,format=raw,if=none,id=drive-ua-WhatAnAwesomeCDROM,readonly=on,cache=none \
|
|
|
|
-device ide-cd,bus=ide.1,unit=0,drive=drive-ua-WhatAnAwesomeCDROM,id=ua-WhatAnAwesomeCDROM,bootindex=2 \
|
2018-08-09 11:50:22 +00:00
|
|
|
-global isa-fdc.driveA=drive-ua-myDisk1 \
|
2022-05-09 14:16:35 +00:00
|
|
|
-netdev tap,fd=3,vhost=on,vhostfd=44,id=hostua-CheckoutThisNIC \
|
2021-03-31 08:46:36 +00:00
|
|
|
-device virtio-net-pci,netdev=hostua-CheckoutThisNIC,id=ua-CheckoutThisNIC,mac=52:54:00:d6:c0:0b,bus=pci.0,addr=0x3 \
|
2018-03-28 21:36:13 +00:00
|
|
|
-netdev socket,listen=127.0.0.1:1234,id=hostua-WeCanAlsoDoServerMode \
|
2021-03-31 08:46:36 +00:00
|
|
|
-device rtl8139,netdev=hostua-WeCanAlsoDoServerMode,id=ua-WeCanAlsoDoServerMode,mac=52:54:00:22:c9:42,bus=pci.0,addr=0x9 \
|
2018-03-28 21:36:13 +00:00
|
|
|
-netdev socket,connect=127.0.0.1:1234,id=hostua-AndAlsoClientMode \
|
2021-03-31 08:46:36 +00:00
|
|
|
-device rtl8139,netdev=hostua-AndAlsoClientMode,id=ua-AndAlsoClientMode,mac=52:54:00:8c:b1:f8,bus=pci.0,addr=0xa \
|
2018-03-23 13:24:14 +00:00
|
|
|
-device ccid-card-emulated,backend=nss-emulated,id=smartcard0,bus=ua-myCCID.0 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-chardev pty,id=charserial0 \
|
2022-01-13 07:33:41 +00:00
|
|
|
-device isa-serial,chardev=charserial0,id=serial0,index=0 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-chardev pty,id=charserial1 \
|
2022-01-13 07:33:41 +00:00
|
|
|
-device isa-serial,chardev=charserial1,id=serial1,index=1 \
|
2022-02-03 12:31:28 +00:00
|
|
|
-chardev socket,id=charchannel0,fd=1729,server=on,wait=off \
|
2021-03-31 08:46:36 +00:00
|
|
|
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-vnc 127.0.0.1:0 \
|
2021-03-30 15:48:46 +00:00
|
|
|
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
|
2017-10-20 14:48:14 +00:00
|
|
|
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
|
|
|
|
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
|
2021-08-10 15:07:10 +00:00
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 \
|
|
|
|
-msg timestamp=on
|