]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/x86/include/asm/kvm_host.h
x86/kvm/hyper-v: add reenlightenment MSRs support
[linux.git] / arch / x86 / include / asm / kvm_host.h
index dd6f57a54a2626c080c8505cd670ef8c54c7bf56..0395c354a50409873c6e8c0c21a4b8c96ec9825f 100644 (file)
@@ -507,6 +507,7 @@ struct kvm_vcpu_arch {
        u64 smi_count;
        bool tpr_access_reporting;
        u64 ia32_xss;
+       u64 microcode_version;
 
        /*
         * Paging state of the vcpu
@@ -753,6 +754,12 @@ struct kvm_hv {
        u64 hv_crash_ctl;
 
        HV_REFERENCE_TSC_PAGE tsc_ref;
+
+       struct idr conn_to_evt;
+
+       u64 hv_reenlightenment_control;
+       u64 hv_tsc_emulation_control;
+       u64 hv_tsc_emulation_status;
 };
 
 enum kvm_irqchip_mode {
@@ -1095,6 +1102,8 @@ struct kvm_x86_ops {
        int (*mem_enc_op)(struct kvm *kvm, void __user *argp);
        int (*mem_enc_reg_region)(struct kvm *kvm, struct kvm_enc_region *argp);
        int (*mem_enc_unreg_region)(struct kvm *kvm, struct kvm_enc_region *argp);
+
+       int (*get_msr_feature)(struct kvm_msr_entry *entry);
 };
 
 struct kvm_arch_async_pf {
@@ -1464,7 +1473,4 @@ static inline int kvm_cpu_get_apicid(int mps_cpu)
 #define put_smstate(type, buf, offset, val)                      \
        *(type *)((buf) + (offset) - 0x7e00) = val
 
-void kvm_arch_mmu_notifier_invalidate_range(struct kvm *kvm,
-               unsigned long start, unsigned long end);
-
 #endif /* _ASM_X86_KVM_HOST_H */