libvirt_domain_define_xml Define a domain, but does not start it.
&reftitle.description; resource libvirt_domain_define_xml resource connection string xml

Define a domain, but does not start it. This definition is persistent, until explicitly undefined with `libvirt_domain_undefine`. The domain is defined using XML description provided.

&reftitle.parameters;

connection

  Libvirt connection obtained by calling `libvirt_connect`.

xml

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

&reftitle.returnvalues;

Returns &false; on failure and domain resource on success

&reftitle.seealso;

- `libvirt_domain_undefine`
- `libvirt_domain_create`