[libvirt] [PATCH 8/8] latency: Update cmdBlkStats to use new API

Daniel Veillard veillard at redhat.com
Fri Sep 2 10:21:19 UTC 2011


On Wed, Aug 31, 2011 at 04:26:13PM +0800, Osier Yang wrote:
> The modified function fallbacks to use virDomainBlockStats if
> virDomainBlockStatsFlags is not supported by the hypervisor driver.
> If the new API is supported, it will be invoked instead of the
> old API.

  Again I would use a new command and keep the existing code
as is,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list