Libvirt Functions
PHP Manual

libvirt_domain_get_connect

(php-libvirt 0.4)

libvirt_domain_get_connectReturns connection resource for a domain

Description

resource libvirt_domain_get_connect ( resource $domain )

Returns the connection resource for a domain.

Note: Notice
. You should not rely on this function. It is better to keep your own reference of the connections and domains.

Parameters

domain

Domain resource of domain to get connection resource.

Return Values

FALSE on failure and connection resource on success.


Libvirt Functions
PHP Manual