On 08/26/2010 12:43 AM, Glauber Costa wrote:
By measuring time between a vcpu_put and a vcpu_load, we can
estimate how much time did the guest stay out of the cpu.
This is exported to the guest at every clock update.

Signed-off-by: Glauber Costa<[email protected]>
---
  arch/x86/include/asm/kvm_host.h |    2 ++
  arch/x86/kvm/x86.c              |   12 +++++++++++-
  2 files changed, 13 insertions(+), 1 deletions(-)


Could be put in common code, this is useful to at least s390.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to