From: Richard W.M. Jones Date: Mon, 25 Jun 2007 08:40:38 +0000 (+0000) Subject: Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones X-Git-Tag: LIBVIRT_0_3_0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2670b9c80a155a83c92ac1cc5dc0ba51c5bddace;p=thirdparty%2Flibvirt.git Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones * docs/site.xsl: Added link to OCaml bindings. --- diff --git a/ChangeLog b/ChangeLog index bf25aaec7e..5da9860d75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones + + * docs/site.xsl: Added link to OCaml bindings. + Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones * qemud/remote.c, src/remote_internal.c: Fix virDomainGetVcpus diff --git a/docs/APIchunk0.html b/docs/APIchunk0.html index 4e088c0726..3b0e2c3b4d 100644 --- a/docs/APIchunk0.html +++ b/docs/APIchunk0.html @@ -1,7 +1,7 @@ -API Alphabetic Index A-X for libvirt diff --git a/docs/APIchunk1.html b/docs/APIchunk1.html index 0630a16044..c07f7576b9 100644 --- a/docs/APIchunk1.html +++ b/docs/APIchunk1.html @@ -1,13 +1,26 @@ -API Alphabetic Index a-c for libvirt

+

diff --git a/docs/APIchunk2.html b/docs/APIchunk2.html index 072e605c32..7eeb1ed655 100644 --- a/docs/APIchunk2.html +++ b/docs/APIchunk2.html @@ -1,7 +1,7 @@ -API Alphabetic Index d-i for libvirt diff --git a/docs/APIchunk3.html b/docs/APIchunk3.html index 16cfbef737..c5c25d8ce8 100644 --- a/docs/APIchunk3.html +++ b/docs/APIchunk3.html @@ -1,7 +1,7 @@ -API Alphabetic Index j-n for libvirt diff --git a/docs/APIchunk4.html b/docs/APIchunk4.html index 1956a2e313..737ab3bcb8 100644 --- a/docs/APIchunk4.html +++ b/docs/APIchunk4.html @@ -1,7 +1,7 @@ -API Alphabetic Index o-s for libvirt diff --git a/docs/APIchunk5.html b/docs/APIchunk5.html new file mode 100644 index 0000000000..14dfe5855d --- /dev/null +++ b/docs/APIchunk5.html @@ -0,0 +1,255 @@ + + +API Alphabetic Index t-w for libvirt

API Alphabetic Index t-w for libvirt

A-W +X-c +d-i +j-n +o-s +t-w +x-z +

Letter t:

target
virConnCopyLastError
+virCopyLastError
+virDomainSetMemory
+
terminated
virConnectGetType
+virDomainGetXMLDesc
+virNetworkGetBridgeName
+virNetworkGetXMLDesc
+
than
virDomainGetSchedulerParameters
+virDomainSetSchedulerParameters
+
that
virConnCopyLastError
+virConnGetLastError
+virConnResetLastError
+virDomainCoreDump
+virDomainGetInfo
+virDomainGetName
+virDomainPinVcpu
+virDomainReboot
+virDomainSetVcpus
+virDomainShutdown
+virNetworkGetName
+
their
virConnectListDomains
+virConnectListNetworks
+
then
virConnectOpenReadOnly
+virDomainGetMaxMemory
+virDomainGetVcpus
+virDomainSetMaxMemory
+virDomainSetMemory
+
there
virConnectClose
+virDomainGetVcpus
+virDomainReboot
+virDomainShutdown
+virErrorFunc
+virSetErrorFunc
+
thereafter
virDomainDestroy
+virDomainFree
+virNetworkDestroy
+virNetworkFree
+
this
_virError
+virDomainGetMaxMemory
+virDomainGetMaxVcpus
+virDomainGetSchedulerParameters
+virDomainGetVcpus
+virDomainSave
+virDomainSetMaxMemory
+virDomainSetMemory
+virDomainSetSchedulerParameters
+virDomainSetVcpus
+virInitialize
+
those
virSetErrorFunc
+
threads
_virNodeInfo
+
time
_virDomainInfo
+_virVcpuInfo
+
total
VIR_NODEINFO_MAXCPUS
+
true
VIR_CPU_USABLE
+
two
virGetVersion
+
type
_virSchedParameter
+virConnectGetMaxVcpus
+virDomainGetOSType
+virDomainGetSchedulerType
+virGetVersion
+

