Do you mean embed this api into domstats like "virsh domstats --dirtyrate"?
It's indeed a good idea in consideration of extensibility. I will try that in
my next version, however,
I have no idea about where to place my secondary options (--second, --calculate
and --query). Any suggestion?
PS:
On Tue, Nov 10, 2020 at 21:12:33 +0100, Michal Privoznik wrote:
> On 11/7/20 10:41 AM, Hao Wang wrote:
> > Introduce virDomainDirtyRateInfo structure used for domain's memory dirty
> > rate query.
> >
> > Signed-off-by: Hao Wang
> > Reviewed-by: Chuan Zheng
> > ---
> >
On 11/7/20 10:41 AM, Hao Wang wrote:
Introduce virDomainDirtyRateInfo structure used for domain's memory dirty rate
query.
Signed-off-by: Hao Wang
Reviewed-by: Chuan Zheng
---
include/libvirt/libvirt-domain.h | 24
1 file changed, 24 insertions(+)
diff --git
Introduce virDomainDirtyRateInfo structure used for domain's memory dirty rate
query.
Signed-off-by: Hao Wang
Reviewed-by: Chuan Zheng
---
include/libvirt/libvirt-domain.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/libvirt/libvirt-domain.h