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@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list