mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-31 01:48:08 +03:00
68a5abe279
Class will work above connection. Right know, it is possible to provide stats for domains only, but could be expanded. To retrieve stats, you can use get_vm_stats(vm). This class uses new virConnectGetAllDomainStats call, which reduces number of calls needed to poll stats. Stats are refreshed with every connection tick. Signed-off-by: Simon Kobyda <skobyda@redhat.com> (crobinso: squash commits, move statsmanager to its own file, fix pylint)