Letter u:

undefine
virDomainUndefine
+
underlying
virDomainGetVcpus
+virDomainPinVcpu
+virDomainSetVcpus
+
uniform
_virNodeInfo
+
unknown
virGetVersion
+
unsigned
virDomainGetID
+
unused
virDomainCoreDump
+
uri
virConnectOpen
+virConnectOpenReadOnly
+
usable
VIR_CPU_USABLE
+VIR_UNUSE_CPU
+VIR_USE_CPU
+virConnectOpenReadOnly
+virDomainPinVcpu
+virDomainReboot
+virDomainShutdown
+
use
virConnGetLastError
+virConnectGetCapabilities
+virErrorFunc
+virGetLastError
+
used
VIR_COPY_CPUMAP
+VIR_CPU_MAPLEN
+VIR_CPU_USABLE
+VIR_GET_CPUMAP
+VIR_UNUSE_CPU
+VIR_USE_CPU
+_virDomainInfo
+_virVcpuInfo
+virConnectGetType
+virDomainDestroy
+virDomainFree
+virDomainGetInfo
+virDomainGetXMLDesc
+virDomainReboot
+virDomainSetVcpus
+virDomainSuspend
+virNetworkDestroy
+virNetworkFree
+virNetworkGetXMLDesc
+
user
virConnSetErrorFunc
+virDomainGetInfo
+virErrorFunc
+virNodeGetInfo
+virSetErrorFunc
+

Letter v:

value
VIR_CPU_USABLE
+_virVcpuInfo
+virConnectGetMaxVcpus
+virConnectGetVersion
+virDomainGetAutostart
+virDomainGetSchedulerParameters
+virDomainGetSchedulerType
+virDomainGetXMLDesc
+virDomainSetSchedulerParameters
+virGetVersion
+virNetworkGetAutostart
+virNetworkGetBridgeName
+virNetworkGetXMLDesc
+
values
virDomainGetSchedulerParameters
+virGetVersion
+
vcpu
VIR_COPY_CPUMAP
+VIR_CPU_USABLE
+VIR_GET_CPUMAP
+
vcpus
virDomainGetVcpus
+
version
LIBVIR_VERSION_NUMBER
+virConnectGetVersion
+virGetVersion
+
virCapabilities
virConnectGetCapabilities
+
virCapabilitiesPtr
virConnectGetCapabilities
+
virConnCopyLastError
virConnGetLastError
+
virConnectGetMaxVcpus
virDomainGetMaxVcpus
+
virCopyLastError
virGetLastError
+
virDomainCreateLinux
virDomainGetXMLDesc
+
virDomainFlags
_virDomainInfo
+virDomainCreateLinux
+
virDomainGetSchedulerType
virDomainGetSchedulerParameters
+virDomainSetSchedulerParameters
+
virDomainGetUUID
VIR_UUID_BUFLEN
+
virDomainGetUUIDString
VIR_UUID_STRING_BUFLEN
+
virDomainGetVcpus
VIR_COPY_CPUMAP
+VIR_CPU_USABLE
+VIR_GET_CPUMAP
+
virDomainGetXMLDesc
virDomainCreateLinux
+
virDomainInfo
virDomainGetInfo
+
virDomainPinVcpu
VIR_COPY_CPUMAP
+VIR_CPU_MAPLEN
+VIR_GET_CPUMAP
+VIR_UNUSE_CPU
+VIR_USE_CPU
+virDomainGetVcpus
+
virDomainRestore
virDomainSave
+
virDomainResume
virDomainSuspend
+
virDomainSave
virDomainRestore
+
virError
virResetError
+
virErrorNumber
_virError
+
virNetworkCreateXML
virNetworkGetXMLDesc
+
virNetworkGetXMLDesc
virNetworkCreateXML
+
virNodeInfo
nodeinfo
+virNodeGetInfo
+
virResetError
virConnCopyLastError
+virCopyLastError
+
virSchedParameter
VIR_DOMAIN_SCHED_FIELD_LENGTH
+
virSuspendDomain
virDomainResume
+
virVcpuInfo
virDomainGetVcpus
+
virVcpuState
_virVcpuInfo
+
virtual
VIR_CPU_MAPLEN
+_virDomainInfo
+_virVcpuInfo
+vcpu
+virConnectGetMaxVcpus
+virDomainAttachDevice
+virDomainDetachDevice
+virDomainGetMaxVcpus
+virDomainGetVcpus
+virDomainPinVcpu
+virDomainSetVcpus
+virNetworkCreateXML
+
virtualization
virDomainGetVcpus
+virDomainPinVcpu
+virDomainSetVcpus
+

