Skip to content

Move CPU model definitions to C

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i386: add missing CPUID_* constantstarget-i386/cpu.h+22 -00 replies
2/3move CPU models from cpus-x86_64.conf to Csysconfigs/target/cpus-x86_64.conf target-i386/cpu.c+220 -1280 replies
3/3eliminate cpus-x86_64.conf fileMakefile arch_init.c sysconfigs/target/cpus-x86_64.conf+0 -33 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnthony Liguori
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] Move CPU model definitions to C

This makes the change we discussed on the latest KVM conf call[1], moving the existing cpudefs from cpus-x86_64.conf to the C code.

The config file data was converted to C using a script, available at:
https://gist.github.com/3229602

Except by the extra square brackets around the CPU model names (indicating they are built-in models), the output of "-cpu ?dump" is exactly the same before and after applying this series.

[1] http://article.gmane.org/gmane.comp.emulators.kvm.devel/95328

Eduardo Habkost (3):
i386: add missing CPUID_* constants
move CPU models from cpus-x86_64.conf to C
eliminate cpus-x86_64.conf file

 Makefile                           |   1 -
 arch_init.c                        |   1 -
 sysconfigs/target/cpus-x86_64.conf | 128 ----------------------
 target-i386/cpu.c                  | 219 +++++++++++++++++++++++++++++++++++++
 target-i386/cpu.h                  |  22 ++++
 5 files changed, 241 insertions(+), 130 deletions(-)
 delete mode 100644 sysconfigs/target/cpus-x86_64.conf
Signature · 1 line
1.7.11.2