I am forwarding this email again. Need your help as I am very new to libvirt.
From: kiran.javaid@live.com
To: libvirt-users@redhat.com
Date: Thu, 15 Sep 2011 13:02:32 +0200
Subject: Re: [libvirt-users] virDomainDefineXml Issue
The contents of my xml:
<domain type='xen' >
<name>for_kiran</name>
<uuid>d636ccee-ca30-11e0-9624-001f160cb28c</uuid>
<!-- <bootloader>/usr/bin/pygrub</bootloader>-->
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
</os>
<memory>512000</memory>
<vcpu>1</vcpu>
<devices>
<disk type='file'>
<source file='/root/for_kiran.img'/>
<target dev='hda'/>
</disk>
<interface type='network'>
<source network='default'/>
<mac address='aa:00:00:00:00:11'/>
<script path='/etc/xen/scripts/vif-nat'/>
</interface>
<!-- <console tty='/dev/pty'/> -->
<graphics type="vnc" />
</devices>
</domain>> Date: Mon, 12 Sep 2011 12:26:41 +0200
> From: jdenemar@redhat.com
> To: kiran.javaid@live.com
> CC: libvirt-users@redhat.com
> Subject: Re: [libvirt-users] virDomainDefineXml Issue
>
> 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
_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users