Skip to content

target-i386: Don't try to enable unsupported TCG features by default

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target-i386: Expand PPRO_FEATURES on qemu64/qemu32 definitionstarget-i386/cpu.c+8 -20 replies
2/4target-i386: Convert kvm_default_*features to property/value pairshw/i386/pc_piix.c hw/i386/pc_q35.c target-i386/cpu.c +1 more+65 -452 replies
3/4target-i386: Add optional class name to kvm_default_propshw/i386/pc_piix.c hw/i386/pc_q35.c target-i386/cpu.c +1 more+25 -190 replies
4/4target-i386: Disable DE on qemu64 & qemu32 on TCGtarget-i386/cpu.c+4 -20 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/4
2/4A-b
3/4
4/4

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/4] target-i386: Don't try to enable unsupported TCG features by default

This series makes QEMU stop trying to enable an unsupported feature by default in TCG mode, avoiding the warnings shown by the (now enabled by default) "check" mode.

To do that, I cchanged the kvm_default_features code to be based on QOM properties, and added a new "type" field to allow per-CPU-model KVM defaults to be specified.

Before this series:

  $ qemu-system-x86_64 -S
  warning: TCG doesn't support requested feature: CPUID.01H:EDX.de [bit 2]
  warning: TCG doesn't support requested feature: CPUID.80000001H:EDX [bit 2]

After this series:

  $ ./x86_64-softmmu/qemu-system-x86_64 -S
  [no warning output]

Eduardo Habkost (4):
target-i386: Expand PPRO_FEATURES on qemu64/qemu32 definitions
target-i386: Convert kvm_default_*features to property/value pairs
target-i386: Add optional class name to kvm_default_props
target-i386: Disable DE on qemu64 & qemu32 on TCG

 hw/i386/pc_piix.c |   8 ++---
 hw/i386/pc_q35.c  |   4 +--
 target-i386/cpu.c | 104 ++++++++++++++++++++++++++++++++++--------------------
 target-i386/cpu.h |  12 +++++--
 4 files changed, 81 insertions(+), 47 deletions(-)
Signature · 1 line
2.1.0