</dd>
<dt><code>apic</code></dt>
<dd>APIC allows the use of programmable IRQ
- management. <span class="since">Since 0.10.2 (QEMU only)</span>
- there is an optional attribute <code>eoi</code> with values "on"
- and "off" which toggles the availability of EOI (End of
+ management. <span class="since">Since 0.10.2 (QEMU only)</span> there is
+ an optional attribute <code>eoi</code> with values <code>on</code>
+ and <code>off</code> which toggles the availability of EOI (End of
Interrupt) for the guest.
</dd>
<dt><code>hap</code></dt>
virReportError(VIR_ERR_XML_ERROR,
_("Unsupported CPU placement mode '%s'"),
tmp);
- VIR_FREE(tmp);
goto error;
}
VIR_FREE(tmp);
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
_("unknown value for attribute eoi: %s"),
tmp);
- VIR_FREE(tmp);
goto error;
}
def->apic_eoi = eoi;
}
virBufferAddLit(buf, " <os>\n");
+
virBufferAddLit(buf, " <type");
if (def->os.arch)
virBufferAsprintf(buf, " arch='%s'", def->os.arch);
" eoi='%s'",
virDomainApicEoiTypeToString(def->apic_eoi));
}
- virBufferAsprintf(buf, "/>\n");
+ virBufferAddLit(buf, "/>\n");
}
}
virBufferAddLit(buf, " </features>\n");