-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdomain.xml
More file actions
221 lines (209 loc) · 7.31 KB
/
Copy pathdomain.xml
File metadata and controls
221 lines (209 loc) · 7.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win11</name>
<uuid>a142c160-6de1-4e64-a3d1-79d0357e2670</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/11"/>
</libosinfo:libosinfo>
</metadata>
<sysinfo type='smbios'>
<bios>
<entry name='vendor'>American Megatrends Inc.</entry>
</bios>
<system>
<entry name='manufacturer'>ASRock</entry>
<entry name='product'>X570 Taichi Razer Edition</entry>
<entry name='version'>1.0</entry>
<entry name='serial'>Default string</entry>
<entry name='family'>X570</entry>
</system>
<baseBoard>
<entry name='manufacturer'>ASRock</entry>
<entry name='product'>X570 Taichi Razer Edition</entry>
<entry name='serial'>M80-CK032100456</entry>
</baseBoard>
</sysinfo>
<memory unit='GiB'>64</memory>
<currentMemory unit='GiB'>64</currentMemory>
<memoryBacking>
<hugepages/>
<source type='memfd'/>
<access mode='shared'/>
</memoryBacking>
<vcpu placement='static'>32</vcpu>
<iothreads>2</iothreads>
<cputune>
<!-- CCD0: cores 0-7 (threads 0-7 + 16-23) -->
<vcpupin vcpu='0' cpuset='0'/>
<vcpupin vcpu='1' cpuset='16'/>
<vcpupin vcpu='2' cpuset='1'/>
<vcpupin vcpu='3' cpuset='17'/>
<vcpupin vcpu='4' cpuset='2'/>
<vcpupin vcpu='5' cpuset='18'/>
<vcpupin vcpu='6' cpuset='3'/>
<vcpupin vcpu='7' cpuset='19'/>
<vcpupin vcpu='8' cpuset='4'/>
<vcpupin vcpu='9' cpuset='20'/>
<vcpupin vcpu='10' cpuset='5'/>
<vcpupin vcpu='11' cpuset='21'/>
<vcpupin vcpu='12' cpuset='6'/>
<vcpupin vcpu='13' cpuset='22'/>
<vcpupin vcpu='14' cpuset='7'/>
<vcpupin vcpu='15' cpuset='23'/>
<!-- CCD1: cores 8-15 (threads 8-15 + 24-31) -->
<vcpupin vcpu='16' cpuset='8'/>
<vcpupin vcpu='17' cpuset='24'/>
<vcpupin vcpu='18' cpuset='9'/>
<vcpupin vcpu='19' cpuset='25'/>
<vcpupin vcpu='20' cpuset='10'/>
<vcpupin vcpu='21' cpuset='26'/>
<vcpupin vcpu='22' cpuset='11'/>
<vcpupin vcpu='23' cpuset='27'/>
<vcpupin vcpu='24' cpuset='12'/>
<vcpupin vcpu='25' cpuset='28'/>
<vcpupin vcpu='26' cpuset='13'/>
<vcpupin vcpu='27' cpuset='29'/>
<vcpupin vcpu='28' cpuset='14'/>
<vcpupin vcpu='29' cpuset='30'/>
<vcpupin vcpu='30' cpuset='15'/>
<vcpupin vcpu='31' cpuset='31'/>
<emulatorpin cpuset='0,16'/>
<iothreadpin iothread='1' cpuset='0,16'/>
<iothreadpin iothread='2' cpuset='0,16'/>
</cputune>
<os firmware='efi' smbios='sysinfo'>
<type arch='x86_64' machine='pc-q35-9.2'>hvm</type>
<firmware>
<feature enabled='yes' name='enrolled-keys'/>
<feature enabled='yes' name='secure-boot'/>
</firmware>
<loader readonly='yes' secure='yes' type='pflash' format='qcow2'>/usr/share/edk2/ovmf/OVMF_CODE_4M.secboot.qcow2</loader>
<nvram template='/usr/share/edk2/ovmf/OVMF_VARS_4M.secboot.qcow2'>/var/lib/libvirt/images/win11_VARS.fd</nvram>
<!-- Boot order definido con <boot order='N'/> en cada dispositivo -->
</os>
<features>
<acpi/>
<apic/>
<hyperv mode='custom'>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<runtime state='on'/>
<synic state='on'/>
<stimer state='on'>
<direct state='on'/>
</stimer>
<frequencies state='on'/>
<tlbflush state='on'/>
<ipi state='on'/>
<vendor_id state='on' value='AuthenticAMD'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<smm state='on'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='off'>
<topology sockets='1' dies='1' clusters='1' cores='16' threads='2'/>
<cache mode='passthrough'/>
<feature policy='require' name='topoext'/>
<feature policy='require' name='invtsc'/>
</cpu>
<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='hypervclock' present='yes'/>
<timer name='tsc' present='yes' mode='native'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<!-- Disco principal (io='native' + cache='none' para raw con O_DIRECT) -->
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none' io='native' discard='unmap'/>
<source file='/var/lib/libvirt/images/win11.raw'/>
<target dev='vda' bus='virtio'/>
<serial>WD-WMC4N0E1A2B3</serial>
<boot order='2'/>
</disk>
<!-- CDROM para ISO de Windows (instalacion) -->
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/windows.iso'/>
<target dev='sda' bus='sata'/>
<readonly/>
<boot order='1'/>
</disk>
<!-- CDROM para drivers VirtIO -->
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/virtio-win.iso'/>
<target dev='sdb' bus='sata'/>
<readonly/>
</disk>
<!-- ISO con autounattend.xml -->
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/win11_autounattend.iso'/>
<target dev='sdc' bus='sata'/>
<readonly/>
</disk>
<!-- ISO con drivers AMD -->
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/amd-drivers.iso'/>
<target dev='sdd' bus='sata'/>
<readonly/>
</disk>
<!-- Red virtio -->
<interface type='network'>
<source network='default'/>
<model type='virtio'/>
</interface>
<!-- Controlador SCSI virtio -->
<controller type='scsi' index='0' model='virtio-scsi'>
<driver iothread='1'/>
</controller>
<!-- TPM 2.0 (emulado con swtpm) -->
<tpm model='tpm-crb'>
<backend type='emulator' version='2.0'>
<active_pcr_banks>
<sha256/>
</active_pcr_banks>
</backend>
</tpm>
<!-- GPU RX 9070 XT - VGA (UEFI GOP directo, sin video emulado) -->
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x0f' slot='0x00' function='0x0'/>
</source>
<rom bar='on'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0' multifunction='on'/>
</hostdev>
<!-- GPU RX 9070 XT - HDMI/DP Audio -->
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x0f' slot='0x00' function='0x1'/>
</source>
<rom bar='on'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
</hostdev>
<!-- USB xHCI Controller (Razer mouse/keyboard, Arturia KeyLab, UGREEN BT, audio) -->
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x11' slot='0x00' function='0x3'/>
</source>
<rom bar='on'/>
</hostdev>
<!-- Memoria balloon desactivado (overhead innecesario con RAM fija) -->
<memballoon model='none'/>
</devices>
</domain>