Libvirt Functions
PHP Manual

libvirt_domain_create

(php-libvirt 0.1)

libvirt_domain_createLaunch a defined domain.

Description

bool libvirt_domain_create ( resource $domain )

Launch a defined domain. If the call succeed the domain moves from the defined to the running domains pools.

Parameters

domain

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