Shutdown a domain

libvirt_domain_resume
libvirt_domain_suspend
Libvirt Functions
PHP Manual

# libvirt_domain_shutdown

(php-libvirt 0.1)

libvirt_domain_shutdown — Shutdown a domain

### Description

bool libvirt_domain_shutdown ( resource `$domain` )

Shutdown a domain, the domain object is still usable there after but the domain OS is being stopped. Note that the guest OS may ignore the request.

### Parameters

`domain`

  Domain resource of domain to shutdown.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_suspend() - Suspend a domain
- libvirt_domain_create() - Launch a defined domain.

libvirt_domain_resume
libvirt_domain_suspend
Libvirt Functions
PHP Manual