]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Add Intel Processor Trace feature support
authorChao Peng <chao.p.peng@linux.intel.com>
Sun, 4 Mar 2018 16:48:35 +0000 (00:48 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 12 Mar 2018 18:59:46 +0000 (15:59 -0300)
commite37a5c7fa459558b5020588994707fe3fdd6616e
treef74043bcb92bd0c9cdbd07f9e82d9da2f006b60b
parentbe7773268d98176489483a315d3e2323cb0615b9
i386: Add Intel Processor Trace feature support

Expose Intel Processor Trace feature to guest.

To make Intel PT live migration safe and get same CPUID information
with same CPU model on diffrent host. CPUID[14] is constant in this
patch. Intel PT use EPT is first supported in IceLake, the CPUID[14]
get on this machine as default value. Intel PT would be disabled
if any machine don't support this minial feature list.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Message-Id: <1520182116-16485-1-git-send-email-luwei.kang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c