libvirt_domain_get_xml_desc Provide an XML description of the domain
&reftitle.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`.

&reftitle.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

&reftitle.returnvalues;

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

&reftitle.seealso;

- `libvirt_domain_create_xml`
- `libvirt_domain_define_xml`