On Fri, Mar 29, 2019 at 01:00:35PM +0000, Dave Martin wrote:
> Architecture features that are conditionally visible to the guest
> will require run-time checks in the ID register accessor functions.
> In particular, read_id_reg() will need to perform checks in order
> to generate the correct emulated value for certain ID register
> fields such as ID_AA64PFR0_EL1.SVE for example.
> 
> This patch propagates vcpu into read_id_reg() so that future
> patches can add run-time checks on the guest configuration here.
> 
> For now, there is no functional change.
> 
> Signed-off-by: Dave Martin <[email protected]>
> Reviewed-by: Alex BennĂ©e <[email protected]>
> Tested-by: zhang.lei <[email protected]>
> ---
>  arch/arm64/kvm/sys_regs.c | 23 +++++++++++++----------
>  1 file changed, 13 insertions(+), 10 deletions(-)
>

Reviewed-by: Andrew Jones <[email protected]>
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to