Re: [RFC PATCH 3/9] KVM: x86: Add a kvm-only leaf for BHI_CTRL
From: Ricardo Neri
Date: Wed Dec 14 2022 - 16:28:59 EST
On Sun, Dec 11, 2022 at 12:00:40AM +0800, Zhang Chen wrote:
> KVM needs to check if guests can see BHI_CTRL. If a guest is using
> BHB-clearing sequence and cannot see BHI_CTRL and the host enumerates BHI,
> KVM is responsible for setting BHI_DIS_S for the guest.
>
> This allows VM migration from parts doesn't enumerate BHI to those
> that enumerate BHI.
Similar comment as in patch 2.