[libvirt-users] FW: virDomainDefineXml Issue

Kiran Javaid kiran.javaid at live.com
Fri Sep 23 10:26:17 UTC 2011


Hello,

I am forwarding this email again. Need your help as I am very new to libvirt. 

Regards,
Kiran

From: kiran.javaid at live.com
To: libvirt-users at 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 at redhat.com
> To: kiran.javaid at live.com
> CC: libvirt-users at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110923/8c09bceb/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110923/8c09bceb/attachment.ksh>


More information about the libvirt-users mailing list