nix machine / user configurations
at terra 8.8 kB view raw
1<domain type='kvm'> 2 <name>win11</name> 3 <uuid>92ad85b8-9635-48ed-9abb-697e58f0c569</uuid> 4 <metadata> 5 <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> 6 <libosinfo:os id="http://microsoft.com/win/11"/> 7 </libosinfo:libosinfo> 8 </metadata> 9 <memory unit='KiB'>8388608</memory> 10 <currentMemory unit='KiB'>8388608</currentMemory> 11 <memoryBacking> 12 <source type='memfd'/> 13 <access mode='shared'/> 14 </memoryBacking> 15 <vcpu placement='static'>8</vcpu> 16 <os> 17 <type arch='x86_64' machine='pc-q35-8.1'>hvm</type> 18 <loader readonly='yes' type='pflash'>/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader> 19 <nvram template='/run/libvirt/nix-ovmf/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram> 20 <boot dev='hd'/> 21 </os> 22 <features> 23 <acpi/> 24 <apic/> 25 <hyperv mode='custom'> 26 <relaxed state='on'/> 27 <vapic state='on'/> 28 <spinlocks state='on' retries='8191'/> 29 </hyperv> 30 <vmport state='off'/> 31 </features> 32 <cpu mode='host-passthrough' check='none' migratable='on'/> 33 <clock offset='localtime'> 34 <timer name='rtc' tickpolicy='catchup'/> 35 <timer name='pit' tickpolicy='delay'/> 36 <timer name='hpet' present='no'/> 37 <timer name='hypervclock' present='yes'/> 38 </clock> 39 <on_poweroff>destroy</on_poweroff> 40 <on_reboot>restart</on_reboot> 41 <on_crash>destroy</on_crash> 42 <pm> 43 <suspend-to-mem enabled='no'/> 44 <suspend-to-disk enabled='no'/> 45 </pm> 46 <devices> 47 <emulator>/run/libvirt/nix-emulators/qemu-system-x86_64</emulator> 48 <disk type='file' device='disk'> 49 <driver name='qemu' type='qcow2'/> 50 <source file='/persist/home/patriot/disks/win11.qcow2'/> 51 <target dev='sda' bus='sata'/> 52 <address type='drive' controller='0' bus='0' target='0' unit='0'/> 53 </disk> 54 <controller type='usb' index='0' model='qemu-xhci' ports='15'> 55 <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> 56 </controller> 57 <controller type='pci' index='0' model='pcie-root'/> 58 <controller type='pci' index='1' model='pcie-root-port'> 59 <model name='pcie-root-port'/> 60 <target chassis='1' port='0x10'/> 61 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> 62 </controller> 63 <controller type='pci' index='2' model='pcie-root-port'> 64 <model name='pcie-root-port'/> 65 <target chassis='2' port='0x11'/> 66 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> 67 </controller> 68 <controller type='pci' index='3' model='pcie-root-port'> 69 <model name='pcie-root-port'/> 70 <target chassis='3' port='0x12'/> 71 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> 72 </controller> 73 <controller type='pci' index='4' model='pcie-root-port'> 74 <model name='pcie-root-port'/> 75 <target chassis='4' port='0x13'/> 76 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> 77 </controller> 78 <controller type='pci' index='5' model='pcie-root-port'> 79 <model name='pcie-root-port'/> 80 <target chassis='5' port='0x14'/> 81 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> 82 </controller> 83 <controller type='pci' index='6' model='pcie-root-port'> 84 <model name='pcie-root-port'/> 85 <target chassis='6' port='0x15'/> 86 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> 87 </controller> 88 <controller type='pci' index='7' model='pcie-root-port'> 89 <model name='pcie-root-port'/> 90 <target chassis='7' port='0x16'/> 91 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> 92 </controller> 93 <controller type='pci' index='8' model='pcie-root-port'> 94 <model name='pcie-root-port'/> 95 <target chassis='8' port='0x17'/> 96 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> 97 </controller> 98 <controller type='pci' index='9' model='pcie-root-port'> 99 <model name='pcie-root-port'/> 100 <target chassis='9' port='0x18'/> 101 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> 102 </controller> 103 <controller type='pci' index='10' model='pcie-root-port'> 104 <model name='pcie-root-port'/> 105 <target chassis='10' port='0x19'/> 106 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> 107 </controller> 108 <controller type='pci' index='11' model='pcie-root-port'> 109 <model name='pcie-root-port'/> 110 <target chassis='11' port='0x1a'/> 111 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> 112 </controller> 113 <controller type='pci' index='12' model='pcie-root-port'> 114 <model name='pcie-root-port'/> 115 <target chassis='12' port='0x1b'/> 116 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> 117 </controller> 118 <controller type='pci' index='13' model='pcie-root-port'> 119 <model name='pcie-root-port'/> 120 <target chassis='13' port='0x1c'/> 121 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/> 122 </controller> 123 <controller type='pci' index='14' model='pcie-root-port'> 124 <model name='pcie-root-port'/> 125 <target chassis='14' port='0x1d'/> 126 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> 127 </controller> 128 <controller type='pci' index='15' model='pcie-root-port'> 129 <model name='pcie-root-port'/> 130 <target chassis='15' port='0x1e'/> 131 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/> 132 </controller> 133 <controller type='pci' index='16' model='pcie-to-pci-bridge'> 134 <model name='pcie-pci-bridge'/> 135 <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> 136 </controller> 137 <controller type='sata' index='0'> 138 <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> 139 </controller> 140 <controller type='virtio-serial' index='0'> 141 <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> 142 </controller> 143 <filesystem type='mount' accessmode='passthrough'> 144 <driver type='virtiofs'/> 145 <binary path='/run/current-system/sw/bin/virtiofsd'/> 146 <source dir='/home/patriot/Downloads'/> 147 <target dir='linux_downloads'/> 148 <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> 149 </filesystem> 150 <interface type='network'> 151 <mac address='52:54:00:9a:7b:db'/> 152 <source network='default'/> 153 <model type='e1000e'/> 154 <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> 155 </interface> 156 <serial type='pty'> 157 <target type='isa-serial' port='0'> 158 <model name='isa-serial'/> 159 </target> 160 </serial> 161 <console type='pty'> 162 <target type='serial' port='0'/> 163 </console> 164 <channel type='spicevmc'> 165 <target type='virtio' name='com.redhat.spice.0'/> 166 <address type='virtio-serial' controller='0' bus='0' port='1'/> 167 </channel> 168 <input type='mouse' bus='virtio'> 169 <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> 170 </input> 171 <input type='keyboard' bus='virtio'> 172 <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> 173 </input> 174 <input type='mouse' bus='ps2'/> 175 <input type='keyboard' bus='ps2'/> 176 <tpm model='tpm-crb'> 177 <backend type='emulator' version='2.0'/> 178 </tpm> 179 <graphics type='spice' autoport='yes'> 180 <listen type='address'/> 181 <image compression='off'/> 182 <gl enable='no'/> 183 </graphics> 184 <sound model='ich9'> 185 <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> 186 </sound> 187 <audio id='1' type='spice'/> 188 <video> 189 <model type='vga' vram='16384' heads='1' primary='yes'/> 190 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> 191 </video> 192 <hostdev mode='subsystem' type='pci' managed='yes'> 193 <source> 194 <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> 195 </source> 196 <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> 197 </hostdev> 198 <redirdev bus='usb' type='spicevmc'> 199 <address type='usb' bus='0' port='2'/> 200 </redirdev> 201 <redirdev bus='usb' type='spicevmc'> 202 <address type='usb' bus='0' port='3'/> 203 </redirdev> 204 <watchdog model='itco' action='reset'/> 205 <memballoon model='none'/> 206 <shmem name='looking-glass'> 207 <model type='ivshmem-plain'/> 208 <size unit='M'>32</size> 209 <address type='pci' domain='0x0000' bus='0x10' slot='0x01' function='0x0'/> 210 </shmem> 211 </devices> 212</domain> 213