On Fri, Sep 04, 2020 at 04:54:16PM +0200, Vitaly Kuznetsov wrote:
> There was a typo which went unnoticed.
>
> Fixes: e48ddcc6ce13 ("i386/kvm: implement 'hv-passthrough' mode")
> Signed-off-by: Vitaly Kuznetsov <[email protected]>
Similar fix had been submitted at:
https://lore.kernel.org/qemu-devel/[email protected]/
> ---
> target/i386/kvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/i386/kvm.c b/target/i386/kvm.c
> index 720c30e9df17..1cb5592d4f7d 100644
> --- a/target/i386/kvm.c
> +++ b/target/i386/kvm.c
> @@ -1251,7 +1251,7 @@ static int hyperv_handle_properties(CPUState *cs,
> if (c) {
> env->features[FEAT_HYPERV_EAX] = c->eax;
> env->features[FEAT_HYPERV_EBX] = c->ebx;
> - env->features[FEAT_HYPERV_EDX] = c->eax;
> + env->features[FEAT_HYPERV_EDX] = c->edx;
> }
>
> c = cpuid_find_entry(cpuid, HV_CPUID_IMPLEMENT_LIMITS, 0);
> --
> 2.25.4
>
--
Eduardo