[libvirt] [PATCH] docs: add a note that attr 'managed' is only used by PCI devices

Martin Kletzander mkletzan at redhat.com
Mon Mar 2 11:10:44 UTC 2015


On Fri, Feb 27, 2015 at 12:45:57PM +0100, Erik Skultety wrote:
>Our documentation isn't 100% clear about hostdev 'managed' attribute usage,
>because it only makes sense to use it with PCI devices, yet we format
>this attribute to all hostdev devices. By adding a note into the docs,
>we can possibly avoid confusion from customer's side and also avoid a solution
>using ternary logic.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1155887
>---
> docs/formatdomain.html.in | 6 ++++++
> 1 file changed, 6 insertions(+)
>

ACK and pushed.

>diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
>index fb0a0d1..6276a61 100644
>--- a/docs/formatdomain.html.in
>+++ b/docs/formatdomain.html.in
>@@ -3110,6 +3110,12 @@
>             then this setting not required.
>           </dd>
>         </dl>
>+        <p>
>+          Note: The <code>managed</code> attribute is only used with PCI devices
>+          and is ignored by all the other device types, thus setting
>+          <code>managed</code> explicitly with other than PCI device has the same
>+          effect as omitting it.
>+        </p>
>       </dd>
>       <dt><code>source</code></dt>
>       <dd>The source element describes the device as seen from the host using
>--
>1.9.3
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150302/d0b94bf3/attachment-0001.sig>


More information about the libvir-list mailing list