[libvirt-users] virDomainDefineXml Issue

Jiri Denemark jdenemar at redhat.com
Mon Sep 12 10:26:41 UTC 2011


On Fri, Sep 09, 2011 at 16:02:45 +0200, Kiran Javaid wrote:
> 
> Hello Everyone,
> 
> I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor.
> 
> domPtr = lib.virDomainDefineXML(conPtr, domainXML);
> 
> I get the following error:
> 
> "libvir: Xen Daemon error : XML error: failed to parse domain description"

This suggests there is an error in your xml. Would you mind sending the
content of domainXML to this list?

Jirka




More information about the libvirt-users mailing list