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 <imamm...@redhat.com> Cc: Andreas Färber <afaer...@suse.de> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Aurelien Jarno <aurel...@aurel32.net> Cc: Richard Henderson <r...@twiddle.net> Cc: Marcelo Tosatti <mtosa...@redhat.com> 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(-) -- 1.9.0