virt: Add domain state metrics dispatch
authorMozejko, MarcinX <marcinx.mozejko@intel.com>
Mon, 6 Nov 2017 10:03:18 +0000 (10:03 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Wed, 28 Feb 2018 15:25:48 +0000 (15:25 +0000)
commitb3d9acd7091f9f48e1c35f7229c8fac405c75483
tree3be7aa7bd65643d856905f69fe64700e1bf491a2
parentdb6d9797d4f4976721549614d5400bf9cadd4cac
virt: Add domain state metrics dispatch

Previously information about Virtual Machine domains state
(e.g. VIR_DOMAIN_RUNNING, VIR_DOMAIN_PAUSED..) was not
dispatched (e.g. file with domain states was not created by
CSV plugin).
Now current VM state information with corresponding reason is
dispatched as ‘domain_state’.

Change-Id: I781f11f53adb9ca0abcf6565d5717c6495f853b7
Signed-off-by: Mozejko, MarcinX <marcinx.mozejko@intel.com>
src/virt.c