linuxguest.xml (7564B)
1 <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> 2 <name>linux2022</name> 3 <uuid>b599a05e-4b28-491f-bfbd-a63f570edf67</uuid> 4 <metadata> 5 <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> 6 <libosinfo:os id="http://libosinfo.org/linux/2022"/> 7 </libosinfo:libosinfo> 8 </metadata> 9 <memory unit='KiB'>16777216</memory> 10 <currentMemory unit='KiB'>16777216</currentMemory> 11 <vcpu placement='static'>10</vcpu> 12 <sysinfo type='smbios'> 13 <bios> 14 <entry name='vendor'>American Megatrends Inc.</entry> 15 <entry name='version'>P1.60</entry> 16 </bios> 17 <system> 18 <entry name='manufacturer'>MSI</entry> 19 <entry name='product'>RNDMSTR</entry> 20 <entry name='version'>1.0</entry> 21 </system> 22 <baseBoard> 23 <entry name='manufacturer'>MSI</entry> 24 <entry name='product'>Z390</entry> 25 </baseBoard> 26 <chassis> 27 <entry name='manufacturer'>MSI</entry> 28 <entry name='version'>2.0</entry> 29 <entry name='serial'>RNDMSTR</entry> 30 <entry name='asset'>RNDMSTR</entry> 31 <entry name='sku'>RNDMSTR</entry> 32 </chassis> 33 </sysinfo> 34 <os firmware='efi'> 35 <type arch='x86_64' machine='pc-q35-9.0'>hvm</type> 36 <firmware> 37 <feature enabled='no' name='enrolled-keys'/> 38 <feature enabled='no' name='secure-boot'/> 39 </firmware> 40 <loader readonly='yes' type='pflash'>/usr/share/edk2/x64/OVMF_CODE.4m.fd</loader> 41 <nvram template='/usr/share/edk2/x64/OVMF_VARS.4m.fd'>/var/lib/libvirt/qemu/nvram/linux2022_VARS.fd</nvram> 42 <boot dev='hd'/> 43 <smbios mode='sysinfo'/> 44 </os> 45 <features> 46 <acpi/> 47 <apic/> 48 <vmport state='off'/> 49 </features> 50 <cpu mode='host-passthrough' check='none' migratable='on'> 51 <topology sockets='1' dies='1' clusters='1' cores='5' threads='2'/> 52 </cpu> 53 <clock offset='utc'> 54 <timer name='rtc' tickpolicy='catchup'/> 55 <timer name='pit' tickpolicy='delay'/> 56 <timer name='hpet' present='no'/> 57 </clock> 58 <on_poweroff>destroy</on_poweroff> 59 <on_reboot>restart</on_reboot> 60 <on_crash>destroy</on_crash> 61 <pm> 62 <suspend-to-mem enabled='no'/> 63 <suspend-to-disk enabled='no'/> 64 </pm> 65 <devices> 66 <emulator>/usr/bin/qemu-system-x86_64</emulator> 67 <disk type='file' device='disk'> 68 <driver name='qemu' type='qcow2' discard='unmap'/> 69 <source file='/var/lib/libvirt/images/linux2022.qcow2'/> 70 <target dev='vda' bus='virtio'/> 71 <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> 72 </disk> 73 <controller type='usb' index='0' model='qemu-xhci' ports='15'> 74 <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> 75 </controller> 76 <controller type='pci' index='0' model='pcie-root'/> 77 <controller type='pci' index='1' model='pcie-root-port'> 78 <model name='pcie-root-port'/> 79 <target chassis='1' port='0x10'/> 80 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> 81 </controller> 82 <controller type='pci' index='2' model='pcie-root-port'> 83 <model name='pcie-root-port'/> 84 <target chassis='2' port='0x11'/> 85 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> 86 </controller> 87 <controller type='pci' index='3' model='pcie-root-port'> 88 <model name='pcie-root-port'/> 89 <target chassis='3' port='0x12'/> 90 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> 91 </controller> 92 <controller type='pci' index='4' model='pcie-root-port'> 93 <model name='pcie-root-port'/> 94 <target chassis='4' port='0x13'/> 95 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> 96 </controller> 97 <controller type='pci' index='5' model='pcie-root-port'> 98 <model name='pcie-root-port'/> 99 <target chassis='5' port='0x14'/> 100 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> 101 </controller> 102 <controller type='pci' index='6' model='pcie-root-port'> 103 <model name='pcie-root-port'/> 104 <target chassis='6' port='0x15'/> 105 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> 106 </controller> 107 <controller type='pci' index='7' model='pcie-root-port'> 108 <model name='pcie-root-port'/> 109 <target chassis='7' port='0x16'/> 110 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> 111 </controller> 112 <controller type='pci' index='8' model='pcie-root-port'> 113 <model name='pcie-root-port'/> 114 <target chassis='8' port='0x17'/> 115 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/> 116 </controller> 117 <controller type='pci' index='9' model='pcie-root-port'> 118 <model name='pcie-root-port'/> 119 <target chassis='9' port='0x18'/> 120 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> 121 </controller> 122 <controller type='pci' index='10' model='pcie-root-port'> 123 <model name='pcie-root-port'/> 124 <target chassis='10' port='0x19'/> 125 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> 126 </controller> 127 <controller type='pci' index='11' model='pcie-root-port'> 128 <model name='pcie-root-port'/> 129 <target chassis='11' port='0x1a'/> 130 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> 131 </controller> 132 <controller type='pci' index='12' model='pcie-root-port'> 133 <model name='pcie-root-port'/> 134 <target chassis='12' port='0x1b'/> 135 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/> 136 </controller> 137 <controller type='pci' index='13' model='pcie-root-port'> 138 <model name='pcie-root-port'/> 139 <target chassis='13' port='0x1c'/> 140 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/> 141 </controller> 142 <controller type='pci' index='14' model='pcie-root-port'> 143 <model name='pcie-root-port'/> 144 <target chassis='14' port='0x1d'/> 145 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> 146 </controller> 147 <controller type='sata' index='0'> 148 <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> 149 </controller> 150 <interface type='network'> 151 <mac address='52:54:00:55:53:9a'/> 152 <source network='default'/> 153 <model type='virtio'/> 154 <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> 155 </interface> 156 <input type='mouse' bus='ps2'/> 157 <input type='keyboard' bus='ps2'/> 158 <graphics type='spice' autoport='yes'> 159 <listen type='address'/> 160 </graphics> 161 <graphics type='egl-headless'> 162 <gl rendernode='/dev/nvidia0'/> 163 </graphics> 164 <audio id='1' type='none'/> 165 <video> 166 <model type='virtio' heads='1' primary='yes'> 167 <acceleration accel3d='yes'/> 168 </model> 169 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> 170 </video> 171 <watchdog model='itco' action='reset'/> 172 <memballoon model='virtio'> 173 <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> 174 </memballoon> 175 </devices> 176 <qemu:commandline> 177 <qemu:arg value='-object'/> 178 <qemu:arg value='input-linux,id=mouse1,evdev=/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse'/> 179 <qemu:arg value='-object'/> 180 <qemu:arg value='input-linux,id=kbd1,evdev=/dev/input/by-id/usb-ROYUAN_Gaming_keyboard-event-kbd,grab_all=on,repeat=on'/> 181 </qemu:commandline> 182 </domain> 183