mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: add vapic and spinlocks to hyperv features
Add new CPU features for HyperV:
vapic for virtual APIC support
spinlocks for setting spinlock support
<features>
<hyperv>
<vapic state='on'/>
<spinlocks state='on' retries='4096'/>
</hyperv>
</features>
https://bugzilla.redhat.com/show_bug.cgi?id=784836
This commit is contained in:
@@ -1147,6 +1147,8 @@
|
||||
<privnet/>
|
||||
<hyperv>
|
||||
<relaxed state='on'/>
|
||||
<vapic state='on'/>
|
||||
<spinlocks state='on' retries='4096'</spinlocks>
|
||||
</hyperv>
|
||||
|
||||
</features>
|
||||
@@ -1197,14 +1199,27 @@
|
||||
<th>Feature</th>
|
||||
<th>Description</th>
|
||||
<th>Value</th>
|
||||
<th>Since</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>relaxed</td>
|
||||
<td>Relax contstraints on timers</td>
|
||||
<td> on, off</td>
|
||||
<td><span class="since">1.0.0 (QEMU only)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>vapic</td>
|
||||
<td>Enable virtual APIC</td>
|
||||
<td>on, off</td>
|
||||
<td><span class="since">1.1.0 (QEMU only)</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>spinlocks</td>
|
||||
<td>Enable spinlock support</td>
|
||||
<td>on, off; retries - at least 4095</td>
|
||||
<td><span class="since">1.1.0 (QEMU only)</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class="since">Since 1.0.0 (QEMU only)</span>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@@ -4015,6 +4015,19 @@
|
||||
<ref name="hypervtristate"/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="vapic">
|
||||
<ref name="hypervtristate"/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="spinlocks">
|
||||
<ref name="hypervtristate"/>
|
||||
<attribute name="retries">
|
||||
<data type="integer"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
Reference in New Issue
Block a user