Launch a defined domain.

libvirt_domain_create_xml
libvirt_domain_define_xml
Libvirt Functions
PHP Manual

# libvirt_domain_create

(php-libvirt 0.1)

libvirt_domain_create — Launch 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_list_domains() - List all domains
- libvirt_domain_lookup_by_uuid() - Try to look up a domain by its UUID (binary)
- libvirt_domain_lookup_by_uuid_string() - Try to look up a domain by its UUID (textual)
- libvirt_domain_lookup_by_id() - Try to look up a domain based on the hypervisor ID number
- libvirt_domain_lookup_by_name() - Try to look up a domain by its name.
- libvirt_domain_create_xml() - Launch a new guest domain, based on an XML description
- libvirt_domain_define_xml() - Define a domain, but does not start it.

libvirt_domain_create_xml
libvirt_domain_define_xml
Libvirt Functions
PHP Manual