<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1541699803753_188123">Hi there, </div><div id="yui_3_16_0_ym19_1_1541699803753_188123"><br></div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">We're running virsh on centos and hit a couple of issues. First instance is cpu.time not incrementing even with the VMs on the hypervisor running a stress tool. After running 'virsh domstats' sometimes it'll go into a state where no output is generated at all. Have anyone seen something like this? We're running a pretty recent build of libvirt. </div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"># virsh version</div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">Compiled against library: libvirt 3.9.0</div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">Using library: libvirt 3.9.0</div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">Using API: QEMU 3.9.0</div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">RUNNING HYPERVISOR: QEMU 2.9.0</div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr">Through the two domstats we see that the cpu.time is not increasing, but vcpu.0.time is not. It's also not reporting a vcpu.0.wait on this centos hypervisor. </div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1541699803753_188123" dir="ltr"><br></div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-height: 30em; overflow: auto; overflow-wrap: normal; color: rgb(23, 43, 77); font-size: 12px; background-color: rgb(245, 245, 245);" id="yui_3_16_0_ym19_1_1541699803753_188371"># virsh domstats
Domain: <span style="color: rgb(0, 145, 0);" id="yui_3_16_0_ym19_1_1541699803753_188372">'3a1de3d0-9de3-4876-a51a-1337d2ad0b87'</span>
  state.state=1
  state.reason=5
  cpu.time=18530581887
  cpu.user=430000000
  cpu.system=2910000000
  balloon.current=786432
  balloon.maximum=786432
  vcpu.current=1
  vcpu.maximum=1
  vcpu.0.state=1
  vcpu.0.time=1145240000000</pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-height: 30em; overflow: auto; overflow-wrap: normal; color: rgb(23, 43, 77); font-size: 12px; background-color: rgb(245, 245, 245);" id="yui_3_16_0_ym19_1_1541699803753_188371"><br></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-height: 30em; overflow: auto; overflow-wrap: normal; color: rgb(23, 43, 77); font-size: 12px; background-color: rgb(245, 245, 245);" id="yui_3_16_0_ym19_1_1541699803753_188371"><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-height: 30em; overflow: auto; overflow-wrap: normal;" id="yui_3_16_0_ym19_1_1541699803753_188932"># virsh domstats
Domain: <span style="color: rgb(0, 145, 0);" id="yui_3_16_0_ym19_1_1541699803753_188933">'3a1de3d0-9de3-4876-a51a-1337d2ad0b87'</span>
  state.state=1
  state.reason=5
  cpu.time=18530581887
  cpu.user=430000000
  cpu.system=2910000000
  balloon.current=786432
  balloon.maximum=786432
  vcpu.current=1
  vcpu.maximum=1
  vcpu.0.state=1
  vcpu.0.time=1153920000000</pre></pre></div></body></html>