Suspend a domain

libvirt_domain_shutdown
libvirt_domain_undefine
Libvirt Functions
PHP Manual

# libvirt_domain_suspend

(php-libvirt 0.1)

libvirt_domain_suspend — Suspend 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_domain_reboot() - Reboot a domain
- libvirt_domain_resume() - Resume an suspended domain
- libvirt_domain_shutdown() - Shutdown a domain
- libvirt_domain_create() - Launch a defined domain.

libvirt_domain_shutdown
libvirt_domain_undefine
Libvirt Functions
PHP Manual