Skip to content

RFC CPUID fixes for 1.5

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Thanks, applied to qom-cpu:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7target-i386: Introduce generic CPUID feature compat functiontarget-i386/cpu.c target-i386/cpu.h+30 -01 reply
2/7target-i386: Introduce compat function to set CPUID 'level'target-i386/cpu.c target-i386/cpu.h+23 -02 replies
3/7target-i386: Introduce compat function to set CPUID 'model'target-i386/cpu.c target-i386/cpu.h+23 -00 replies
4/7pc: Use separate init functions for pc-*-1.4hw/i386/pc_piix.c hw/i386/pc_q35.c+13 -30 replies
5/7target-i386: n270 can MOVBEhw/i386/pc_piix.c hw/i386/pc_q35.c target-i386/cpu.c+4 -11 reply
6/7target-i386: change CPUID model of 486 to 8hw/i386/pc_piix.c hw/i386/pc_q35.c target-i386/cpu.c+3 -11 reply
7/7target-i386: Disable direct passthrough of PMU CPUID leaf by defaulthw/i386/pc_piix.c hw/i386/pc_q35.c target-i386/cpu.c +1 more+33 -112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC 0/7] CPUID fixes for 1.5

This series contain multiple CPUID fixes for 1.5. As we still don't have static QOM properties on the CPU class available yet, I implemented machine-typed compatibility using simple static-variable-based mechanisms.

I am sending this as RFC as it depends on the previous feature-words series I have sent.

Git tree for testing:
git://github.com/ehabkost/qemu-hacks.git work/cpu-feat-fixes-various.v1

Borislav Petkov (1):
target-i386: n270 can MOVBE

Eduardo Habkost (6):
target-i386: Introduce generic CPUID feature compat function
target-i386: Introduce compat function to set CPUID 'level'
target-i386: Introduce compat function to set CPUID 'model'
pc: Use separate init functions for pc-*-1.4
target-i386: change CPUID model of 486 to 8
target-i386: Disable direct passthrough of PMU CPUID leaf by default

 hw/i386/pc_piix.c |  12 +++++--
 hw/i386/pc_q35.c  |  10 +++++-
 target-i386/cpu.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 target-i386/cpu.h |  13 +++++++
 4 files changed, 129 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.1.4