summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/cpuid.c
diff options
context:
space:
mode:
authorWill Auld2012-11-29 21:42:12 +0100
committerMarcelo Tosatti2012-11-30 21:26:12 +0100
commit8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a (patch)
tree38c355d8451076da9259f45db598763f91aaf941 /arch/x86/kvm/cpuid.c
parentKVM: Fix user memslot overlap check (diff)
downloadkernel-qcow2-linux-8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a.tar.gz
kernel-qcow2-linux-8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a.tar.xz
kernel-qcow2-linux-8fe8ab46be06fcd9abfe6fe9928fd95b54ab079a.zip
KVM: x86: Add code to track call origin for msr assignment
In order to track who initiated the call (host or guest) to modify an msr value I have changed function call parameters along the call path. The specific change is to add a struct pointer parameter that points to (index, data, caller) information rather than having this information passed as individual parameters. The initial use for this capability is for updating the IA32_TSC_ADJUST msr while setting the tsc value. It is anticipated that this capability is useful for other tasks. Signed-off-by: Will Auld <will.auld@intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.c')
0 files changed, 0 insertions, 0 deletions