]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Create "max" CPU model
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 22 Feb 2017 18:39:17 +0000 (15:39 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 27 Feb 2017 16:23:21 +0000 (13:23 -0300)
commitc62f2630f8e8765677020ab0a464f94d4ac433b6
tree13fb282010b4fd2dad5adadf0246f318044fd4d9
parenta357a65b66a59488f3f5f09298a01df31319c624
i386: Create "max" CPU model

Rename the existing "host" CPU model to "max, and set it to
kvm_enabled=false. The new "max" CPU model will be able to enable
all features supported by TCG out of the box, because its logic
is based on x86_cpu_get_supported_feature_word(), which already
works with TCG.

A new KVM-specific "host" class was added, that simply inherits
everything from "max" except the 'ordering' and 'description'
fields.

Message-Id: <20170222183919.11928-2-ehabkost@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Tested-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c