]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: x86_cpu_load_features() function
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 28 Sep 2016 18:03:26 +0000 (15:03 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (15:44 -0200)
commit41f3d4d69a423dadb8431fda65d8d7c68c0de0fc
tree9d637d98806b387dc37f59a20884368841f05231
parente9e60febc497ae9d446caba0bdb2e9597a72e37c
target-i386: x86_cpu_load_features() function

When probing for CPU model information, we need to reuse the code
that initializes CPUID fields, but not the remaining side-effects
of x86_cpu_realizefn(). Move that code to a separate function
that can be reused later.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c