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)
commita545ab6a0085e6df9c7b6e9734b40ba4d2aca8c9
tree039adcee748142d707f38cd554aede4be04a773f
parentad53e35ae529e65cbd8e75a1e66fdcd10275c8d9
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