<br clear="all">Hi,<br><br>I have been using libvirt in my python software for a while just to get deployed domain information. Usually I create a xen configuration file with all the parameters and trigger a "xm create -f file" command to deploy the VM.
<br><br>The problem I have noticed since some time is that as this command is forwarded from Python to Xen, and no error code is returned; I loose track if the domain deployment request fails which is rare but happens.<br>
<br>So I thought to use libvirt for virtual machine deployment, and wondered if there are python bindings which I could use. I also try to look up for some kind of small example code to deploy a VM via libvirt on the libvirt site but didn't succeed to find. Can any body help me out with their experience?
<br><br>Thanks,<br>Omer<br>-- <br>----------------------------------------------------------   <br>CERN – European Organization for Nuclear<br>Research, IT Department,  CH-1211<br>Geneva 23, Switzerland<br><br>Phone: +41 (0) 22 767 2224
<br>Fax:     +41 (0) 22 766 8683<br>E-mail : <a href="mailto:Omer.Khalid@cern.ch">Omer.Khalid@cern.ch</a><br>Homepage: <a href="http://cern.ch/Omer.Khalid">http://cern.ch/Omer.Khalid</a>