Re: [libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-20 Thread Daniel Veillard
On Mon, May 19, 2008 at 12:48:59PM +0100, Richard W.M. Jones wrote: > On Mon, May 12, 2008 at 01:35:33AM +0200, Stefan de Konink wrote: > > Wouldn't it be much nicer for Joe Programmer if the API facilitated the > > functions: > > > > char ** virDomainInterfacePaths(virDomainPtr dom); > > char **

Re: [libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-19 Thread Richard W.M. Jones
On Mon, May 12, 2008 at 01:35:33AM +0200, Stefan de Konink wrote: > Wouldn't it be much nicer for Joe Programmer if the API facilitated the > functions: > > char ** virDomainInterfacePaths(virDomainPtr dom); > char ** virDomainBlockPaths(virDomainPtr dom); > > I really don't get why XML parsing s

Re: [libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-15 Thread Daniel P. Berrange
On Thu, May 15, 2008 at 05:04:38PM +0200, Stefan de Konink wrote: > On Thu, 15 May 2008, Daniel Veillard wrote: > > > On Mon, May 12, 2008 at 01:35:33AM +0200, Stefan de Konink wrote: > > > Hi, > > > > > > Wouldn't it be much nicer for Joe Programmer if the API facilitated the > > > functions: > >

Re: [libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-15 Thread Stefan de Konink
On Thu, 15 May 2008, Daniel Veillard wrote: > On Mon, May 12, 2008 at 01:35:33AM +0200, Stefan de Konink wrote: > > Hi, > > > > Wouldn't it be much nicer for Joe Programmer if the API facilitated the > > functions: > > > > char ** virDomainInterfacePaths(virDomainPtr dom); > > char ** virDomainBlo

Re: [libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-15 Thread Daniel Veillard
On Mon, May 12, 2008 at 01:35:33AM +0200, Stefan de Konink wrote: > Hi, > > Wouldn't it be much nicer for Joe Programmer if the API facilitated the > functions: > > char ** virDomainInterfacePaths(virDomainPtr dom); > char ** virDomainBlockPaths(virDomainPtr dom); > > I really don't get why XML

[libvirt] [RFC] Comfortable lookup functions interface/block stats

2008-05-11 Thread Stefan de Konink
Hi, Wouldn't it be much nicer for Joe Programmer if the API facilitated the functions: char ** virDomainInterfacePaths(virDomainPtr dom); char ** virDomainBlockPaths(virDomainPtr dom); I really don't get why XML parsing should be done for something that is almost too trivial to export. Any reaso