[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] arm/domain: fix comment for arch_set_info_guest
commit 58ce731faca28cb08f7c1b8c79b59fed47d0b2c2 Author: Luca Fancellu <luca.fancellu@xxxxxxx> AuthorDate: Fri Aug 5 14:08:00 2022 +0100 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Mon Aug 22 09:08:15 2022 +0100 arm/domain: fix comment for arch_set_info_guest The function arch_set_info_guest is not reached anymore through VCPUOP_initialise on arm, update the comment. Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- xen/arch/arm/domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 2cd481979c..13df91c401 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -885,9 +885,8 @@ static int is_guest_pv64_psr(uint64_t psr) #endif /* - * Initialise VCPU state. The context can be supplied by either the - * toolstack (XEN_DOMCTL_setvcpucontext) or the guest - * (VCPUOP_initialise) and therefore must be properly validated. + * Initialise vCPU state. The context may be supplied by an external entity, so + * we need to validate it. */ int arch_set_info_guest( struct vcpu *v, vcpu_guest_context_u c) -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |