]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
arm/domain: fix comment for arch_set_info_guest
authorLuca Fancellu <luca.fancellu@arm.com>
Fri, 5 Aug 2022 13:08:00 +0000 (14:08 +0100)
committerJulien Grall <jgrall@amazon.com>
Mon, 22 Aug 2022 08:08:15 +0000 (09:08 +0100)
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@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/domain.c

index 2cd481979cf11bab8640395c1d01e49270e2d2d3..13df91c401e4ea50a170fdecc273a75349059f36 100644 (file)
@@ -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)