[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Python binding to virConnectListInterfaces



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 redhat com>
To: Shahar Klein <shaharklein yahoo com>
Cc: veillard redhat com; libvir-list 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 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]