* [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain()
@ 2019-08-15 17:35 Julien Grall
2019-08-16 16:30 ` Volodymyr Babchuk
2019-10-02 1:18 ` Stefano Stabellini
0 siblings, 2 replies; 3+ messages in thread
From: Julien Grall @ 2019-08-15 17:35 UTC (permalink / raw)
To: xen-devel; +Cc: Julien Grall, Stefano Stabellini, Volodymyr Babchuk
construct_domain() can be called by other domain than dom0. To avoid
confusion in the log, print the correct domain.
Signed-off-by: Julien Grall <julien.grall@arm.com>
---
xen/arch/arm/domain_build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index 33171081ea..cf9ffbc360 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -1978,7 +1978,7 @@ static int __init construct_domain(struct domain *d, struct kernel_info *kinfo)
cpu = cpumask_cycle(cpu, &cpu_online_map);
if ( vcpu_create(d, i, cpu) == NULL )
{
- printk("Failed to allocate dom0 vcpu %d on pcpu %d\n", i, cpu);
+ printk("Failed to allocate %pd vcpu %d on pcpu %d\n", d, i, cpu);
break;
}
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain()
2019-08-15 17:35 [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain() Julien Grall
@ 2019-08-16 16:30 ` Volodymyr Babchuk
2019-10-02 1:18 ` Stefano Stabellini
1 sibling, 0 replies; 3+ messages in thread
From: Volodymyr Babchuk @ 2019-08-16 16:30 UTC (permalink / raw)
To: Julien Grall
Cc: xen-devel@lists.xenproject.org, Stefano Stabellini,
Volodymyr Babchuk
Julien Grall writes:
> construct_domain() can be called by other domain than dom0. To avoid
> confusion in the log, print the correct domain.
>
> Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
> ---
> xen/arch/arm/domain_build.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
> index 33171081ea..cf9ffbc360 100644
> --- a/xen/arch/arm/domain_build.c
> +++ b/xen/arch/arm/domain_build.c
> @@ -1978,7 +1978,7 @@ static int __init construct_domain(struct domain *d, struct kernel_info *kinfo)
> cpu = cpumask_cycle(cpu, &cpu_online_map);
> if ( vcpu_create(d, i, cpu) == NULL )
> {
> - printk("Failed to allocate dom0 vcpu %d on pcpu %d\n", i, cpu);
> + printk("Failed to allocate %pd vcpu %d on pcpu %d\n", d, i, cpu);
> break;
> }
--
Volodymyr Babchuk at EPAM
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain()
2019-08-15 17:35 [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain() Julien Grall
2019-08-16 16:30 ` Volodymyr Babchuk
@ 2019-10-02 1:18 ` Stefano Stabellini
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2019-10-02 1:18 UTC (permalink / raw)
To: Julien Grall; +Cc: xen-devel, Stefano Stabellini, Volodymyr Babchuk
On Thu, 15 Aug 2019, Julien Grall wrote:
> construct_domain() can be called by other domain than dom0. To avoid
> confusion in the log, print the correct domain.
>
> Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> xen/arch/arm/domain_build.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
> index 33171081ea..cf9ffbc360 100644
> --- a/xen/arch/arm/domain_build.c
> +++ b/xen/arch/arm/domain_build.c
> @@ -1978,7 +1978,7 @@ static int __init construct_domain(struct domain *d, struct kernel_info *kinfo)
> cpu = cpumask_cycle(cpu, &cpu_online_map);
> if ( vcpu_create(d, i, cpu) == NULL )
> {
> - printk("Failed to allocate dom0 vcpu %d on pcpu %d\n", i, cpu);
> + printk("Failed to allocate %pd vcpu %d on pcpu %d\n", d, i, cpu);
> break;
> }
>
> --
> 2.11.0
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-02 1:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-15 17:35 [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain() Julien Grall
2019-08-16 16:30 ` Volodymyr Babchuk
2019-10-02 1:18 ` Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.