Changes v1 -> v2: * Fix build without CONFIG_KVM at lmce_supported() * Rebased on top of my x86-next branch: https://github.com/ehabkost/qemu x86-next
Git branch for testing: https://github.com/ehabkost/qemu-hacks work/x86-cpu-max-tcg libvirt code to use the new feature already exist, and were submitted to libvir-list, at: https://www.mail-archive.com/libvir-list@redhat.com/msg142168.html --- This is a replacement for 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 (3): 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 | 4 ++- target/i386/cpu.c | 98 ++++++++++++++++++++++++++++++++------------------- 2 files changed, 64 insertions(+), 38 deletions(-) -- 2.11.0.259.g40922b1