Get inactive domains

libvirt_list_active_domains
libvirt_list_domains
Libvirt Functions
PHP Manual

# libvirt_list_defined_domains

(php-libvirt 0.1)

libvirt_list_defined_domains — Get inactive domains

### Description

array libvirt_list_defined_domains ( resource `$connection` )

Get the names of defined but inactive domains. You can use libvirt_domain_lookup_by_name() to get domain resource from name.

In most cases it is better to use libvirt_list_domains() as it returns the domain resources.

### Parameters

`connection`

  Connection resource of hypervisor.

### Return Values

`FALSE` on failure and Array of strings containing domain names.

### See Also

- libvirt_list_active_domains() - Get active domains
- libvirt_list_domains() - List all domains

libvirt_list_active_domains
libvirt_list_domains
Libvirt Functions
PHP Manual