i386/cpu: Make the Intel PT LIP feature configurable
authorLuwei Kang <luwei.kang@intel.com>
Wed, 2 Dec 2020 10:10:42 +0000 (18:10 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Dec 2020 22:33:23 +0000 (17:33 -0500)
commitd1615ea575b08fc96aeeb2630c40c5e51364b95c
tree5e5a4aa377ac64d3701e9764db78d8c0b5057ed4
parentc7f7e6970d3b74c1454cafea4918187e06c473eb
i386/cpu: Make the Intel PT LIP feature configurable

The current implementation will disable the guest Intel PT feature
if the Intel PT LIP feature is supported on the host, but the LIP
feature is comming soon(e.g. SnowRidge and later).

This patch will make the guest LIP feature configurable and Intel
PT feature can be enabled in guest when the guest LIP status same
with the host.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Message-Id: <20201202101042.11967-1-luwei.kang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h