diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2021-04-22 18:11:12 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2021-05-31 15:53:03 -0400 |
commit | 4519259a345e60a0b177176117e72be1e310377c (patch) | |
tree | 4a2be8ac8e8245ca04ff9023e3d5e104f7d21b0e /hw/virtio/virtio-input-host-pci.c | |
parent | 40b3cc354a47d9017d280cb25efbe6f94d7575bb (diff) | |
download | qemu-4519259a345e60a0b177176117e72be1e310377c.zip qemu-4519259a345e60a0b177176117e72be1e310377c.tar.gz qemu-4519259a345e60a0b177176117e72be1e310377c.tar.bz2 |
i386: keep hyperv_vendor string up-to-date
When cpu->hyperv_vendor is not set manually we default to "Microsoft Hv"
and in 'hv_passthrough' mode we get the information from the host. This
information is stored in cpu->hyperv_vendor_id[] array but we don't update
cpu->hyperv_vendor string so e.g. QMP's query-cpu-model-expansion output
is incorrect.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210422161130.652779-2-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-input-host-pci.c')
0 files changed, 0 insertions, 0 deletions