Libvirt Functions
PHP Manual

libvirt_domain_get_xml_desc

(php-libvirt 0.1)

libvirt_domain_get_xml_descProvide 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 Functions
PHP Manual