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

Osier Yang jyang at redhat.com
Fri Sep 2 11:23:38 UTC 2011


于 2011年09月02日 18:21, Daniel Veillard 写道:
> 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
>

What does "again" here mean? as I couldn't find another place which
introduce new code. :-)

And per the new API has some same fields with old API, and seems
all of virsh commands try to fallback to old API if new API is introduced.

Osier





More information about the libvir-list mailing list