diff --git a/docs/apibuild.py b/docs/apibuild.py index ada57fbe55065d17bc9670dc4023269703d77f7c..15c01ce85a63884de6433b3c83b7d4a1eb3d9000 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -2073,11 +2073,11 @@ class docBuilder: def rebuild(): builder = None - if glob.glob("../src/libvir.c") != [] : + if glob.glob("../src/libvirt.c") != [] : print "Rebuilding API description for libvirt" builder = docBuilder("libvirt", ["../src", "../include"], []) - elif glob.glob("src/libvir.c") != [] : + elif glob.glob("src/libvirt.c") != [] : print "Rebuilding API description for libvir" builder = docBuilder("libvirt", ["src", "include"], []) diff --git a/docs/html/book1.html b/docs/html/book1.html index 99c0a97029b7d950dfd40cd91d87cdcbead0eb12..893b6f1e855fbb6a45bd8d82907d67b041175fad 100644 --- a/docs/html/book1.html +++ b/docs/html/book1.html @@ -1,3 +1,3 @@ -Reference Manual for libvir

Reference Manual for libvir

Table of Contents

  • libvir: core interfaces for the libvir library

related links

Graphics and design by Diana Fong

+Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library

related links

Graphics and design by Diana Fong

diff --git a/docs/html/index.html b/docs/html/index.html index 99c0a97029b7d950dfd40cd91d87cdcbead0eb12..893b6f1e855fbb6a45bd8d82907d67b041175fad 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -1,3 +1,3 @@ -Reference Manual for libvir

Reference Manual for libvir

Table of Contents

  • libvir: core interfaces for the libvir library

related links

Graphics and design by Diana Fong

+Reference Manual for libvirt

Reference Manual for libvirt

Table of Contents

  • libvirt: core interfaces for the libvirt library

related links

Graphics and design by Diana Fong

diff --git a/docs/libvir-api.xml b/docs/libvirt-api.xml similarity index 76% rename from docs/libvir-api.xml rename to docs/libvirt-api.xml index 49dedf2ea2249ba5030301fc42df40288473e099..450487ac427b00add9cc3cc15da2f95c882f3733 100644 --- a/docs/libvir-api.xml +++ b/docs/libvirt-api.xml @@ -1,9 +1,9 @@ - + - - core interfaces for the libvir library - Provides the interfaces of the libvir library to handle Xen domains from a process running in domain 0 + + core interfaces for the libvirt library + Provides the interfaces of the libvirt library to handle Xen domains from a process running in domain 0 Daniel Veillard <veillard@redhat.com> @@ -64,33 +64,33 @@ - + Macro providing the version of the library as version * 1,000,000 + minor * 1000 + micro - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + a virConnectPtr is pointer to a virConnect private structure, this is the type used to reference a connection to the Xen Hypervisor in the API. - - - - + + + + @@ -103,62 +103,62 @@ * - add padding to this structure for ABI long term protection *'/> - + a virDomainInfoPtr is a pointer to a virDomainInfo structure. - + - + a virDomainKernelPtr is a pointer to a virDomainKernel structure. - + a virDomainPtr is pointer to a virDomain private structure, this is the type used to reference a Xen domain in the API. - - - + + + This function closes the connection to the Hypervisor. This should not be called if further interaction with the Hypervisor are needed especially if there is running domain which need further monitoring by the application. - + Get the name of the Hypervisor software used. - + 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. - + Collect the list of active domains, and store their ID in @maxids - + Provides the number of active domains. - + 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. - + Launch a new Linux guest domain, unimplemented yet, API to be defined. This would function requires priviledged access to the hypervisor. @@ -168,94 +168,94 @@ - + Destroy the domain object. The running instance is shutdown if not down already and all resources used by it are given back to the hypervisor. The data structure is freed and should not be used thereafter if the call does not return an error. This function may requires priviledged access - + Free the domain object. The running instance is kept alive. The data structure is freed and should not be used thereafter. - + Get the hypervisor ID number for the domain - + Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the informations can be extracted. - + Retrieve the maximum amount of physical memory allocated to a domain. If domain is NULL, then this get the amount of memory reserved to Domain0 i.e. the domain where the application runs. - + Get the public name for that domain - + Get the type of domain operation system. - + Provide an XML description of the domain. NOTE: this API is subject to changes. - + Try to find a domain based on the hypervisor ID number - + Try to lookup a domain on the given hypervisor based on its name. - + This method will restore a domain saved to disk by virDomainSave(). - + Resume an suspended domain, the process is restarted from the state where it was frozen by calling virSuspendDomain(). This function may requires priviledged access - + This method will suspend a domain and save its memory contents to a file on disk. After the call, if successful, the domain is not listed as running anymore (this may be a problem). Use virDomainRestore() to restore a domain after saving. - + Dynamically change the maximum amount of physical memory allocated to a domain. If domain is NULL, then this change the amount of memory reserved to Domain0 i.e. the domain where the application runs. This function requires priviledged access to the hypervisor. - + Shutdown a domain, the domain object is still usable there after but the domain OS is being stopped. Note that the guest OS may ignore the request. TODO: should we add an option for reboot, knowing it may not be doable in the general case ? - + Suspends an active domain, the process is frozen without further access to CPU resources and I/O but the memory used by the domain at the hypervisor level will stay allocated. Use virDomainResume() to reactivate the domain. This function may requires priviledged access. - + Provides two information back, @libVer is the version of the library while @typeVer will be the version of the hypervisor type @type against which the library was compiled. If @type is NULL, "Xen" is assumed, if @type is unknown or not availble, an error code will be returned and @typeVer will be 0. diff --git a/docs/libvir-refs.xml b/docs/libvirt-refs.xml similarity index 89% rename from docs/libvir-refs.xml rename to docs/libvirt-refs.xml index 110087e600d8b0fae8397f7252a03537965261dd..af83e808a849a6fa5899d74a7011c03043688cae 100644 --- a/docs/libvir-refs.xml +++ b/docs/libvirt-refs.xml @@ -1,62 +1,62 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -187,7 +187,7 @@ - +