]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Add new property to control cache info
authorBabu Moger <babu.moger@amd.com>
Mon, 14 May 2018 16:41:51 +0000 (11:41 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 May 2018 14:33:33 +0000 (11:33 -0300)
commitab8f992e3e63e91be257e4e343d386dae7be4bcb
treead3a3b1ab4a468df7c3ca45cd2b6957655927d6e
parent968ee4ad25934717b9192dfed6650a6282854e17
i386: Add new property to control cache info

The property legacy-cache will be used to control the cache information.
If user passes "-cpu legacy-cache" then older information will
be displayed even if the hardware supports new information. Otherwise
use the statically loaded cache definitions if available.

Renamed the previous cache structures to legacy_*. If there is any change in
the cache information, then it needs to be initialized in builtin_x86_defs.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Tested-by: Geoffrey McRae <geoff@hostfission.com>
Message-Id: <20180514164156.27034-3-babu.moger@amd.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/i386/pc.h
target/i386/cpu.c
target/i386/cpu.h