[libvirt] [PATCH 3/6] sysinfo: implement the public API

Daniel Veillard veillard at redhat.com
Wed Feb 9 02:22:55 UTC 2011


On Mon, Feb 07, 2011 at 05:08:47PM -0700, Eric Blake wrote:
> * src/libvirt.c (virConnectGetSysinfo): New function.
> * docs/formatdomain.html.in: Mention it.
> ---
> 
> Is my cross-page link in formatdomain correct?  I didn't see any
> other examples of XML documentation linking to an API call.
> 
>  docs/formatdomain.html.in |    4 +++-
>  src/libvirt.c             |   42 +++++++++++++++++++++++++++++++++++++++++-
>  2 files changed, 44 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 43c78fc..dd91de7 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -125,7 +125,9 @@
>        The <code>mode</code> attribute must be specified, and is either
>        "emulate" (let the hypervisor generate all values), "host" (copy
>        all of Block 0 and Block 1, except for the UUID, from the host's
> -      SMBIOS values), or "sysinfo" (use the values in
> +      SMBIOS values; the <a href="libvirt-libvirt.html#virConnectGetSysinfo">
> +      <code>virConnectGetSysinfo</code></a> call can be
> +      used to see what values are copied), or "sysinfo" (use the values in

  Actually that should be <a href="html/libvirt-libvirt.html#virConnectGetSysinfo">
as the API pages are placed in an html subdir of the top documentation.
That's true for both the web site and html installed witha devel package,


  once fixed, ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list