On 14 December 2020 21:44:47 GMT, Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> wrote: >This actually looks more or less like hypercall distinction from after >PATCH3: > > if (kvm_xen_hypercall_enabled(vcpu->kvm)) > return kvm_xen_hypercall(vcpu); > > if (kvm_hv_hypercall_enabled(vcpu->kvm)) > return kvm_hv_hypercall(vcpu); > >.... > >so my idea was why not do the same for MSRs? Can you define kvm_hv_msr_enabled()? Note kvm_hv_hypercall_enabled() is based on a value that gets written through the MSR, so it can't be that. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.