diff options
author | Glauber Costa <glommer@redhat.com> | 2011-07-11 15:28:13 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 13:17:03 +0300 |
commit | 9ddabbe72e41ca6794cb4947c70929c9410e6752 (patch) | |
tree | c1b4b5dc3f326fcac560211283a65bb626277e7c /kernel/delayacct.c | |
parent | 4b6b35f55ca81d3bfdec63b0adb61798702ceb2e (diff) | |
download | linux-9ddabbe72e41ca6794cb4947c70929c9410e6752.tar.gz linux-9ddabbe72e41ca6794cb4947c70929c9410e6752.tar.bz2 linux-9ddabbe72e41ca6794cb4947c70929c9410e6752.zip |
KVM: KVM Steal time guest/host interface
To implement steal time, we need the hypervisor to pass the guest information
about how much time was spent running other processes outside the VM.
This is per-vcpu, and using the kvmclock structure for that is an abuse
we decided not to make.
In this patchset, I am introducing a new msr, KVM_MSR_STEAL_TIME, that
holds the memory area address containing information about steal time
This patch contains the headers for it. I am keeping it separate to facilitate
backports to people who wants to backport the kernel part but not the
hypervisor, or the other way around.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Tested-by: Eric B Munson <emunson@mgebm.net>
CC: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions