(php-libvirt 0.1)
libvirt_domain_define_xml — Define a domain, but does not start it.
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.
Libvirt connection obtained by calling libvirt_connect().
XML description of the domain. For more details see » http://www.libvirt.org/formatdomain.html
Returns FALSE on failure and domain resource on success