arm/domain: fix comment for arch_set_info_guest
PATCH 1/1 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.
---
Changes in v2:
- rephrased comment to not list caller functions (Julien)
--- xen/arch/arm/domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
xen/arch/arm/domain.c +2 -3
@@ -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)
Signature · 1 line
2.17.1
Quoted 8 lines · Luca Fancellu
The function
arch_set_info_guestis not reached anymore throughVCPUOP_initialiseon arm, update the comment.Signed-off-by Luca Fancellu <[email protected]>
Hi All,
Sorry I forgot to put v2 in the tag.
Cheers,
Luca
Quoted 27 lines
---
Changes in v2:
- rephrased comment to not list caller functions (Julien)
---xen/arch/arm/domain.c| 5 ++---1 file changed, 2 insertions(+), 3 deletions(-)xen/arch/arm/domain.c +2
-3@@ -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_uc)Signature · 1 line
2.17.1
Hi Luca,
Quoted 16 lines · Luca Fancellu
The function
arch_set_info_guestis not reached anymore throughVCPUOP_initialiseon arm, update the comment.Signed-off-by Luca Fancellu <[email protected]>---
Changes in v2:
- rephrased comment to not list caller functions (Julien)--- xen/arch/arm/domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)xen/arch/arm/domain.c +0
-0
xen/arch/arm/domain.c static int is_guest_pv64_psr(uint64_t psr) · line 889
Quoted 8 lines
xen/arch/arm/domain.c +2
-3@@ -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
NIT: Missing a full stop. This can be added on commit.
Cheers,
Signature · 1 line
Julien Grall
Quoted 31 lines · Julien Grall
Hi Luca,
Quoted 14 lines · Luca Fancellu
The function
arch_set_info_guestis not reached anymore throughVCPUOP_initialiseon arm, update the comment.Signed-off-by Luca Fancellu <[email protected]>---
Changes in v2:
- rephrased comment to not list caller functions (Julien)--- xen/arch/arm/domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)xen/arch/arm/domain.c +0
-0xen/arch/arm/domain.c static int is_guest_pv64_psr(uint64_t psr) · line 888
Quoted 7 lines
xen/arch/arm/domain.c +2
-3@@ -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 NIT: Missing a full stop. This can be added on commit.
Quoted 1 line
Acked-by Julien Grall <[email protected]>
Hi Julien,
Any plan to commit this one? Not an important change, just asking so that I can remove it from my watch list.
Cheers,
Luca
Quoted 5 lines
Cheers,
Signature · 1 line
Julien Grall
Hi Luca,
Quoted 31 lines · Luca Fancellu
Quoted 31 lines · Julien Grall
Hi Luca,
Quoted 14 lines · Luca Fancellu
The function
arch_set_info_guestis not reached anymore throughVCPUOP_initialiseon arm, update the comment.Signed-off-by Luca Fancellu <[email protected]>---
Changes in v2:
- rephrased comment to not list caller functions (Julien)--- xen/arch/arm/domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)xen/arch/arm/domain.c +0
-0xen/arch/arm/domain.c static int is_guest_pv64_psr(uint64_t psr) · line 888
Quoted 7 lines
xen/arch/arm/domain.c +2
-3@@ -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 NIT: Missing a full stop. This can be added on commit.
Quoted 6 lines
Quoted 1 line
Acked-by Julien Grall <[email protected]>Hi Julien,
Any plan to commit this one? Not an important change, just asking so that I can remove it from my watch list.
Sorry for the delay. It is now pushed.
Cheers,
Signature · 1 line
Julien Grall