]> git.proxmox.com Git - mirror_qemu.git/commit
i386: Register versioned CPU models
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 28 Jun 2019 00:28:39 +0000 (21:28 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:04 +0000 (17:08 -0300)
commitdcafd1ef0af227ef87f7a6dec8fc66d7d2e2442d
treecd5793b3c6e0c87eeb40453332be9ea55bd4d0ac
parent164e779ce1cd21c0195b60101c7caee5b80f4e88
i386: Register versioned CPU models

Add support for registration of multiple versions of CPU models.

The existing CPU models will be registered with a "-v1" suffix.

The -noTSX, -IBRS, and -IBPB CPU model variants will become
versions of the original models in a separate patch, so
make sure we register no versions for them.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190628002844.24894-5-ehabkost@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu-qom.h
target/i386/cpu.c
target/i386/cpu.h
tests/acceptance/x86_cpu_model_versions.py [new file with mode: 0644]