IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
<info>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.</info>
<info>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.</info>
<returntype='int'info='0 in case of success or -1 in case of error.'/>
<argname='conn'type='virConnectPtr'info='pointer to the hypervisor connection'/>
<info>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.</info>
<returntype='int'info='-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'/>
<info>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.</info>
<returntype='int'info='0 in case of success and -1 in case of failure.'/>
<info>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.</info>
<returntype='int'info='0 in case of success and -1 in case of failure.'/>
<argname='domain'type='virDomainPtr'info='a domain object or NULL'/>
<argname='info'type='virDomainInfoPtr'info='pointer to a virDomainInfo structure allocated by the user'/>
<info>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.</info>
<returntype='unsigned long'info='the memory size in kilobytes or 0 in case of error.'/>
<argname='domain'type='virDomainPtr'info='a domain object or NULL'/>
<returntype='const char *'info='a pointer to the name or NULL, the string need not be deallocated its lifetime will be the same as the domain object.'/>
<info>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.</info>
<returntype='int'info='0 in case of success and -1 in case of failure.'/>
<argname='domain'type='virDomainPtr'info='a domain object or NULL'/>
<argname='memory'type='unsigned long'info='the memory size in kilobytes'/>
<info>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.</info>
<returntype='int'info='0 in case of success and -1 in case of failure.'/>
<info>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.</info>
<returntype='int'info='-1 in case of failure, 0 otherwise, and values for @libVer and @typeVer have the format major * 1,000,000 + minor * 1,000 + release.'/>
<argname='libVer'type='unsigned long *'info='return value for the library version (OUT)'/>