Provide an XML description of the domain

libvirt_domain_get_uuid
libvirt_domain_interface_stats
Libvirt Functions
PHP Manual

# libvirt_domain_get_xml_desc

(php-libvirt 0.1)

libvirt_domain_get_xml_desc — Provide an XML description of the domain

### Description

string libvirt_domain_get_xml_desc ( resource `$domain` [, integer `$flags`= 0 ] )

Provide an XML description of the domain. The description may be reused later to relaunch the domain with libvirt_domain_create_xml() or defined with libvirt_domain_define_xml().

### Parameters

`domain`

  Domain resource of domain to get XML description.

`flags`

  Logical OR of any of these flags:

  - `VIR_DOMAIN_XML_SECURE` - dump security sensitive information too
  - `VIR_DOMAIN_XML_INACTIVE` - dump inactive domain information

### Return Values

String with XML description of domain. For more details see » http://www.libvirt.org/formatdomain.html.

### See Also

- 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_get_uuid
libvirt_domain_interface_stats
Libvirt Functions
PHP Manual