target-i386: Disable cache info passthrough by default
commite265e3e48049fbece9eaf536aa00ca41aa3c54d0
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 2 Sep 2015 14:19:11 +0000 (2 11:19 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 23 Oct 2015 14:59:27 +0000 (23 12:59 -0200)
tree8012ed63530393207b4ba9c9fcbf4e74d9957713
parentdd75d4fcb4a82c34d4f466e7fc166162b71ff740
target-i386: Disable cache info passthrough by default

The host cache information may not make sense for the guest if the VM
CPU topology doesn't match the host CPU topology. To make sure we won't
expose broken cache information to the guest, disable cache info
passthrough by default, and add a new "host-cache-info" property that
can be used to enable the old behavior for users that really need it.

Cc: BenoƮt Canet <benoit@irqsave.net>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/i386/pc.h
target-i386/cpu.c