aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-05-19 05:27:06 -0500
committerPaolo Bonzini <[email protected]>2022-06-24 12:51:15 -0400
commitf8d8ac215919cf40d3b358846ed8e8e3a3683131 (patch)
treeecf61e9e63a3489e2039da6e1187219dc9bff94b /tools/perf/scripts/python
parent0e311d33bfbef86da130674e8528cc23e6acfe16 (diff)
KVM: x86: Warning APICv inconsistency only when vcpu APIC mode is valid
When launching a VM with x2APIC and specify more than 255 vCPUs, the guest kernel can disable x2APIC (e.g. specify nox2apic kernel option). The VM fallbacks to xAPIC mode, and disable the vCPU ID 255 and greater. In this case, APICV is deactivated for the disabled vCPUs. However, the current APICv consistency warning does not account for this case, which results in a warning. Therefore, modify warning logic to report only when vCPU APIC mode is valid. Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions