Regenerated the documentation and localization files

* src/libvirt.c src/virterror.c: fix some missing comments in public
  modules.
* docs/libvirt-api.xml docs/libvirt-refs.xml
  docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html:
  regenerated documentation
* po/*: updated the polish localization and regenerated
Daniel
This commit is contained in:
Daniel Veillard 2009-07-01 13:08:17 +00:00
parent 2a004db6c7
commit 88b4cc5fe9
81 changed files with 85174 additions and 80928 deletions

View File

@ -1,3 +1,12 @@
Wed Jul 1 15:05:25 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c src/virterror.c: fix some missing comments in public
modules.
* docs/libvirt-api.xml docs/libvirt-refs.xml
docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html:
regenerated documentation
* po/*: updated the polish localization and regenerated
Wed Jul 1 13:18:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
* docs/logging.html[.in] qemud/libvirtd.conf qemud/qemud.c

View File

@ -1016,8 +1016,8 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>pointer to domain object</td></tr><tr><td><span class="term"><i><tt>nparams</tt></i>:</span></td><td>number of scheduler parameters(return value)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL in case of error. The caller must free the returned string.</td></tr></tbody></table></div></div>
<hr/>
<div class="refsect2" lang="en"><h3><a name="virDomainGetSecurityLabel"/>virDomainGetSecurityLabel ()</h3><pre class="programlisting">int virDomainGetSecurityLabel (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br/> <a href="libvirt-libvirt.html#virSecurityLabelPtr">virSecurityLabelPtr</a> seclabel)<br/>
</pre><p>Extract security label of an active domain.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>seclabel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityLabel">virSecurityLabel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that's an error).</td></tr></tbody></table></div></div>
</pre><p>Extract security label of an active domain. The 'label' field in the @seclabel argument will be initialized to the empty string if the domain is not running under a security model.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>seclabel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityLabel">virSecurityLabel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure</td></tr></tbody></table></div></div>
<hr/>
<div class="refsect2" lang="en"><h3><a name="virDomainGetUUID"/>virDomainGetUUID ()</h3><pre class="programlisting">int virDomainGetUUID (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br/> unsigned char * uuid)<br/>
</pre><p>Get the UUID for a domain</p>
@ -1316,8 +1316,8 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>info</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virNodeInfo">virNodeInfo</a> structure allocated by the user</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of failure.</td></tr></tbody></table></div></div>
<hr/>
<div class="refsect2" lang="en"><h3><a name="virNodeGetSecurityModel"/>virNodeGetSecurityModel ()</h3><pre class="programlisting">int virNodeGetSecurityModel (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br/> <a href="libvirt-libvirt.html#virSecurityModelPtr">virSecurityModelPtr</a> secmodel)<br/>
</pre><p>Extract the security model of a hypervisor.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>a connection object</td></tr><tr><td><span class="term"><i><tt>secmodel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityModel">virSecurityModel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that's an error).</td></tr></tbody></table></div></div>
</pre><p>Extract the security model of a hypervisor. The 'model' field in the @secmodel argument may be initialized to the empty string if the driver has not activated a security model.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>a connection object</td></tr><tr><td><span class="term"><i><tt>secmodel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityModel">virSecurityModel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure</td></tr></tbody></table></div></div>
<hr/>
<div class="refsect2" lang="en"><h3><a name="virNodeListDevices"/>virNodeListDevices ()</h3><pre class="programlisting">int virNodeListDevices (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br/> const char * cap, <br/> char ** const names, <br/> int maxnames, <br/> unsigned int flags)<br/>
</pre><p>Collect the list of node devices, and store their names in @names If the optional 'cap' argument is non-NULL, then the count will be restricted to devices with the specified capability</p>

View File

@ -432,7 +432,7 @@ int <a href="#virStorageVolRef">virStorageVolRef</a> (<a href="libvirt-libvirt.
</pre><p>Get the type of domain operation system.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new string or NULL in case of error, the string must be freed by the caller.</td></tr></tbody></table></div><h3><a name="virDomainGetSchedulerParameters" id="virDomainGetSchedulerParameters"><code>virDomainGetSchedulerParameters</code></a></h3><pre class="programlisting">int virDomainGetSchedulerParameters (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> <a href="libvirt-libvirt.html#virSchedParameterPtr">virSchedParameterPtr</a> params, <br /> int * nparams)<br />
</pre><p>Get the scheduler parameters, the @params array will be filled with the values.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>pointer to domain object</td></tr><tr><td><span class="term"><i><tt>params</tt></i>:</span></td><td>pointer to scheduler parameter object (return value)</td></tr><tr><td><span class="term"><i><tt>nparams</tt></i>:</span></td><td>pointer to number of scheduler parameter (this value should be same than the returned value nparams of virDomainGetSchedulerType)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 0 in case of success.</td></tr></tbody></table></div><h3><a name="virDomainGetSchedulerType" id="virDomainGetSchedulerType"><code>virDomainGetSchedulerType</code></a></h3><pre class="programlisting">char * virDomainGetSchedulerType (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> int * nparams)<br />
</pre><p>Get the scheduler type.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>pointer to domain object</td></tr><tr><td><span class="term"><i><tt>nparams</tt></i>:</span></td><td>number of scheduler parameters(return value)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL in case of error. The caller must free the returned string.</td></tr></tbody></table></div><h3><a name="virDomainGetSecurityLabel" id="virDomainGetSecurityLabel"><code>virDomainGetSecurityLabel</code></a></h3><pre class="programlisting">int virDomainGetSecurityLabel (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> <a href="libvirt-libvirt.html#virSecurityLabelPtr">virSecurityLabelPtr</a> seclabel)<br />
</pre><p>Extract security label of an active domain.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>seclabel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityLabel">virSecurityLabel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that's an error).</td></tr></tbody></table></div><h3><a name="virDomainGetUUID" id="virDomainGetUUID"><code>virDomainGetUUID</code></a></h3><pre class="programlisting">int virDomainGetUUID (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> unsigned char * uuid)<br />
</pre><p>Extract security label of an active domain. The 'label' field in the @seclabel argument will be initialized to the empty string if the domain is not running under a security model.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>seclabel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityLabel">virSecurityLabel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure</td></tr></tbody></table></div><h3><a name="virDomainGetUUID" id="virDomainGetUUID"><code>virDomainGetUUID</code></a></h3><pre class="programlisting">int virDomainGetUUID (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> unsigned char * uuid)<br />
</pre><p>Get the UUID for a domain</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>uuid</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#VIR_UUID_BUFLEN">VIR_UUID_BUFLEN</a> bytes array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 0 in case of success</td></tr></tbody></table></div><h3><a name="virDomainGetUUIDString" id="virDomainGetUUIDString"><code>virDomainGetUUIDString</code></a></h3><pre class="programlisting">int virDomainGetUUIDString (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> char * buf)<br />
</pre><p>Get the UUID for a domain as string. For more information about UUID see RFC4122.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>a domain object</td></tr><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#VIR_UUID_STRING_BUFLEN">VIR_UUID_STRING_BUFLEN</a> bytes array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 0 in case of success</td></tr></tbody></table></div><h3><a name="virDomainGetVcpus" id="virDomainGetVcpus"><code>virDomainGetVcpus</code></a></h3><pre class="programlisting">int virDomainGetVcpus (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> <a href="libvirt-libvirt.html#virVcpuInfoPtr">virVcpuInfoPtr</a> info, <br /> int maxinfo, <br /> unsigned char * cpumaps, <br /> int maplen)<br />
</pre><p>Extract information about virtual CPUs of domain, store it in info array and also in cpumaps if this pointer isn't NULL.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>domain</tt></i>:</span></td><td>pointer to domain object, or NULL for Domain0</td></tr><tr><td><span class="term"><i><tt>info</tt></i>:</span></td><td>pointer to an array of <a href="libvirt-libvirt.html#virVcpuInfo">virVcpuInfo</a> structures (OUT)</td></tr><tr><td><span class="term"><i><tt>maxinfo</tt></i>:</span></td><td>number of structures in info array</td></tr><tr><td><span class="term"><i><tt>cpumaps</tt></i>:</span></td><td>pointer to an bit map of real CPUs for all vcpus of this domain (in 8-bit bytes) (OUT) If cpumaps is NULL, then no cpumap information is returned by the API. It's assumed there is &lt;maxinfo&gt; cpumap in cpumaps array. The memory allocated to cpumaps must be (maxinfo * maplen) bytes (ie: calloc(maxinfo, maplen)). One cpumap inside cpumaps has the format described in virDomainPinVcpu() API.</td></tr><tr><td><span class="term"><i><tt>maplen</tt></i>:</span></td><td>number of bytes in one cpumap, from 1 up to size of CPU map in underlying virtualization system (Xen...).</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of info filled in case of success, -1 in case of failure.</td></tr></tbody></table></div><h3><a name="virDomainGetXMLDesc" id="virDomainGetXMLDesc"><code>virDomainGetXMLDesc</code></a></h3><pre class="programlisting">char * virDomainGetXMLDesc (<a href="libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain, <br /> int flags)<br />
@ -516,7 +516,7 @@ int <a href="#virStorageVolRef">virStorageVolRef</a> (<a href="libvirt-libvirt.
</pre><p>This call returns the amount of free memory in one or more NUMA cells. The @freeMems array must be allocated by the caller and will be filled with the amount of free memory in kilobytes for each cell requested, starting with startCell (in freeMems[0]), up to either (startCell + maxCells), or the number of additional cells in the node, whichever is smaller.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>freeMems</tt></i>:</span></td><td>pointer to the array of unsigned long long</td></tr><tr><td><span class="term"><i><tt>startCell</tt></i>:</span></td><td>index of first cell to return freeMems info on.</td></tr><tr><td><span class="term"><i><tt>maxCells</tt></i>:</span></td><td>Maximum number of cells for which freeMems information can be returned.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of entries filled in freeMems, or -1 in case of error.</td></tr></tbody></table></div><h3><a name="virNodeGetFreeMemory" id="virNodeGetFreeMemory"><code>virNodeGetFreeMemory</code></a></h3><pre class="programlisting">unsigned long long virNodeGetFreeMemory (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn)<br />
</pre><p>provides the free memory available on the Node Note: most libvirt APIs provide memory sizes in kilobytes, but in this function the returned value is in bytes. Divide by 1024 as necessary.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the available free memory in bytes or 0 in case of error</td></tr></tbody></table></div><h3><a name="virNodeGetInfo" id="virNodeGetInfo"><code>virNodeGetInfo</code></a></h3><pre class="programlisting">int virNodeGetInfo (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br /> <a href="libvirt-libvirt.html#virNodeInfoPtr">virNodeInfoPtr</a> info)<br />
</pre><p>Extract hardware information about the node.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>info</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virNodeInfo">virNodeInfo</a> structure allocated by the user</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of failure.</td></tr></tbody></table></div><h3><a name="virNodeGetSecurityModel" id="virNodeGetSecurityModel"><code>virNodeGetSecurityModel</code></a></h3><pre class="programlisting">int virNodeGetSecurityModel (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br /> <a href="libvirt-libvirt.html#virSecurityModelPtr">virSecurityModelPtr</a> secmodel)<br />
</pre><p>Extract the security model of a hypervisor.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>a connection object</td></tr><tr><td><span class="term"><i><tt>secmodel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityModel">virSecurityModel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that's an error).</td></tr></tbody></table></div><h3><a name="virNodeListDevices" id="virNodeListDevices"><code>virNodeListDevices</code></a></h3><pre class="programlisting">int virNodeListDevices (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br /> const char * cap, <br /> char ** const names, <br /> int maxnames, <br /> unsigned int flags)<br />
</pre><p>Extract the security model of a hypervisor. The 'model' field in the @secmodel argument may be initialized to the empty string if the driver has not activated a security model.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>a connection object</td></tr><tr><td><span class="term"><i><tt>secmodel</tt></i>:</span></td><td>pointer to a <a href="libvirt-libvirt.html#virSecurityModel">virSecurityModel</a> structure</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of failure</td></tr></tbody></table></div><h3><a name="virNodeListDevices" id="virNodeListDevices"><code>virNodeListDevices</code></a></h3><pre class="programlisting">int virNodeListDevices (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br /> const char * cap, <br /> char ** const names, <br /> int maxnames, <br /> unsigned int flags)<br />
</pre><p>Collect the list of node devices, and store their names in @names If the optional 'cap' argument is non-NULL, then the count will be restricted to devices with the specified capability</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>cap</tt></i>:</span></td><td>capability name</td></tr><tr><td><span class="term"><i><tt>names</tt></i>:</span></td><td>array to collect the list of node device names</td></tr><tr><td><span class="term"><i><tt>maxnames</tt></i>:</span></td><td>size of @names</td></tr><tr><td><span class="term"><i><tt>flags</tt></i>:</span></td><td>flags (unused, pass 0)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of node devices found or -1 in case of error</td></tr></tbody></table></div><h3><a name="virNodeNumOfDevices" id="virNodeNumOfDevices"><code>virNodeNumOfDevices</code></a></h3><pre class="programlisting">int virNodeNumOfDevices (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn, <br /> const char * cap, <br /> unsigned int flags)<br />
</pre><p>Provides the number of node devices. If the optional 'cap' argument is non-NULL, then the count will be restricted to devices with the specified capability</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>cap</tt></i>:</span></td><td>capability name</td></tr><tr><td><span class="term"><i><tt>flags</tt></i>:</span></td><td>flags (unused, pass 0)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of node devices or -1 in case of error</td></tr></tbody></table></div><h3><a name="virStoragePoolBuild" id="virStoragePoolBuild"><code>virStoragePoolBuild</code></a></h3><pre class="programlisting">int virStoragePoolBuild (<a href="libvirt-libvirt.html#virStoragePoolPtr">virStoragePoolPtr</a> pool, <br /> unsigned int flags)<br />
</pre><p>Build the underlying storage pool</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>pool</tt></i>:</span></td><td>pointer to storage pool</td></tr><tr><td><span class="term"><i><tt>flags</tt></i>:</span></td><td>future flags, use 0 for now</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 on success, or -1 upon failure</td></tr></tbody></table></div><h3><a name="virStoragePoolCreate" id="virStoragePoolCreate"><code>virStoragePoolCreate</code></a></h3><pre class="programlisting">int virStoragePoolCreate (<a href="libvirt-libvirt.html#virStoragePoolPtr">virStoragePoolPtr</a> pool, <br /> unsigned int flags)<br />

View File

@ -1203,8 +1203,8 @@ see note above'/>
<arg name='nparams' type='int *' info='number of scheduler parameters(return value)'/>
</function>
<function name='virDomainGetSecurityLabel' file='libvirt' module='libvirt'>
<info>Extract security label of an active domain.</info>
<return type='int' info='0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that&apos;s an error).'/>
<info>Extract security label of an active domain. The &apos;label&apos; field in the @seclabel argument will be initialized to the empty string if the domain is not running under a security model.</info>
<return type='int' info='0 in case of success, -1 in case of failure'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
<arg name='seclabel' type='virSecurityLabelPtr' info='pointer to a virSecurityLabel structure'/>
</function>
@ -1720,8 +1720,8 @@ see note above'/>
<arg name='info' type='virNodeInfoPtr' info='pointer to a virNodeInfo structure allocated by the user'/>
</function>
<function name='virNodeGetSecurityModel' file='libvirt' module='libvirt'>
<info>Extract the security model of a hypervisor.</info>
<return type='int' info='0 in case of success, -1 in case of failure, and -2 if the operation is not supported (caller decides if that&apos;s an error).'/>
<info>Extract the security model of a hypervisor. The &apos;model&apos; field in the @secmodel argument may be initialized to the empty string if the driver has not activated a security model.</info>
<return type='int' info='0 in case of success, -1 in case of failure'/>
<arg name='conn' type='virConnectPtr' info='a connection object'/>
<arg name='secmodel' type='virSecurityModelPtr' info='pointer to a virSecurityModel structure'/>
</function>

View File

@ -2622,6 +2622,9 @@
<word name='across'>
<ref name='virStorageVolGetPath'/>
</word>
<word name='activated'>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='active'>
<ref name='VIR_NODEINFO_MAXCPUS'/>
<ref name='_virNodeInfo'/>
@ -2832,6 +2835,8 @@
<ref name='virDomainBlockPeek'/>
</word>
<word name='argument'>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
<ref name='virNodeListDevices'/>
<ref name='virNodeNumOfDevices'/>
</word>
@ -3100,7 +3105,6 @@
<ref name='virConnectRef'/>
<ref name='virDomainGetOSType'/>
<ref name='virDomainGetSchedulerType'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virDomainGetXMLDesc'/>
<ref name='virDomainRef'/>
<ref name='virInterfaceGetXMLDesc'/>
@ -3110,7 +3114,6 @@
<ref name='virNetworkRef'/>
<ref name='virNodeDeviceRef'/>
<ref name='virNodeGetCellsFreeMemory'/>
<ref name='virNodeGetSecurityModel'/>
<ref name='virSaveLastError'/>
<ref name='virStoragePoolRef'/>
<ref name='virStorageVolRef'/>
@ -3488,10 +3491,6 @@
<ref name='virInterfaceGetName'/>
<ref name='virNetworkGetName'/>
</word>
<word name='decides'>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='default'>
<ref name='_virConnectCredential'/>
<ref name='virConnSetErrorFunc'/>
@ -3707,6 +3706,7 @@
<ref name='virGetVersion'/>
<ref name='virNodeDeviceDettach'/>
<ref name='virNodeDeviceReAttach'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='drivers'>
<ref name='virNodeDeviceDettach'/>
@ -3765,6 +3765,10 @@
<word name='emitting'>
<ref name='virEventTimeoutCallback'/>
</word>
<word name='empty'>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='enable'>
<ref name='virConnectDomainEventRegister'/>
</word>
@ -3917,6 +3921,8 @@
</word>
<word name='field'>
<ref name='VIR_DOMAIN_SCHED_FIELD_LENGTH'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='fields'>
<ref name='virDomainBlockStats'/>
@ -4259,6 +4265,7 @@
<ref name='virDomainGetVcpus'/>
<ref name='virEventAddTimeoutFunc'/>
<ref name='virNodeDeviceGetParent'/>
<ref name='virNodeGetSecurityModel'/>
<ref name='virStoragePoolDestroy'/>
</word>
<word name='have'>
@ -4450,6 +4457,10 @@
<ref name='virEventAddHandleFunc'/>
<ref name='virEventAddTimeoutFunc'/>
</word>
<word name='initialized'>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='initializing'>
<ref name='virInitialize'/>
<ref name='virStoragePoolRefresh'/>
@ -4953,6 +4964,7 @@
<word name='model'>
<ref name='VIR_SECURITY_MODEL_BUFLEN'/>
<ref name='_virNodeInfo'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='modify'>
@ -5241,9 +5253,7 @@
</word>
<word name='operation'>
<ref name='virDomainGetOSType'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virDomainReboot'/>
<ref name='virNodeGetSecurityModel'/>
<ref name='virStoragePoolDelete'/>
</word>
<word name='operations'>
@ -5874,6 +5884,7 @@
<ref name='virDomainDestroy'/>
<ref name='virDomainFree'/>
<ref name='virDomainGetMaxVcpus'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virDomainMemoryPeek'/>
<ref name='virDomainSave'/>
<ref name='virDomainUndefine'/>
@ -6182,31 +6193,6 @@
<ref name='virConnectListDefinedDomains'/>
<ref name='virConnectListDefinedNetworks'/>
</word>
<word name='string'>
<ref name='VIR_SECURITY_DOI_BUFLEN'/>
<ref name='VIR_SECURITY_LABEL_BUFLEN'/>
<ref name='VIR_SECURITY_MODEL_BUFLEN'/>
<ref name='_virError'/>
<ref name='_virNodeInfo'/>
<ref name='virConnectGetCapabilities'/>
<ref name='virConnectGetType'/>
<ref name='virConnectGetURI'/>
<ref name='virDomainBlockPeek'/>
<ref name='virDomainCreateLinux'/>
<ref name='virDomainCreateXML'/>
<ref name='virDomainGetName'/>
<ref name='virDomainGetOSType'/>
<ref name='virDomainGetSchedulerType'/>
<ref name='virDomainGetUUIDString'/>
<ref name='virDomainLookupByUUIDString'/>
<ref name='virInterfaceGetMACString'/>
<ref name='virInterfaceGetName'/>
<ref name='virNetworkGetName'/>
<ref name='virNetworkGetUUIDString'/>
<ref name='virNetworkLookupByUUIDString'/>
<ref name='virNodeDeviceCreateXML'/>
<ref name='virStoragePoolGetUUIDString'/>
</word>
<word name='structure'>
<ref name='virDomainBlockStats'/>
<ref name='virDomainFree'/>
@ -6268,11 +6254,9 @@
<ref name='_virConnectAuth'/>
<ref name='virConnectGetMaxVcpus'/>
<ref name='virDomainGetMaxVcpus'/>
<ref name='virDomainGetSecurityLabel'/>
<ref name='virDomainMigrate'/>
<ref name='virNodeDeviceListCaps'/>
<ref name='virNodeDeviceNumOfCaps'/>
<ref name='virNodeGetSecurityModel'/>
</word>
<word name='supports'>
<ref name='virDomainMigrate'/>
@ -6509,6 +6493,9 @@
<ref name='virDomainDefineXML'/>
<ref name='virStoragePoolDefineXML'/>
</word>
<word name='under'>
<ref name='virDomainGetSecurityLabel'/>
</word>
<word name='underlying'>
<ref name='virDomainGetVcpus'/>
<ref name='virDomainMigrate'/>

2233
po/af.po

File diff suppressed because it is too large Load Diff

2233
po/am.po

File diff suppressed because it is too large Load Diff

2233
po/ar.po

File diff suppressed because it is too large Load Diff

2241
po/as.po

File diff suppressed because it is too large Load Diff

2233
po/be.po

File diff suppressed because it is too large Load Diff

2234
po/bg.po

File diff suppressed because it is too large Load Diff

2233
po/bn.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2234
po/bs.po

File diff suppressed because it is too large Load Diff

2407
po/ca.po

File diff suppressed because it is too large Load Diff

2234
po/cs.po

File diff suppressed because it is too large Load Diff

2233
po/cy.po

File diff suppressed because it is too large Load Diff

2234
po/da.po

File diff suppressed because it is too large Load Diff

2233
po/de.po

File diff suppressed because it is too large Load Diff

2233
po/el.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2245
po/es.po

File diff suppressed because it is too large Load Diff

2233
po/et.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2233
po/fa.po

File diff suppressed because it is too large Load Diff

2234
po/fi.po

File diff suppressed because it is too large Load Diff

2407
po/fr.po

File diff suppressed because it is too large Load Diff

2233
po/gl.po

File diff suppressed because it is too large Load Diff

2233
po/gu.po

File diff suppressed because it is too large Load Diff

2233
po/he.po

File diff suppressed because it is too large Load Diff

2235
po/hi.po

File diff suppressed because it is too large Load Diff

2234
po/hr.po

File diff suppressed because it is too large Load Diff

2234
po/hu.po

File diff suppressed because it is too large Load Diff

2233
po/hy.po

File diff suppressed because it is too large Load Diff

2236
po/id.po

File diff suppressed because it is too large Load Diff

2233
po/is.po

File diff suppressed because it is too large Load Diff

2234
po/it.po

File diff suppressed because it is too large Load Diff

2230
po/ja.po

File diff suppressed because it is too large Load Diff

2233
po/ka.po

File diff suppressed because it is too large Load Diff

2233
po/kn.po

File diff suppressed because it is too large Load Diff

2234
po/ko.po

File diff suppressed because it is too large Load Diff

2233
po/ku.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2233
po/lo.po

File diff suppressed because it is too large Load Diff

2233
po/lt.po

File diff suppressed because it is too large Load Diff

2233
po/lv.po

File diff suppressed because it is too large Load Diff

2234
po/mk.po

File diff suppressed because it is too large Load Diff

2231
po/ml.po

File diff suppressed because it is too large Load Diff

2233
po/mr.po

File diff suppressed because it is too large Load Diff

2234
po/ms.po

File diff suppressed because it is too large Load Diff

2233
po/my.po

File diff suppressed because it is too large Load Diff

2230
po/nb.po

File diff suppressed because it is too large Load Diff

2273
po/nl.po

File diff suppressed because it is too large Load Diff

2233
po/nn.po

File diff suppressed because it is too large Load Diff

2233
po/nso.po

File diff suppressed because it is too large Load Diff

2233
po/or.po

File diff suppressed because it is too large Load Diff

2233
po/pa.po

File diff suppressed because it is too large Load Diff

2512
po/pl.po

File diff suppressed because it is too large Load Diff

2234
po/pt.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2233
po/ro.po

File diff suppressed because it is too large Load Diff

2231
po/ru.po

File diff suppressed because it is too large Load Diff

2233
po/si.po

File diff suppressed because it is too large Load Diff

2233
po/sk.po

File diff suppressed because it is too large Load Diff

2233
po/sl.po

File diff suppressed because it is too large Load Diff

2233
po/sq.po

File diff suppressed because it is too large Load Diff

2231
po/sr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2234
po/sv.po

File diff suppressed because it is too large Load Diff

2232
po/ta.po

File diff suppressed because it is too large Load Diff

2233
po/te.po

File diff suppressed because it is too large Load Diff

2233
po/th.po

File diff suppressed because it is too large Load Diff

2233
po/tr.po

File diff suppressed because it is too large Load Diff

2234
po/uk.po

File diff suppressed because it is too large Load Diff

2233
po/ur.po

File diff suppressed because it is too large Load Diff

2233
po/vi.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2233
po/zu.po

File diff suppressed because it is too large Load Diff

View File

@ -756,6 +756,7 @@ virRegisterStateDriver(virStateDriverPtr driver)
/**
* virStateInitialize:
* @privileged: set to 1 if running with root priviledge, 0 otherwise
*
* Initialize all virtualization drivers.
*

View File

@ -1103,6 +1103,17 @@ void virReportErrorHelper(virConnectPtr conn,
}
/**
* virStrerror:
* @theerrno: the errno value
* @errBuf: the buffer to save the error to
* @errBufLen: the buffer length
*
* Generate an erro string for the given errno
*
* Returns a pointer to the error string, possibly indicating that the
* error is unknown
*/
const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen)
{
#ifdef HAVE_STRERROR_R
@ -1125,6 +1136,19 @@ const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen)
#endif
}
/**
* virReportSystemErrorFull:
* @conn: the hyperisor connection
* @domcode: the virErrorDomain indicating where it's coming from
* @theerrno: an errno number
* @filename: filename where error was raised
* @funcname: function name where error was raised
* @linenr: line number where error was raised
* @fmt: the message to display/transmit
* @...: extra parameters for the message display
*
* Convenience internal routine called when a system error is detected.
*/
void virReportSystemErrorFull(virConnectPtr conn,
int domcode,
int theerrno,
@ -1165,6 +1189,17 @@ void virReportSystemErrorFull(virConnectPtr conn,
msg, msgDetail, NULL, -1, -1, msg, msgDetail);
}
/**
* virReportOOMErrorFull:
* @conn: the hyperisor connection
* @domcode: the virErrorDomain indicating where it's coming from
* @filename: filename where error was raised
* @funcname: function name where error was raised
* @linenr: line number where error was raised
*
* Convenience internal routine called when an out of memory error is
* detected
*/
void virReportOOMErrorFull(virConnectPtr conn,
int domcode,
const char *filename,