Letter w:

was
virConnCopyLastError
+virCopyLastError
+virDomainGetMaxVcpus
+virDomainResume
+virGetVersion
+
when
virDomainGetAutostart
+virDomainSetAutostart
+virErrorFunc
+virInitialize
+virNetworkGetAutostart
+virNetworkSetAutostart
+
where
virDomainGetMaxMemory
+virDomainResume
+virDomainSetMaxMemory
+virDomainSetMemory
+
whether
virDomainGetAutostart
+virDomainSetAutostart
+virNetworkGetAutostart
+virNetworkSetAutostart
+
which
virConnGetLastError
+virConnSetErrorFunc
+virConnectClose
+virDomainPinVcpu
+virGetLastError
+virGetVersion
+virNetworkGetBridgeName
+virSetErrorFunc
+
while
virGetVersion
+
will
virConnCopyLastError
+virConnSetErrorFunc
+virCopyLastError
+virDomainCoreDump
+virDomainGetMaxVcpus
+virDomainGetName
+virDomainGetSchedulerParameters
+virDomainRestore
+virDomainSave
+virDomainSuspend
+virGetVersion
+virNetworkGetName
+virSetErrorFunc
+
with
VIR_COPY_CPUMAP
+VIR_CPU_MAPLEN
+VIR_CPU_USABLE
+VIR_GET_CPUMAP
+VIR_UNUSE_CPU
+VIR_USE_CPU
+virConnCopyLastError
+virConnectClose
+virConnectGetVersion
+virCopyLastError
+virDomainGetMaxVcpus
+virDomainGetSchedulerParameters
+virDomainGetXMLDesc
+virNetworkGetXMLDesc
+
without
virDomainSuspend
+
work
virConnectGetVersion
+
www
virConnectGetType
+

A-W +X-c +d-i +j-n +o-s +t-w +x-z +

diff --git a/docs/APIchunk6.html b/docs/APIchunk6.html new file mode 100644 index 0000000000..cb7c73f5d0 --- /dev/null +++ b/docs/APIchunk6.html @@ -0,0 +1,24 @@ + + +API Alphabetic Index x-z for libvirt diff --git a/docs/APIconstructors.html b/docs/APIconstructors.html index 7fc7136683..10142472e9 100644 --- a/docs/APIconstructors.html +++ b/docs/APIconstructors.html @@ -17,4 +17,4 @@ virNetworkLookupByName
virNetworkLookupByUUID
virNetworkLookupByUUIDString
-

+

diff --git a/docs/APIfiles.html b/docs/APIfiles.html index d8c6cf3256..470d59d1ec 100644 --- a/docs/APIfiles.html +++ b/docs/APIfiles.html @@ -211,4 +211,4 @@ virResetError
virResetLastError
virSetErrorFunc
-

+

diff --git a/docs/APIfunctions.html b/docs/APIfunctions.html index df939ee74d..c7fa0f19b5 100644 --- a/docs/APIfunctions.html +++ b/docs/APIfunctions.html @@ -109,4 +109,4 @@

Type void *:

virConnSetErrorFunc
virErrorFunc
virSetErrorFunc
-

+

diff --git a/docs/APIsymbols.html b/docs/APIsymbols.html index c423cd7b76..dcbd811ec7 100644 --- a/docs/APIsymbols.html +++ b/docs/APIsymbols.html @@ -211,4 +211,4 @@ virVcpuInfo
virVcpuInfoPtr
virVcpuState
-

