feat: added patches for libvirt

This commit is contained in:
ITQ
2025-07-05 12:21:45 +03:00
parent caadaa03a2
commit f3867465e9
+22
View File
@@ -0,0 +1,22 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" indent="yes" />
<xsl:template match="node()|@*">
<xsl:copy><xsl:apply-templates select="node()|@*" /></xsl:copy>
</xsl:template>
<xsl:template match="target[@bus='ide']">
<xsl:copy>
<xsl:apply-templates select="@*[name()!='bus']" />
<xsl:attribute name="bus">sata</xsl:attribute>
</xsl:copy>
</xsl:template>
<xsl:template match="/domain">
<xsl:copy>
<xsl:apply-templates select="node()[not(self::os)] | @*" />
<os firmware="efi">
<type arch="{./os/type/@arch}" machine="{./os/type/@machine}">hvm</type>
</os>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>