diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2018-03-20 20:17:20 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-23 18:32:03 +0100 |
commit | 40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9 (patch) | |
tree | cc9acff593badf35bcc08859a20105d2d252d2d4 /arch/x86/include/asm | |
parent | KVM: x86: move setting of ept_identity_map_addr to vmx.c (diff) | |
download | linux-40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9.tar.xz linux-40bbb9d03f05d08b10a7ec1a5c229e1a3f3fc3a9.zip |
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')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 4 |
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 5f17a2386460..1e1a49c1f4fe 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; |