+

diff --git a/docs/FAQ.html b/docs/FAQ.html index 45787637fc..f08f54928c 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -77,4 +77,4 @@ via the pkg-config command line tool, like:

pkg-config libvirt --libs

-

+

diff --git a/docs/architecture.html b/docs/architecture.html index 7dbeb70d49..9aecdf0bba 100644 --- a/docs/architecture.html +++ b/docs/architecture.html @@ -64,4 +64,4 @@ drivers present in driver.h:

  • xend_internal: implements the driver fun

Note that a given driver may only implement a subset of those functions, (for example saving a Xen domain state to disk and restoring it is only possible though the Xen Daemon), in that case the driver entry points for -unsupported functions are initialized to NULL.

+unsupported functions are initialized to NULL.

diff --git a/docs/bugs.html b/docs/bugs.html index dad16e7659..1aef989847 100644 --- a/docs/bugs.html +++ b/docs/bugs.html @@ -9,4 +9,4 @@ If possible generate the patches by using cvs diff -u in a CVS checkout.

W If you want to report a bug or ask for a feature, please check the existing open bugs, then if yours isn't a duplicate of an existing bug, log a new bug and attach any patch or extra data that you may have available. It is always a good idea to also to post to the mailing-list -too, so that everybody working on the project can see it, thanks !

+too, so that everybody working on the project can see it, thanks !

diff --git a/docs/devhelp/libvirt-libvirt.html b/docs/devhelp/libvirt-libvirt.html index 4f1bb4e0cc..b3460c2e0d 100644 --- a/docs/devhelp/libvirt-libvirt.html +++ b/docs/devhelp/libvirt-libvirt.html @@ -362,7 +362,7 @@ The content of this structure is not made public by the API.

virConnectGetType ()

const char *	virConnectGetType	(virConnectPtr conn)

Get the name of the Hypervisor software used.

-
conn:pointer to the hypervisor connection
Returns:NULL in case of error, a static zero terminated string otherwise.
+
conn:pointer to the hypervisor connection
Returns:NULL in case of error, a static zero terminated string otherwise. See also: http://www.redhat.com/archives/libvir-list/2007-February/msg00096.html

virConnectGetVersion ()

int	virConnectGetVersion		(virConnectPtr conn, 
unsigned long * hvVer)

Get the version level of the Hypervisor running. This may work only with hypervisor call, i.e. with priviledged access to the hypervisor, not with a Read-Only connection.

@@ -402,11 +402,11 @@ The content of this structure is not made public by the API.

virConnectOpen ()

virConnectPtr	virConnectOpen		(const char * name)

This function should be called first to get a connection to the Hypervisor and xen store

-
name:optional argument currently unused, pass NULL
Returns:a pointer to the hypervisor connection or NULL in case of error
+
name:URI of the hypervisor
Returns:a pointer to the hypervisor connection or NULL in case of error URIs are documented at http://libvirt.org/uri.html

virConnectOpenReadOnly ()

virConnectPtr	virConnectOpenReadOnly	(const char * name)

This function should be called first to get a restricted connection to the libbrary functionalities. The set of APIs usable are then restricted on the available methods to control the domains.

-
name:optional argument currently unused, pass NULL
Returns:a pointer to the hypervisor connection or NULL in case of error
+
name:URI of the hypervisor
Returns:a pointer to the hypervisor connection or NULL in case of error URIs are documented at http://libvirt.org/uri.html

virDomainAttachDevice ()

int	virDomainAttachDevice		(virDomainPtr domain, 
char * xml)

Create a virtual device attachment to backend.

