i386: move hyperv_vendor_id initialization to x86_cpu_realizefn()
commit088567713f6ea39f25f810cc51b92112bf8d952c
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 19 Nov 2020 10:32:17 +0000 (19 11:32 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Dec 2020 19:07:33 +0000 (16 14:07 -0500)
tree51824117f2d8262f4128cee4f2e503b70be7dcfe
parent0c36af8ce86df663bcbb7aba6466645d08f29bbf
i386: move hyperv_vendor_id initialization to x86_cpu_realizefn()

As a preparation to expanding Hyper-V CPU features early, move
hyperv_vendor_id initialization to x86_cpu_realizefn(). Introduce
x86_cpu_hyperv_realize() to not not pollute x86_cpu_realizefn()
itself.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20201119103221.1665171-2-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm/kvm.c