[PATCH v6 08/19] i386: introduce hv_cpuid_cache

2021-04-22 Thread Vitaly Kuznetsov
Just like with cpuid_cache, it makes no sense to call KVM_GET_SUPPORTED_HV_CPUID more than once and instead of (ab)using env->features[] and/or trying to keep all the code in one place, it is better to introduce persistent hv_cpuid_cache and hv_cpuid_get_host() accessor to it. Note, hv_cpuid_get_f

Re: [PATCH v6 08/19] i386: introduce hv_cpuid_cache

2021-05-20 Thread Eduardo Habkost
On Thu, Apr 22, 2021 at 06:11:19PM +0200, Vitaly Kuznetsov wrote: > Just like with cpuid_cache, it makes no sense to call > KVM_GET_SUPPORTED_HV_CPUID more than once and instead of (ab)using > env->features[] and/or trying to keep all the code in one place, it is > better to introduce persistent hv