libvirt_list_active_domains Get active domains
&reftitle.description; array libvirt_list_active_domains resource connection

Get the list of active domains. Their hypervisor IDs are returned. You can use `libvirt_domain_lookup_by_id` to get domain resource from hypervisor ID.

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

&reftitle.parameters;

connection

  Connection resource of hypervisor.

&reftitle.returnvalues;

&false; on failure and Array of integers containing hypervisor IDs.

&reftitle.seealso;

- `libvirt_list_defined_domains`
- `libvirt_list_domains`