[libvirt PATCH 06/10] docs: domain: Add documentation for "hyperv"'s new "mode" attribute

Tim Wiederhake twiederh at redhat.com
Fri Nov 26 14:34:58 UTC 2021


Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 docs/formatdomain.rst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index eb8c973cf1..95ef2e0d05 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -1820,7 +1820,7 @@ Hypervisors may allow certain CPU / machine features to be toggled on/off.
      <apic/>
      <hap/>
      <privnet/>
-     <hyperv>
+     <hyperv mode='custom'>
        <relaxed state='on'/>
        <vapic state='on'/>
        <spinlocks state='on' retries='4096'/>
@@ -1918,6 +1918,14 @@ are:
    evmcs           Enable Enlightened VMCS                                                on, off                                      :since:`4.10.0 (QEMU 3.1)`
    =============== ====================================================================== ============================================ =======================================================
 
+   :since:`Since 7.11.0` , the hypervisor can be configured further by setting
+   the ``mode`` attribute to one of the following values:
+
+   ``custom``
+      Set exactly the specified features.
+
+   The ``mode`` attribute can be omitted and will default to ``custom``.
+
 ``pvspinlock``
    Notify the guest that the host supports paravirtual spinlocks for example by
    exposing the pvticketlocks mechanism. This feature can be explicitly disabled
-- 
2.31.1




More information about the libvir-list mailing list