diff --git a/docs/devhelp/libvirt-virterror.html b/docs/devhelp/libvirt-virterror.html index fab930a268..655367cc43 100644 --- a/docs/devhelp/libvirt-virterror.html +++ b/docs/devhelp/libvirt-virterror.html @@ -110,7 +110,7 @@ void virConnResetLastError (VIR_ERR_OK = 0 VIR_ERR_INTERNAL_ERROR = 1 /* internal error */ VIR_ERR_NO_MEMORY = 2 /* memory allocation failure */ - VIR_ERR_NO_SUPPORT = 3 /* no support for this connection */ + VIR_ERR_NO_SUPPORT = 3 /* no support for this function */ VIR_ERR_UNKNOWN_HOST = 4 /* could not resolve hostname */ VIR_ERR_NO_CONNECT = 5 /* can't connect to hypervisor */ VIR_ERR_INVALID_CONN = 6 /* invalid connection object */ @@ -133,7 +133,7 @@ void virConnResetLastError (VIR_ERR_NO_DEVICE = 23 /* missing domain devices information */ VIR_ERR_NO_XENSTORE = 24 /* could not open Xen Store control */ VIR_ERR_DRIVER_FULL = 25 /* too many drivers registered */ - VIR_ERR_CALL_FAILED = 26 /* not supported by the drivers */ + VIR_ERR_CALL_FAILED = 26 /* not supported by the drivers (DEPRECATED) */ VIR_ERR_XML_ERROR = 27 /* an XML description is not well formed or broken */ VIR_ERR_DOM_EXIST = 28 /* the domain already exist */ VIR_ERR_OPERATION_DENIED = 29 /* operation forbidden on read-only connections */ diff --git a/docs/downloads.html b/docs/downloads.html index 292783b39e..e4fd7bccc9 100644 --- a/docs/downloads.html +++ b/docs/downloads.html @@ -7,4 +7,4 @@ available, first register onto the server:

cvs -d :pserver:anoncvs@l checkout the development tree with:

cvs -d :pserver:anoncvs@libvirt.org:2401/data/cvs co libvirt

Use ./autogen.sh to configure the local checkout, then make and make install, as usual. All normal cvs commands are now -available except commiting to the base.

+available except commiting to the base.

diff --git a/docs/errors.html b/docs/errors.html index f2ebca474e..dab18a0df1 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -66,4 +66,4 @@ this point, see the error.py example about it:

def handler(ctxt, err):
 
 libvirt.registerErrorHandler(handler, 'context') 

the second argument to the registerErrorHandler function is passed as the fist argument of the callback like in the C version. The error is a tuple -containing the same field as a virError in C, but cast to Python.

+containing the same field as a virError in C, but cast to Python.

diff --git a/docs/format.html b/docs/format.html index d95fb6a270..a131ea78d4 100644 --- a/docs/format.html +++ b/docs/format.html @@ -412,4 +412,4 @@ Xen support, you will see the os_type of xen to indicate a paravirtual kernel, then architecture informations and potential features.

The third block (in green) gives similar informations but when running a 32 bit OS fully virtualized with Xen using the hvm support.

This section is likely to be updated and augmented in the future, see the discussion which led to the capabilities format in the mailing-list -archives.

+archives.

diff --git a/docs/html/book1.html b/docs/html/book1.html index a6a77c2a3c..037dd6836f 100644 --- a/docs/html/book1.html +++ b/docs/html/book1.html @@ -1,3 +1,3 @@ -Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

+Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

diff --git a/docs/html/index.html b/docs/html/index.html index a6a77c2a3c..037dd6836f 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -1,3 +1,3 @@ -Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

+Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

diff --git a/docs/html/libvirt-lib.html b/docs/html/libvirt-lib.html index a6a77c2a3c..037dd6836f 100644 --- a/docs/html/libvirt-lib.html +++ b/docs/html/libvirt-lib.html @@ -1,3 +1,3 @@ -Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

+Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library
  • virterror: error handling interfaces for the libvirt library

diff --git a/docs/html/libvirt-libvirt.html b/docs/html/libvirt-libvirt.html index 99038eaddc..299b7cf808 100644 --- a/docs/html/libvirt-libvirt.html +++ b/docs/html/libvirt-libvirt.html @@ -202,7 +202,7 @@ The content of this structure is not made public by the API.

Provides the maximum number of virtual CPUs supported for a guest VM of a specific type. The 'type' parameter here corresponds to the 'type' attribute in the <domain> element of the XML.

conn:pointer to the hypervisor connection
type:value of the 'type' attribute in the <domain> element
Returns:the maximum of virtual CPU or -1 in case of error.

Function: virConnectGetType

const char *	virConnectGetType	(virConnectPtr conn)

Get the name of the Hypervisor software used.

-
conn:pointer to the hypervisor connection
Returns:NULL in case of error, a static zero terminated string otherwise.

Function: virConnectGetVersion

int	virConnectGetVersion		(virConnectPtr conn, 
unsigned long * hvVer)
+
conn:pointer to the hypervisor connection
Returns:NULL in case of error, a static zero terminated string otherwise. See also: http://www.redhat.com/archives/libvir-list/2007-February/msg00096.html

Function: virConnectGetVersion

int	virConnectGetVersion		(virConnectPtr conn, 
unsigned long * hvVer)

Get the version level of the Hypervisor running. This may work only with hypervisor call, i.e. with priviledged access to the hypervisor, not with a Read-Only connection.

conn:pointer to the hypervisor connection
hvVer:return value for the version of the running hypervisor (OUT)
Returns:-1 in case of error, 0 otherwise. if the version can't be extracted by lack of capacities returns 0 and @hvVer is 0, otherwise @hvVer value is major * 1,000,000 + minor * 1,000 + release

Function: virConnectListDefinedDomains

int	virConnectListDefinedDomains	(virConnectPtr conn, 
char ** const names,
int maxnames)

list the defined domains, stores the pointers to the names in @names

@@ -222,9 +222,9 @@ The content of this structure is not made public by the API.

Provides the number of active networks.

conn:pointer to the hypervisor connection
Returns:the number of network found or -1 in case of error

Function: virConnectOpen

virConnectPtr	virConnectOpen		(const char * name)

This function should be called first to get a connection to the Hypervisor and xen store

-
name:optional argument currently unused, pass NULL
Returns:a pointer to the hypervisor connection or NULL in case of error

Function: virConnectOpenReadOnly

virConnectPtr	virConnectOpenReadOnly	(const char * name)
+
name:URI of the hypervisor
Returns:a pointer to the hypervisor connection or NULL in case of error URIs are documented at http://libvirt.org/uri.html

Function: virConnectOpenReadOnly

virConnectPtr	virConnectOpenReadOnly	(const char * name)

This function should be called first to get a restricted connection to the libbrary functionalities. The set of APIs usable are then restricted on the available methods to control the domains.

-
name:optional argument currently unused, pass NULL
Returns:a pointer to the hypervisor connection or NULL in case of error

Function: virDomainAttachDevice

int	virDomainAttachDevice		(virDomainPtr domain, 
char * xml)
+
name:URI of the hypervisor
Returns:a pointer to the hypervisor connection or NULL in case of error URIs are documented at http://libvirt.org/uri.html

Function: virDomainAttachDevice

int	virDomainAttachDevice		(virDomainPtr domain, 
char * xml)

Create a virtual device attachment to backend.

domain:pointer to domain object
xml:pointer to XML description of one device
Returns:0 in case of success, -1 in case of failure.

Function: virDomainCoreDump

int	virDomainCoreDump		(virDomainPtr domain, 
const char * to,
int flags)

This method will dump the core of a domain on a given file for analysis. Note that for remote Xen Daemon the file path will be interpreted in the remote host.

@@ -338,4 +338,4 @@ The content of this structure is not made public by the API.

Undefine a network but does not stop it if it is running

network:pointer to a defined network
Returns:0 in case of success, -1 in case of error

Function: virNodeGetInfo

int	virNodeGetInfo			(virConnectPtr conn, 
virNodeInfoPtr info)

Extract hardware information about the node.

-
conn:pointer to the hypervisor connection
info:pointer to a virNodeInfo structure allocated by the user
Returns:0 in case of success and -1 in case of failure.

+
conn:pointer to the hypervisor connection
info:pointer to a virNodeInfo structure allocated by the user
Returns:0 in case of success and -1 in case of failure.

diff --git a/docs/html/libvirt-virterror.html b/docs/html/libvirt-virterror.html index b96441c0f3..425e893bed 100644 --- a/docs/html/libvirt-virterror.html +++ b/docs/html/libvirt-virterror.html @@ -57,7 +57,7 @@ void virErrorFunc (void * userData,
VIR_ERR_OK = 0 VIR_ERR_INTERNAL_ERROR = 1 : internal error VIR_ERR_NO_MEMORY = 2 : memory allocation failure - VIR_ERR_NO_SUPPORT = 3 : no support for this connection + VIR_ERR_NO_SUPPORT = 3 : no support for this function VIR_ERR_UNKNOWN_HOST = 4 : could not resolve hostname VIR_ERR_NO_CONNECT = 5 : can't connect to hypervisor VIR_ERR_INVALID_CONN = 6 : invalid connection object @@ -80,7 +80,7 @@ void virErrorFunc (void * userData,
VIR_ERR_NO_DEVICE = 23 : missing domain devices information VIR_ERR_NO_XENSTORE = 24 : could not open Xen Store control VIR_ERR_DRIVER_FULL = 25 : too many drivers registered - VIR_ERR_CALL_FAILED = 26 : not supported by the drivers + VIR_ERR_CALL_FAILED = 26 : not supported by the drivers (DEPRECATED) VIR_ERR_XML_ERROR = 27 : an XML description is not well formed or broken VIR_ERR_DOM_EXIST = 28 : the domain already exist VIR_ERR_OPERATION_DENIED = 29 : operation forbidden on read-only connections @@ -120,4 +120,4 @@ void virErrorFunc (void * userData,
Function: virSetErrorFunc
void	virSetErrorFunc			(void * userData, 
virErrorFunc handler)

Set a library global error handling function, if @handler is NULL, it will reset to default printing on stderr. The error raised there are those for which no handler at the connection level could caught.

-
userData:pointer to the user data provided in the handler callback
handler:the function to get called in case of error or NULL

+
userData:pointer to the user data provided in the handler callback
handler:the function to get called in case of error or NULL

diff --git a/docs/index.html b/docs/index.html index c250bbd6f8..62c0d9bc7d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -95,6 +95,9 @@ virtualization mechanisms, it currently also support Perl bindings +
  • + OCaml bindings +
  • Xen project
  • diff --git a/docs/intro.html b/docs/intro.html index 2c0bafd501..8cb23d2ea5 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -28,4 +28,4 @@ exception being domain migration between node capabilities which may need to be added at the libvirt level). Where possible libvirt should be extendable to be able to provide the same API for remote nodes, however this is not the case at the moment, the code currently handle only local node accesses -(extension for remote access support is being worked on, see the mailing list discussions about it).

    +(extension for remote access support is being worked on, see the mailing list discussions about it).

    diff --git a/docs/libvir.html b/docs/libvir.html index f10a921fb6..b4468b63bb 100644 --- a/docs/libvir.html +++ b/docs/libvir.html @@ -1054,11 +1054,13 @@ archives.

    Binding for Python

    -

    Libvirt comes with direct support for the Python language (just make sure -you installed the libvirt-python package if not compiling from sources). Also -note that Daniel Berrange provides bindings for Perl -too.

    +

    Libvirt comes with direct support for the Python language (just +make sure you installed the libvirt-python package if not compiling +from sources). Also note that Daniel Berrange provides bindings for +Perl and Richard Jones supplies bindings for +OCaml too.

    The Python binding should be complete and are mostly automatically generated from the formal description of the API in xml. The bindings are diff --git a/docs/libvirt-api.xml b/docs/libvirt-api.xml index 2f16acfe3f..1866510105 100644 --- a/docs/libvirt-api.xml +++ b/docs/libvirt-api.xml @@ -296,7 +296,7 @@ - + @@ -319,7 +319,7 @@ - + @@ -481,7 +481,7 @@ Get the name of the Hypervisor software used. - + @@ -540,13 +540,13 @@ This function should be called first to get a connection to the Hypervisor and xen store - - + + This function should be called first to get a restricted connection to the libbrary functionalities. The set of APIs usable are then restricted on the available methods to control the domains. - - + + Copy the content of the last error caught at the library level One will need to free the result with virResetError() diff --git a/docs/libvirt-refs.xml b/docs/libvirt-refs.xml index f8ce1c600a..f7f253ed92 100644 --- a/docs/libvirt-refs.xml +++ b/docs/libvirt-refs.xml @@ -1076,6 +1076,9 @@ + + + @@ -1137,6 +1140,14 @@ + + + + + + + + @@ -1189,6 +1200,8 @@ + + @@ -1208,8 +1221,6 @@ - - @@ -1287,6 +1298,9 @@ + + + @@ -1310,18 +1324,18 @@ + + + + - - - - @@ -1549,6 +1563,9 @@ + + + @@ -1632,8 +1649,6 @@ - - @@ -1692,6 +1707,10 @@ + + + + @@ -1928,6 +1947,16 @@ + + + + + + + + + + @@ -2096,6 +2125,13 @@ + + + + + + + @@ -2250,6 +2286,9 @@ + + + @@ -2397,8 +2436,6 @@ - - @@ -2407,6 +2444,10 @@ + + + + @@ -2444,8 +2485,6 @@ - - @@ -2561,6 +2600,9 @@ + + + @@ -3012,9 +3054,11 @@ + + + - @@ -3283,6 +3327,9 @@ + + + @@ -3307,8 +3354,8 @@ - - + + diff --git a/docs/news.html b/docs/news.html index 5f6d88f7f3..d9216d412f 100644 --- a/docs/news.html +++ b/docs/news.html @@ -246,4 +246,4 @@ and check the ChangeLog to gauge progresses.

    0.0.1: Dec 19 2005

    • First release
    • Basic management of existing Xen domains
    • Minimal autogenerated Python bindings
    • -

    +

    diff --git a/docs/python.html b/docs/python.html index 1ef9d3ef16..adf9320035 100644 --- a/docs/python.html +++ b/docs/python.html @@ -1,9 +1,10 @@ -Binding for Python

    Binding for Python

    Libvirt comes with direct support for the Python language (just make sure -you installed the libvirt-python package if not compiling from sources). Also -note that Daniel Berrange provides bindings for Perl -too.

    The Python binding should be complete and are mostly automatically +Binding for Python

    Binding for Python

    Libvirt comes with direct support for the Python language (just +make sure you installed the libvirt-python package if not compiling +from sources). Also note that Daniel Berrange provides bindings for +Perl and Richard Jones supplies bindings for +OCaml too.

    The Python binding should be complete and are mostly automatically generated from the formal description of the API in xml. The bindings are articulated around 2 classes virConnect and virDomain mapping to the C types. Functions in the C API taking either type as argument then @@ -50,4 +51,4 @@ from the C API, the only points to notice are:

    • the import of the modu
    • extracting and printing some informations about the domain using various methods associated to the virDomain class.
    • -

    +

    diff --git a/docs/remote.html b/docs/remote.html index 93ada967a9..7c0ebbe064 100644 --- a/docs/remote.html +++ b/docs/remote.html @@ -582,4 +582,4 @@ also possible.

    The protocol contains support for multiple program types and protocol versioning, modelled after SunRPC. -

    +

    diff --git a/docs/site.xsl b/docs/site.xsl index 8bad21ede5..6108802e55 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -112,6 +112,7 @@
  • Open bugs
  • virt-manager
  • Perl bindings
  • +
  • OCaml bindings
  • Xen project
  • @@ -161,6 +162,7 @@
  • Open bugs
  • virt-manager
  • Perl bindings
  • +
  • OCaml bindings
  • Xen project
  • @@ -203,6 +205,7 @@

    Open bugs

    virt-manager

    Perl bindings

    +

    OCaml bindings

    Xen project

    Made with Libxml2 Logo @@ -232,6 +235,7 @@
  • Open bugs
  • virt-manager
  • Perl bindings
  • +
  • OCaml bindings
  • Xen project
  • diff --git a/docs/uri.html b/docs/uri.html index 0990275c99..d77f71993f 100644 --- a/docs/uri.html +++ b/docs/uri.html @@ -171,4 +171,4 @@ connection.

    You should consider using libvirt remote support in future. -

    +