On Tue, Nov 25 2025, Eric Auger <[email protected]> wrote:

> On ARM we want to be able to blacklist registers that are exposed
> by KVM. To mitigate some mitigation failures that occur when a new
> register is exposed and does not exist on the destination, some
> registers are tagged "hidden" and their state won't be saved. As the
> state is not saved and they are expected not to be used, we want to
> enforce they aren't. So let's check this. The new CPUClass hide_reg()
> callback is optional and will be implemented on ARM in a subsequent
> patch.

Maybe "hide" or "ignore" instead of "blacklist"?

>
> Signed-off-by: Eric Auger <[email protected]>
> ---
>  include/hw/core/cpu.h |  2 ++
>  accel/kvm/kvm-all.c   | 12 ++++++++++++
>  2 files changed, 14 insertions(+)
>

Otherwise,

Reviewed-by: Cornelia Huck <[email protected]>


Reply via email to