Libvirt Functions
PHP Manual

libvirt_domain_suspend

(php-libvirt 0.1)

libvirt_domain_suspendSuspend a domain

Description

bool libvirt_domain_suspend ( resource $domain )

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 libvirt_domain_resume() to reactivate the domain. This function may requires privileged access.

Parameters

domain

Domain resource of domain to suspend.You can get domain resource using various functions (i.e. libvirt_domain_lookup_by_uuid() or libvirt_list_domains()).

Return Values

TRUE on success and FALSE on failure

See Also


Libvirt Functions
PHP Manual