[PATCH v2 3/3] KVM: x86: Document host suspend being included in steal time.
From: Suleiman Souhlal
Date: Tue Aug 20 2024 - 00:39:09 EST
Steal time now includes the time that the host was suspended.
Signed-off-by: Suleiman Souhlal <suleiman@xxxxxxxxxx>
---
Documentation/virt/kvm/x86/msr.rst | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/virt/kvm/x86/msr.rst b/Documentation/virt/kvm/x86/msr.rst
index 3aecf2a70e7b43..81c17c2200ca2f 100644
--- a/Documentation/virt/kvm/x86/msr.rst
+++ b/Documentation/virt/kvm/x86/msr.rst
@@ -294,8 +294,10 @@ data:
steal:
the amount of time in which this vCPU did not run, in
- nanoseconds. Time during which the vcpu is idle, will not be
- reported as steal time.
+ nanoseconds. This includes the time during which the host is
+ suspended. However, the case where the host suspends during a
+ VM migration might not be correctly accounted. Time during
+ which the vcpu is idle, will not be reported as steal time.
preempted:
indicate the vCPU who owns this struct is running or
--
2.46.0.184.g6999bdac58-goog