== Comment: #0 - JENIFER HOPPER <email address hidden> - 2018-03-14 16:20:47 ==
+++ This bug was initially created as a clone of Bug #163375 +++
---Problem Description---
All KVM guest cpu utilization is being reported as sys% time in the host.
It turns out Guest time accounting (CONFIG_VIRT_CPU_ACCOUNTING_GEN) has been broken since v4.13 by commit:
commit 8b24e69fc47e43679bb29ddb481aa0e8dce2a3c5
Author: Paul Mackerras <email address hidden>
Date: Mon Jun 26 15:45:51 2017 +1000
KVM: PPC: Book3S HV: Close race with testing for signals on guest entry
---
That is now fixed and upstream accepted in Paulus' tree as git commit:
== Comment: #0 - JENIFER HOPPER <email address hidden> - 2018-03-14 16:20:47 ==
+++ This bug was initially created as a clone of Bug #163375 +++
---Problem Description--- VIRT_CPU_ ACCOUNTING_ GEN) has been broken since v4.13 by commit:
All KVM guest cpu utilization is being reported as sys% time in the host.
It turns out Guest time accounting (CONFIG_
commit 8b24e69fc47e436 79bb29ddb481aa0 e8dce2a3c5
Author: Paul Mackerras <email address hidden>
Date: Mon Jun 26 15:45:51 2017 +1000
KVM: PPC: Book3S HV: Close race with testing for signals on guest entry
---
That is now fixed and upstream accepted in Paulus' tree as git commit:
https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/paulus/ powerpc. git/commit/ ?h=kvm- ppc-fixes& id=61bd0f66ff92 d5ce765ff9850fd 3cbfec773c560 ACCOUNTING_ GEN")
("KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_
Please include this patch in Ubuntu so that guest cpu accounting is correct.
Contact Information = <email address hidden>
---uname output---
Linux ltc-b114 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:21:52 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = 5104-22C
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Start a KVM guest, run something that generates cpu utilization in the guest, observe mpstat on the host.