Skip to content

Instantly share code, notes, and snippets.

@piratecarrot
Created August 26, 2024 11:55
Show Gist options
  • Save piratecarrot/4dd5cfafdf4647965eea2ce078d15965 to your computer and use it in GitHub Desktop.
Save piratecarrot/4dd5cfafdf4647965eea2ce078d15965 to your computer and use it in GitHub Desktop.
Libvirt XML SLIC Windows

libvirt SLIC insert

This assumes you are using libvirt, I have not tested on anything else.

Add the below ACPI section with the table entry to your libvirt XML file.

<domain type="kvm">
<name>@NAME@</name>
...
<os>
<type arch="x86_64" machine="pc-q35-6.2">hvm</type>
<loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/@NAME@_VARS.fd</nvram>
<acpi>
<table type="slic">/sys/firmware/acpi/tables/SLIC</table>
</acpi>
<boot dev="hd"/>
</os>
...
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment