Libvirt Functions
PHP Manual

libvirt_domain_reboot

(php-libvirt 0.1)

libvirt_domain_reboot Reboot a domain

Description

bool libvirt_domain_reboot ( resource $domain )

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

Parameters

domain

Domain resource of domain to reboot.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