libvirt_domain_suspend Suspend a domain
&reftitle.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.

&reftitle.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`).

&reftitle.returnvalues;

&true; on success and &false; on failure

&reftitle.seealso;

- `libvirt_domain_reboot`
- `libvirt_domain_resume`
- `libvirt_domain_shutdown`
- `libvirt_domain_create`