[libvirt] Python binding to virConnectListInterfaces

Shahar Klein shaharklein at yahoo.com
Tue Sep 15 13:47:24 UTC 2009


understood

so, is that a bug?

virsh # list
 Id Name                 State
----------------------------------
 16 rh53                 running
256 smallLinux           running
336 diskless linux       running

virsh # dominfo 16
Id:             16
Name:           rh53
UUID:           564dea41-bf37-44d6-2c9e-c6009be71aa6
OS Type:        hvm
State:          running
CPU(s):         1
Max memory:     393216 kB
Used memory:    393216 kB

virsh # 
virsh # dumpxml 16
error: internal error Datastore URL '' has unexpected prefix, expecting '/vmfs/volumes/' prefix




________________________________
From: Daniel P. Berrange <berrange at redhat.com>
To: Shahar Klein <shaharklein at yahoo.com>
Cc: veillard at redhat.com; libvir-list at redhat.com
Sent: Tuesday, September 15, 2009 12:05:49 PM
Subject: Re: [libvirt] Python binding to virConnectListInterfaces

On Tue, Sep 15, 2009 at 01:55:40AM -0700, Shahar Klein wrote:
> OK, Thanks
> 
> How about listing interfaces for a VM(virDomainListInterfaces )
> will you accept such an API?


That information is already available in the XML for a guest so there is
no need for any API

Regards
Daniel
-- 
|: Red Hat, Engineering, London   -o-  http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-        http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090915/2f5461d4/attachment-0001.htm>


More information about the libvir-list mailing list