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

Tim Wiederhake posted 10 patches 4 years, 2 months ago
[libvirt PATCH 06/10] docs: domain: Add documentation for "hyperv"'s new "mode" attribute
Posted by Tim Wiederhake 4 years, 2 months ago
Signed-off-by: Tim Wiederhake <twiederh@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

Re: [libvirt PATCH 06/10] docs: domain: Add documentation for "hyperv"'s new "mode" attribute
Posted by Ján Tomko 4 years, 2 months ago
On a Friday in 2021, Tim Wiederhake wrote:
>Signed-off-by: Tim Wiederhake <twiederh@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 next libvirt release will be 8.0.0 mid-January.
https://libvirt.org/downloads.html#numbering

Jano