summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-03-20 12:17:20 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-23 18:32:03 +0100
commit40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9 (patch)
treecc9acff593badf35bcc08859a20105d2d252d2d4 /arch/x86/include/asm/kvm_host.h
parent2ac52ab861b920b56e349244e14f957bb349010e (diff)
downloadlinux-0-day-40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9.tar.gz
linux-0-day-40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9.tar.xz
KVM: VMX: add struct kvm_vmx to hold VMX specific KVM vars
Add struct kvm_vmx, which wraps struct kvm, and a helper to_kvm_vmx() that retrieves 'struct kvm_vmx *' from 'struct kvm *'. Move the VMX specific variables out of kvm_arch and into kvm_vmx. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 5f17a2386460d..1e1a49c1f4fe6 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -808,7 +808,6 @@ struct kvm_arch {
struct mutex apic_map_lock;
struct kvm_apic_map *apic_map;
- unsigned int tss_addr;
bool apic_access_page_done;
gpa_t wall_clock;
@@ -817,9 +816,6 @@ struct kvm_arch {
bool hlt_in_guest;
bool pause_in_guest;
- bool ept_identity_pagetable_done;
- gpa_t ept_identity_map_addr;
-
unsigned long irq_sources_bitmap;
s64 kvmclock_offset;
raw_spinlock_t tsc_write_lock;