Re: [PATCH v3 02/17] KVM: x86/xen: fix Xen hypercall page msr handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux