[PATCH v6 15/19] i386: expand Hyper-V features during CPU feature expansion time

2021-04-22 Thread Vitaly Kuznetsov
To make Hyper-V features appear in e.g. QMP query-cpu-model-expansion we need to expand and set the corresponding CPUID leaves early. Modify x86_cpu_get_supported_feature_word() to call newly intoduced Hyper-V specific kvm_hv_get_supported_cpuid() instead of kvm_arch_get_supported_cpuid(). We can't

Re: [PATCH v6 15/19] i386: expand Hyper-V features during CPU feature expansion time

2021-05-24 Thread Vitaly Kuznetsov
Eduardo Habkost writes: > On Thu, Apr 22, 2021 at 06:11:26PM +0200, Vitaly Kuznetsov wrote: >> To make Hyper-V features appear in e.g. QMP query-cpu-model-expansion we >> need to expand and set the corresponding CPUID leaves early. Modify >> x86_cpu_get_supported_feature_word() to call newly into

Re: [PATCH v6 15/19] i386: expand Hyper-V features during CPU feature expansion time

2021-05-26 Thread Eduardo Habkost
On Mon, May 24, 2021 at 02:13:09PM +0200, Vitaly Kuznetsov wrote: [...] > >> diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c > >> index a42263b24fca..d5551c4ab5cf 100644 > >> --- a/target/i386/kvm/kvm.c > >> +++ b/target/i386/kvm/kvm.c > >> @@ -1216,13 +1216,22 @@ static uint32_t hv_buil

Re: [PATCH v6 15/19] i386: expand Hyper-V features during CPU feature expansion time

2021-05-27 Thread Vitaly Kuznetsov
Eduardo Habkost writes: > On Mon, May 24, 2021 at 02:13:09PM +0200, Vitaly Kuznetsov wrote: > [...] >> >> diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c >> >> index a42263b24fca..d5551c4ab5cf 100644 >> >> --- a/target/i386/kvm/kvm.c >> >> +++ b/target/i386/kvm/kvm.c >> >> @@ -1216,13

Re: [PATCH v6 15/19] i386: expand Hyper-V features during CPU feature expansion time

2021-05-21 Thread Eduardo Habkost
On Thu, Apr 22, 2021 at 06:11:26PM +0200, Vitaly Kuznetsov wrote: > To make Hyper-V features appear in e.g. QMP query-cpu-model-expansion we > need to expand and set the corresponding CPUID leaves early. Modify > x86_cpu_get_supported_feature_word() to call newly intoduced Hyper-V > specific kvm_hv