diff options
author | 2011-07-11 15:28:13 -0400 | |
---|---|---|
committer | 2011-07-12 13:17:03 +0300 | |
commit | 9ddabbe72e41ca6794cb4947c70929c9410e6752 (patch) | |
tree | c1b4b5dc3f326fcac560211283a65bb626277e7c /lib/mpi/mpi-internal.h | |
parent | KVM: Add constant to represent KVM MSRs enabled bit in guest/host interface (diff) | |
download | wireguard-linux-9ddabbe72e41ca6794cb4947c70929c9410e6752.tar.xz wireguard-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 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions