i386: extended the cpuid_level when Intel PT is enabled

Intel Processor Trace required CPUID[0x14] but the cpuid_level
have no change when create a kvm guest with
e.g. "-cpu qemu64,+intel-pt

Backports relevant bits of commit
f24c3a79a415042f6dc195f029a2ba7247d14cac from qemu
This commit is contained in:
Luwei Kang 2019-03-11 16:39:51 -04:00 committed by Lioncash
parent d6b706a296
commit 9f2ce63414
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1368,6 +1368,9 @@ struct X86CPU {
/* Enable auto level-increase for all CPUID leaves */
bool full_cpuid_auto_level;
/* Enable auto level-increase for Intel Processor Trace leave */
bool intel_pt_auto_level;
/* if true fill the top bits of the MTRR_PHYSMASKn variable range */
bool fill_mtrr_mask;