Re: [RFC][scale] new API for querying domains stats

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

 



On 08/04/2014 11:46 PM, Li Wei wrote:

>>
>> How about the following API:
>>
>> int virConnectGetAllBlockStats(virConnectPtr conn,
>> 				virDomainPtr domain,
>> 				virDomainBlockBulkStatsPtr *stats,
>> 				unsigned int flags);
>> @conn: pointer to libvirt connection
>> @domain: pointer to the domain to be queried, NULL for all domains
>> @stats: array of virDomainBlockBulkStats struct(see below) to be populated
>> @flags: filter flags
> 
> Because block stats only valid for active domains, may be this filter flag
> can be remove.

No, keep the flag. It is still useful to filter on at least transient
vs. persistent.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]