~serge-hallyn/ubuntu/raring/libvirt/libvirt-hugepages

« back to all changes in this revision

Viewing changes to docs/devhelp/libvirt-virterror.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-13 15:44:12 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120513154412-fgmn5sxqdzgnzlx3
Tags: 0.9.12-0ubuntu1
* New upstream version:
  * Synchronize with debian packaging:
    - debian/control: Update build depends.
    - debian/libvirt-bin.postrm: Cleanup /var/log/libvirt
      on purge.
    - Bump standards verson (no changes).
    - debian/patches/Don-t-fail-if-we-can-t-setup-avahi.patch: Added
  * Dropped patches:
    - debian/patches/Debianize-libvirt-guests.patch
    - debian/patches/rewrite-lxc-controller-eof-handling-yet-again
    - debian/patches/ubuntu/libnl13.patch
    - debian/patches/ubuntu/fix-lxc-startup-error.patch
    - debian/patches/ubuntu/fix-bridge-fd.patch
    - debian/patches/ubuntu/skip-labelling-network-disks.patch
    - debian/patches/ubuntu/xen-xend-shutdown-detection.patch
    - debian/patches/ubuntu/xen-config-no-vfb-for-hvm.patch
    - debian/patches/debian/Disable-daemon-start-test.patch
    - debian/patches/debian/Disable-gnulib-s-test-nonplocking-pipe.sh.patch
    - debian/patches/ubuntu/9006-default-config-test-case.patch
    - debian/patches/fix-block-migration.patch
    - debian/patches/ubuntu/9022-qemu-unescape-HMP-commands-before-converting-them-to.patch
    - debian/patches/ubuntu/9023-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/9024-qemu-allow-snapshotting-of-sheepdog-and-rbd-disks.patch
    - debian/patches/9025-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/arm-gcc-workaround.patch
  * Rediffed:
    - debian/patches/Allow-libvirt-group-to-access-the-socket.patch
    - debian/patches/Disable-failing-virnetsockettest.patch
    - debian/patches/dnsmasq-as-priv-user
    - debian/patches/9002-better_default_uri_virsh.patch
  * debian/control: Add libnl-route-3-dev ass a build depends.
  * debian/patches/libnl3-build-fix.patch: Fix build with libnl3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
    <a name="VIR_FROM_LOCKING">VIR_FROM_LOCKING</a> = 42 /* Error from lock manager */
128
128
    <a name="VIR_FROM_HYPERV">VIR_FROM_HYPERV</a> = 43 /* Error from Hyper-V driver */
129
129
    <a name="VIR_FROM_CAPABILITIES">VIR_FROM_CAPABILITIES</a> = 44 /* Error from capabilities */
 
130
    <a name="VIR_FROM_URI">VIR_FROM_URI</a> = 45 /* Error from URI handling */
 
131
    <a name="VIR_FROM_AUTH">VIR_FROM_AUTH</a> = 46 /* Error from auth handling */
 
132
    <a name="VIR_FROM_DBUS">VIR_FROM_DBUS</a> = 47 /* Error from DBus */
130
133
};
131
134
</pre><p/>
132
135
</div>
218
221
    <a name="VIR_ERR_STORAGE_PROBE_FAILED">VIR_ERR_STORAGE_PROBE_FAILED</a> = 75 /* storage pool probe failed */
219
222
    <a name="VIR_ERR_STORAGE_POOL_BUILT">VIR_ERR_STORAGE_POOL_BUILT</a> = 76 /* storage pool already built */
220
223
    <a name="VIR_ERR_SNAPSHOT_REVERT_RISKY">VIR_ERR_SNAPSHOT_REVERT_RISKY</a> = 77 /* force was not requested for a risky domain snapshot revert */
 
224
    <a name="VIR_ERR_OPERATION_ABORTED">VIR_ERR_OPERATION_ABORTED</a> = 78 /* operation on a domain was canceled/aborted by user */
 
225
    <a name="VIR_ERR_AUTH_CANCELLED">VIR_ERR_AUTH_CANCELLED</a> = 79 /* authentication cancelled */
 
226
    <a name="VIR_ERR_NO_DOMAIN_METADATA">VIR_ERR_NO_DOMAIN_METADATA</a> = 80 /* The metadata is not present */
 
227
    <a name="VIR_ERR_MIGRATE_UNSAFE">VIR_ERR_MIGRATE_UNSAFE</a> = 81 /* Migration is not safe */
 
228
    <a name="VIR_ERR_OVERFLOW">VIR_ERR_OVERFLOW</a> = 82 /* integer overflow */
 
229
    <a name="VIR_ERR_BLOCK_COPY_ACTIVE">VIR_ERR_BLOCK_COPY_ACTIVE</a> = 83 /* action prevented by block copy job */
221
230
};
222
231
</pre><p/>
223
232
</div>
245
254
Since 0.6.0, all errors reported in the per-connection object
246
255
are also duplicated in the global error object. As such an
247
256
application can always use virGetLastError(). This method
248
 
remains for backwards compatability.
 
257
remains for backwards compatibility.
249
258
 
250
259
One will need to free the result with virResetError()</p>
251
260
<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>to</tt></i>:</span></td><td>target to receive the copy</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if no error was found and the error code otherwise and -1 in case of parameter error.</td></tr></tbody></table></div></div>
265
274
Since 0.6.0, all errors reported in the per-connection object
266
275
are also duplicated in the global error object. As such an
267
276
application can always use virGetLastError(). This method
268
 
remains for backwards compatability.</p>
 
277
remains for backwards compatibility.</p>
269
278
<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>a pointer to the last error or NULL if none occurred.</td></tr></tbody></table></div></div>
270
279
        <hr/>
271
280
        <div class="refsect2" lang="en"><h3><a name="virConnResetLastError"/>virConnResetLastError ()</h3><pre class="programlisting">void      virConnResetLastError           (<a href="libvirt-libvirt.html#virConnectPtr">virConnectPtr</a> conn)<br/>