qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for-2.7 0/4] cpu: Finally remove cpudef_init()


From: Eduardo Habkost
Subject: [Qemu-devel] [PATCH for-2.7 0/4] cpu: Finally remove cpudef_init()
Date: Sat, 9 Apr 2016 17:37:43 -0300

The only reason cpudef_init() still exists is the
qemu_hw_version()-based model_id hack at x86_cpudef_setup().

Move the model_id hack to machine compat_props so we can make the
model_id field constant at the CPU model table, and then remove
cpudef_init() completely.

Eduardo Habkost (4):
  osdep: Move default qemu_hw_version() value to a macro
  pc: Set CPU model-id on compat_props for pc <= 2.4
  target-i386: Set constant model_id for qemu63/qemu32/athlon
  cpu: Eliminate cpudef_init(), cpudef_setup()

 arch_init.c                |  7 -------
 bsd-user/main.c            |  3 ---
 hw/i386/pc_piix.c          | 12 +++++++++++-
 include/hw/i386/pc.h       | 29 +++++++++++++++++++++++++++++
 include/qemu/osdep.h       |  9 +++++++++
 include/sysemu/arch_init.h |  1 -
 linux-user/main.c          |  3 ---
 target-i386/cpu.c          | 27 +++------------------------
 target-i386/cpu.h          |  2 --
 util/osdep.c               |  9 +--------
 vl.c                       |  7 -------
 11 files changed, 53 insertions(+), 56 deletions(-)

-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]