virt plugin: Remove optional virDomainGetCPUStats() from main flow
authorPavel Rochnyack <pavel2000@ngs.ru>
Thu, 25 Oct 2018 07:53:33 +0000 (14:53 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Thu, 25 Oct 2018 07:53:33 +0000 (14:53 +0700)
commitb1db0193369fb9fc6173bb484c6dcbe9fdff6ddb
treeed03f2fd69cdaef87377c3080e13d08a737f1900
parent4c0ba886d78fd4770d3479ab4e37c2c3ab4edcc7
virt plugin: Remove optional virDomainGetCPUStats() from main flow

virDomainGetCPUStats() call is only required when `pcpu' extra statistics is requested.
While not supported in all configurations, this call may fail which causes failure in
reporting of other domain metrics.
src/virt.c