]> git.proxmox.com Git - mirror_qemu.git/commit
i386: Get model-id from CPU object on "-cpu help"
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 28 Jun 2019 00:28:38 +0000 (21:28 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:04 +0000 (17:08 -0300)
commit164e779ce1cd21c0195b60101c7caee5b80f4e88
tree49d998b6ecb469714afcd64bee7e61b7db083f64
parentdac1deae658539e39966e12b12378a28e3dc8441
i386: Get model-id from CPU object on "-cpu help"

When introducing versioned CPU models, the string at
X86CPUDefinition::model_id might not be the model-id we'll really
use.  Instantiate a CPU object and check the model-id property on
"-cpu help"

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190628002844.24894-4-ehabkost@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c