[libvirt] [PATCH 0/8 v2] Report disk latency info

Osier Yang jyang at redhat.com
Mon Sep 5 08:38:27 UTC 2011


This patch series introduces a new API to report the disk latency
related information, which is supported by upstream QEMU just a
few days ago (commit c488c7f649, Thu Aug 25).

Per previous dicussion on the ABI compatiblity, and API design
principle, the new API is defined with style:

int virDomainBlockStatsFlags (virDomainPtr dom,
                              const char *path,
                              virTypeParamsPtr params,
                              int *nparams,
                              unsigned int flags)

V1 - V2:
  * Use virTypedParameter instead of creating a new struct for the
    new API.
  * Update comments for the API, (Eric's suggestion).

[PATCH 1/8] latency: Define new public API and structure
[PATCH 2/8] latency: Define the internal driver callback
[PATCH 3/8] latency: Implemente the public API
[PATCH 4/8] latency: Wire up the remote protocol
[PATCH 5/8] latency: Update monitor functions for new latency fields
[PATCH 6/8] latency: Implemente internal API for qemu driver
[PATCH 7/8] latency: Expose the new API for Python binding
[PATCH 8/8] latency: Update cmdBlkStats to use new API

Regards,
Osier




More information about the libvir-list mailing list