Skip to content

target-i386: CPU feature flag queue

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest18 patches 10 repliesIn review

Changes in v4 from the cover letter

* New patch: target-i386: kvm: Don't enable MONITOR by default on any CPU model
* New patch: target-i386: Add "migratable" property to "host" CPU model
* New patch: target-i386: Set migratable=yes by default
* New patch: savevm: check vmsd for migratability status
* New patch: target-i386: Loop-based copying and setting/unsetting of feature words
* Patch changed to use the new .migratable_flags field:
* target-i386: support "invariant tsc" flag

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18target-i386: kvm: Don't enable MONITOR by default on any CPU modeltarget-i386/cpu.c+7 -00 replies
2/18target-i386: Simplify reporting of unavailable featurestarget-i386/cpu.c+7 -90 replies
3/18target-i386: Merge feature filtering/checking functionstarget-i386/cpu.c+19 -340 replies
4/18target-i386: Pass FeatureWord argument to report_unavailable_features()target-i386/cpu.c+3 -20 replies
5/18target-i386: Isolate KVM-specific code on CPU feature filtering logictarget-i386/cpu.c+12 -90 replies
6/18target-i386: Make TCG feature filtering more readabletarget-i386/cpu.c+10 -60 replies
7/18target-i386: Filter FEAT_7_0_EBX TCG features tootarget-i386/cpu.c+2 -10 replies
8/18target-i386: Filter KVM and 0xC0000001 features on TCGtarget-i386/cpu.c+4 -00 replies
9/18target-i386: Define TCG_*_FEATURES earlier on cpu.ctarget-i386/cpu.c+59 -580 replies
10/18target-i386: Loop-based copying and setting/unsetting of feature wordstarget-i386/cpu.c+10 -250 replies
11/18target-i386: Loop-based feature word filtering in TCG modetarget-i386/cpu.c+13 -80 replies
12/18target-i386: Support check/enforce flags in TCG mode, tootarget-i386/cpu.c+16 -180 replies
13/18target-i386: Support "-cpu host" in TCG modetarget-i386/cpu.c+25 -100 replies
14/18target-i386: Add "migratable" property to "host" CPU modeltarget-i386/cpu-qom.h target-i386/cpu.c+51 -60 replies
15/18target-i386: Set migratable=yes by defaulttarget-i386/cpu.c+1 -10 replies
16/18savevm: check vmsd for migratability statussavevm.c+1 -44 replies
17/18target-i386: block migration and savevm if invariant tsc is exposedtarget-i386/cpu-qom.h target-i386/kvm.c target-i386/machine.c+15 -25 replies
18/18target-i386: support "invariant tsc" flagtarget-i386/cpu.c target-i386/cpu.h+29 -00 replies

Reviews trailers per patch

10 of 18 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniRichard HendersonEduardo HabkostJuan Quintela
1/18R-b
2/18
3/18R-b
4/18
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18
10/18
11/18R-b
12/18R-b
13/18
14/18
15/18
16/18R-b
17/18R-b R-b
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH RESEND v4 00/18] target-i386: CPU feature flag queue

(Resending due to complete lack of feedback on v4 submission from 15 days ago.)

This started as a TCG vs KVM feature flag code cleanup, but now it is a queue which includes other feature-flag-related patches that depend on each other.

Changes v3 -> v4:
* New patch: target-i386: kvm: Don't enable MONITOR by default on any CPU model
* New patch: target-i386: Add "migratable" property to "host" CPU model
* New patch: target-i386: Set migratable=yes by default
* New patch: savevm: check vmsd for migratability status
* New patch: target-i386: Loop-based copying and setting/unsetting of feature words
* Patch changed to use the new .migratable_flags field:
* target-i386: support "invariant tsc" flag

Changes v2 -> v3:
* Rebase after QEMU v2.0.0 (onto commit 2d03b49)
* Added new patch: target-i386: support "invariant tsc" flag
* Added new patch: target-i386: Support "-cpu host" in TCG mode

Changes v1 -> v2:
* Rebase to latest qom-cpu (commit 90c5d39c)

Cc Igor Mammedov <[email protected]>
Cc Andreas Färber <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Aurelien Jarno <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Marcelo Tosatti <[email protected]>

Eduardo Habkost (15):
target-i386: kvm: Don't enable MONITOR by default on any CPU model
target-i386: Simplify reporting of unavailable features
target-i386: Merge feature filtering/checking functions
target-i386: Pass FeatureWord argument to
report_unavailable_features()
target-i386: Isolate KVM-specific code on CPU feature filtering logic
target-i386: Make TCG feature filtering more readable
target-i386: Filter FEAT_7_0_EBX TCG features too
target-i386: Filter KVM and 0xC0000001 features on TCG
target-i386: Define TCG_*_FEATURES earlier on cpu.c
target-i386: Loop-based copying and setting/unsetting of feature words
target-i386: Loop-based feature word filtering in TCG mode
target-i386: Support check/enforce flags in TCG mode, too
target-i386: Support "-cpu host" in TCG mode
target-i386: Add "migratable" property to "host" CPU model
target-i386: Set migratable=yes by default

Marcelo Tosatti (3):
savevm: check vmsd for migratability status
target-i386: block migration and savevm if invariant tsc is exposed
target-i386: support "invariant tsc" flag

 savevm.c              |   5 +-
 target-i386/cpu-qom.h |   7 +-
 target-i386/cpu.c     | 358 ++++++++++++++++++++++++++++++--------------------
 target-i386/cpu.h     |   4 +
 target-i386/kvm.c     |  13 ++
 target-i386/machine.c |   2 +-
 6 files changed, 240 insertions(+), 149 deletions(-)
Signature · 1 line
1.9.0