X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fkvm_host.h;h=ae5552cb7a56d499703b927f02cfa37a23b2a8fe;hb=59457289549eeca4044e343c900b3de6db2104f1;hp=92c9032502d87b3291268f2c98b04ec4cb59854d;hpb=e89ce1f89f62c7e527db3850a91dab3389772af3;p=mirror_ubuntu-artful-kernel.git diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 92c9032502d8..ae5552cb7a56 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -628,6 +628,8 @@ struct kvm_vcpu_arch { u64 mcg_ext_ctl; u64 *mce_banks; + u64 spec_ctrl; + /* Cache MMIO info */ u64 mmio_gva; unsigned access; @@ -904,7 +906,7 @@ struct kvm_x86_ops { int (*hardware_setup)(void); /* __init */ void (*hardware_unsetup)(void); /* __exit */ bool (*cpu_has_accelerated_tpr)(void); - bool (*cpu_has_high_real_mode_segbase)(void); + bool (*has_emulated_msr)(int index); void (*cpuid_update)(struct kvm_vcpu *vcpu); int (*vm_init)(struct kvm *kvm); @@ -1437,4 +1439,7 @@ static inline int kvm_cpu_get_apicid(int mps_cpu) #endif } +void kvm_arch_mmu_notifier_invalidate_range(struct kvm *kvm, + unsigned long start, unsigned long end); + #endif /* _ASM_X86_KVM_HOST_H */