Re: [PATCH 36/44] KVM: x86: Do compatibility checks when onlining CPU

From: Paolo Bonzini
Date: Thu Nov 03 2022 - 11:18:49 EST


On 11/3/22 00:19, Sean Christopherson wrote:
From: Chao Gao<chao.gao@xxxxxxxxx>

Do compatibility checks when enabling hardware to effectively add
compatibility checks when onlining a CPU. Abort enabling, i.e. the
online process, if the (hotplugged) CPU is incompatible with the known
good setup.

This paragraph is not true with this patch being before "KVM: Rename and move CPUHP_AP_KVM_STARTING to ONLINE section".

Paolo