Hi,
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.
The problem I have noticed since some time is that as this command
Thanks a lot for your prompt reply and the explaination.
The upgrade I would like to make is from 0.1.8 to 0.1.9. Could you please
guide me to a HowTo link?
Many thanks,
Omer
On 7/10/07, Richard W.M. Jones [EMAIL PROTECTED] wrote:
Omer Khalid wrote:
Hi,
I am wondering if its possible
Hi,
I have the following code working on libvirt 0.1.9:
conn = libvirt.openReadOnly(None)
if conn == None:
print 'Failed to open connection to the hypervisor'
#sys.exit(1)
try:
domains =
, 'lookupByID', if ret is None:raise libvirtError('virDomainLookupByID()
failed'))]
Thanks
Omer
On 6/27/07, Daniel P. Berrange [EMAIL PROTECTED] wrote:
On Wed, Jun 27, 2007 at 03:39:30PM +0200, Omer Khalid wrote:
Hi,
I have the following code working on libvirt 0.1.9
[EMAIL PROTECTED] wrote:
Omer Khalid wrote:
I tried with the traceback. Here is the output:
[('stdin', 3, '?', None),
('/usr/lib/python2.3/site-packages/libvirt.py', 268, 'lookupByID', if
ret is None:raise libvirtError('virDomainLookupByID() failed'))]
[('stdin', 3, '?', None),
('/usr/lib
Hi,
I am still unable to run my simple libvirt test!
I checked out the code from libvirt cvs and following the instructions till
'make install'. It all went well. So then I ran my simply python test, as
shown here (http://www.libvirt.org/python.html). It keeps on giving me the
following error.
Aha.. I thought so :-)
Ok.. I will try to deploy this with later Python versions (2.5) perhaps!
Thanks !
Omer
On 12/19/06, Daniel P. Berrange [EMAIL PROTECTED] wrote:
On Tue, Dec 19, 2006 at 04:40:43PM +0100, Omer Khalid wrote:
Thank you Daniel! So setting up the PYTHONPATH variable did
, line 1, in ?
import libvirt
ImportError: No module named libvirt
Any help would be much appreciated!
Cheers
Omer
On 12/11/06, Daniel Veillard [EMAIL PROTECTED] wrote:
On Mon, Dec 11, 2006 at 05:22:41PM +0100, Omer Khalid wrote:
Hi,
I am trying to build libvirt on *SL4 (kernal
Hi,
I am trying to build libvirt on *SL4 (kernal = 2.6.12.6-xen3_12.1_rhel4.1).
I tried both snapshot tar ball and the cvs checked out version. With the tar
ball, after running the ./configure script, make file is created. But make
file fails and complains the following:
libvirt.c:24:16: xs.h: