diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2018-05-24 11:43:30 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-06-08 15:54:10 -0300 |
commit | a9f27ea9adc8c695197bd08f2e938ef7b4183f07 (patch) | |
tree | 7560ef194e96d6f9b69ed6a04062e11c41509fd1 /module-common.c | |
parent | 0d2fa03dae4fbe185a082f361342b1e30aed4582 (diff) | |
download | qemu-a9f27ea9adc8c695197bd08f2e938ef7b4183f07.zip |
i386: Clean up cache CPUID code
Always initialize CPUCaches structs with cache information, even
if legacy_cache=true. Use different CPUCaches struct for
CPUID[2], CPUID[4], and the AMD CPUID leaves.
This will simplify a lot the logic inside cpu_x86_cpuid().
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <1527176614-26271-2-git-send-email-babu.moger@amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions