]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Correct dbus graphics' accepted p2p values
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Mar 2025 12:13:55 +0000 (13:13 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Mar 2025 13:54:36 +0000 (14:54 +0100)
The attribute is used (and formatted) as virTristateBool() and even in
schema defined as virYesNo, so the values are supposed to be `yes` and
`no`.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst

index 4d03768c5f4ea19bf3f1b76b496c453643d7a916..3bbf94e192c9883cab0d5e9304bc6d31c825183c 100644 (file)
@@ -6740,7 +6740,7 @@ interaction with the admin.
 
         <graphics type='dbus'/>
 
-      ``p2p`` (accepts ``on`` or ``off``) enables peer-to-peer connections,
+      ``p2p`` (accepts ``yes`` or ``no``) enables peer-to-peer connections,
       established through virDomainOpenGraphics() APIs.
 
       ``address`` (accepts a `D-Bus address