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 =
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:
conn = libvirt.openReadOnly(None)
if conn == None:
print 'Failed to open connection to the hypervisor'
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/python2.3/site-packages/libvirt.py',
268,
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),
Hi Richard,
Thanks for your prompt reply.
I looked up the link. It refers to changing Language bindings could be
modified to detect this function...
What does that mean? Because catching the exception is concerned, that is I
am already doing!
Cheers
Omer
On 6/27/07, Richard W.M. Jones
The remote_internal.c code is basically a no-op in its remoteNetworkOpen
method. This means the remote driver will only handle the networking
APIs, if it is also handling the main domain APIs. This works fine if
connecting to a remote URI, or if using QEMU URIs, but it does not work
if using the
Hi,
When I use virt-manager that is connected by xen,
the following error is given at every monitoring.
libvir: Error : this function is not supported by the hypervisor:
virConnectNumOfNetworks
libvir: Error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks