Libvirt Functions
PHP Manual

libvirt_domain_shutdown

(php-libvirt 0.1)

libvirt_domain_shutdownShutdown 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 Functions
PHP Manual