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@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
Luca Fancellu authored and Julien Grall committed 2022-08-22 09:08:15 +01:00
1 parent f6cd15188e
commit 58ce731fac
1 file changed
+2 -3
+2 -3
View 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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.