On 19 January 2017 at 21:04, Eduardo Habkost <ehabk...@redhat.com> wrote: > This is v2 of the previous series that enabled the "host" CPU > model on TCG. Now a new "max" CPU is being added, while keeping > "host" KVM-specific. > > In addition to simply adding "max" as a copy of the existing > "host" CPU model, additional patches change it to not use any > host CPUID information when in TCG mode. > > --- > Cc: "Richard W.M. Jones" <rjo...@redhat.com> > Cc: David Hildenbrand <da...@redhat.com> > Cc: Cornelia Huck <cornelia.h...@de.ibm.com> > Cc: "Daniel P. Berrange" <berra...@redhat.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: Igor Mammedov <imamm...@redhat.com> > Cc: Jiri Denemark <jdene...@redhat.com> > Cc: Richard Henderson <r...@twiddle.net> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: "Jason J. Herne" <jjhe...@linux.vnet.ibm.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > > Eduardo Habkost (6): > i386: Unset cannot_destroy_with_object_finalize_yet on "host" model > i386: Add ordering field to CPUClass > i386: Rename X86CPU::host_features to X86CPU::max_features > i386: Create "max" CPU model > i386: Make "max" model not use any host CPUID info on TCG > i386: Don't set CPUClass::cpu_def on "max" model > > target/i386/cpu-qom.h | 6 ++- > target/i386/cpu.h | 2 +- > target/i386/cpu.c | 110 > +++++++++++++++++++++++++++++--------------------- > 3 files changed, 71 insertions(+), 47 deletions(-)
Should we be documenting this new -cpu max somewhere? (If this series is OK I can send patches to add support to ARM, and also to add "-machine gic-version=max" to allow picking the best available interrupt controller type, by analogy.) thanks -- PMM