core interfaces for the libvir library
Provides the interfaces of the libvir library to handle Xen domains from a process running in domain 0
Daniel Veillard <veillard@redhat.com>
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.
a virDomainInfoPtr is a pointer to a virDomainInfo 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 version level of the Hypervisor running.
Collect the list of active domains, and store their ID in @maxids
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 read-only connection to the xen store. The set of APIs usable are then restricted.
Launch a new Linux guest domain
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.
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
Try to find a domain based on the hypervisor ID number
Try to lookup a domain on the given hypervisor
Resume an suspended domain, the process is restarted from the state where it was frozen by calling virSuspendDomain().
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.
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.