]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: add tsc_offset field to struct kvm_vcpu_arch
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 7 Sep 2016 18:47:19 +0000 (14:47 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Sep 2016 14:57:45 +0000 (16:57 +0200)
commit243d7e3daabfe6306bc7d7eb56add9e7689d6746
tree039adcee748142d707f38cd554aede4be04a773f
parentb6a4a605a66e464992bfed39bcae384f788df0f0
kvm: x86: add tsc_offset field to struct kvm_vcpu_arch

A future commit will want to easily read a vCPU's TSC offset,
so we store it in struct kvm_arch_vcpu_arch for easy access.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c