Add TPM config for Windows 11
This commit is contained in:
parent
6c4a1d26e9
commit
e2d88a79c5
@ -1,4 +1,4 @@
|
|||||||
<domain type='kvm' id='22' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
<domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
||||||
<name>rift</name>
|
<name>rift</name>
|
||||||
<uuid>cfb2303a-a75e-4bcb-9adc-2f4d10c74c66</uuid>
|
<uuid>cfb2303a-a75e-4bcb-9adc-2f4d10c74c66</uuid>
|
||||||
<metadata>
|
<metadata>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<partition>/machine</partition>
|
<partition>/machine</partition>
|
||||||
</resource>
|
</resource>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc-q35-6.1'>hvm</type>
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||||
<nvram>/var/lib/libvirt/qemu/nvram/rift_VARS.fd</nvram>
|
<nvram>/var/lib/libvirt/qemu/nvram/rift_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
@ -138,7 +138,7 @@
|
|||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
<mac address='52:54:00:e0:10:18'/>
|
<mac address='52:54:00:e0:10:18'/>
|
||||||
<source bridge='virbr0'/>
|
<source bridge='virbr0'/>
|
||||||
<target dev='vnet21'/>
|
<target dev='vnet1'/>
|
||||||
<model type='virtio'/>
|
<model type='virtio'/>
|
||||||
<filterref filter='allow-ipv4'/>
|
<filterref filter='allow-ipv4'/>
|
||||||
<alias name='net0'/>
|
<alias name='net0'/>
|
||||||
@ -150,29 +150,17 @@
|
|||||||
<input type='keyboard' bus='ps2'>
|
<input type='keyboard' bus='ps2'>
|
||||||
<alias name='input1'/>
|
<alias name='input1'/>
|
||||||
</input>
|
</input>
|
||||||
<audio id='1' type='none'/>
|
<tpm model='tpm-tis'>
|
||||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
<backend type='emulator' version='2.0'/>
|
||||||
<driver name='vfio'/>
|
<alias name='tpm0'/>
|
||||||
<source>
|
</tpm>
|
||||||
<address domain='0x0000' bus='0x00' slot='0x14' function='0x0'/>
|
|
||||||
</source>
|
|
||||||
<alias name='hostdev0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x09' slot='0x01' function='0x0'/>
|
|
||||||
</hostdev>
|
|
||||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
|
||||||
<driver name='vfio'/>
|
|
||||||
<source>
|
|
||||||
<address domain='0x0000' bus='0x00' slot='0x14' function='0x2'/>
|
|
||||||
</source>
|
|
||||||
<alias name='hostdev1'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x09' slot='0x02' function='0x0'/>
|
|
||||||
</hostdev>
|
|
||||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||||
<driver name='vfio'/>
|
<driver name='vfio'/>
|
||||||
<source>
|
<source>
|
||||||
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
</source>
|
</source>
|
||||||
<alias name='hostdev2'/>
|
<alias name='hostdev0'/>
|
||||||
|
<rom file='/usr/share/ovmf/nv.rom'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
</hostdev>
|
</hostdev>
|
||||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||||
@ -180,9 +168,33 @@
|
|||||||
<source>
|
<source>
|
||||||
<address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
|
<address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
|
||||||
</source>
|
</source>
|
||||||
<alias name='hostdev3'/>
|
<alias name='hostdev1'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
</hostdev>
|
</hostdev>
|
||||||
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||||
|
<driver name='vfio'/>
|
||||||
|
<source>
|
||||||
|
<address domain='0x0000' bus='0x00' slot='0x14' function='0x0'/>
|
||||||
|
</source>
|
||||||
|
<alias name='hostdev2'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x09' slot='0x01' function='0x0'/>
|
||||||
|
</hostdev>
|
||||||
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||||
|
<driver name='vfio'/>
|
||||||
|
<source>
|
||||||
|
<address domain='0x0000' bus='0x00' slot='0x14' function='0x2'/>
|
||||||
|
</source>
|
||||||
|
<alias name='hostdev3'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x09' slot='0x02' function='0x0'/>
|
||||||
|
</hostdev>
|
||||||
|
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||||
|
<driver name='vfio'/>
|
||||||
|
<source>
|
||||||
|
<address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</source>
|
||||||
|
<alias name='hostdev4'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</hostdev>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
<seclabel type='dynamic' model='apparmor' relabel='yes'>
|
<seclabel type='dynamic' model='apparmor' relabel='yes'>
|
||||||
@ -197,4 +209,4 @@
|
|||||||
<qemu:arg value='-cpu'/>
|
<qemu:arg value='-cpu'/>
|
||||||
<qemu:arg value='host,hv_time,kvm=off,hv_vendor_id=null'/>
|
<qemu:arg value='host,hv_time,kvm=off,hv_vendor_id=null'/>
|
||||||
</qemu:commandline>
|
</qemu:commandline>
|
||||||
</domain>
|
</domain>
|
||||||
|
Loading…
Reference in New Issue
Block a user