On 11.03.2025 22:10, Andrew Cooper wrote:
> ... in preference to the crs[8] array.  This avoids abusing crs[5..7] for the
> fs/gs bases, giving them proper named fields instead, and avoids storage for
> cr1 which is unused in the x86 architecture.
> 
> In show_registers(), remove a redundant read_cr2().  read_registers() already
> did the same, and it is only the PV path which needs to override with
> arch_get_cr2().
> 
> In vcpu_show_registers(), express the gsb/gss decision using SWAP().  The
> determination is going to get even more complicated under FRED.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>



Reply via email to