[Libvir] Difference between API functions virConnectNumOfDefinedDomains and virConnectNumOfDomains

Richard W.M. Jones rjones at redhat.com
Mon Apr 30 09:12:43 UTC 2007


Jan Michael wrote:
> Hello libvirt fellows,
> 
> I have some problems to distinguish between those function calls in libvirt
> API:
> 
>> virConnectNumOfDefinedDomains
>> virConnectNumOfDomains
> 
> The API description states on both function that they will return me the
> number of active domain.
> Am I right if I assume that the first function virConnectNumOfDefinedDomains
> returns me all defined, but necessarily not running domains, and the second
> one only running and therefore active domains?

I looked at this and I think you're right - it's a documentation error. 
  I will ask Dan Berrange about this when he wakes up (he wrote that bit).

Rich.

-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070430/daf6d850/attachment-0001.bin>


More information about the libvir-list mailing list