[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain()


  • To: Julien Grall <julien.grall@xxxxxxx>
  • From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Date: Fri, 16 Aug 2019 16:30:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UefegNIGMBZMHwpHytZAKtaOxPxSIH9qu/R5tZ6RwHk=; b=CDdAYQQ8KafBF+q8Uqrsk+TvxrYLSW3fymHuMywKfSlKtEPGz5/39UykbT0iTj79TKLJJ4KNhocSd+R/4KVgoY2GzMW7LCb25+oN+wraF96IHwU1bkG76H5jK73eTgcv/7N06w0JlwC7G8X7u/mm6LJdccxq6oj7vbrZ4s1mhzN0SgjdWvHXpL6X6HnzqcvuTkJfjzBtIuU7G4yQE9rjVnUERs6hoP6imHnp4J06Qv19L6YNWM37XJZfGLMhCngQSW6QAgAWxcuP7s6tmEcGlaeL2rO0kte6JurF4Cm325HgT7LeRJRUjW9uNLhs1OxWF55gdUZ2MTJfxMznIAHfcQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M6W7uV+pwrk4X3205/VT6z3DY71/Ua8NhmDOfSUbplWFSXxAwoxgGUZUotuvaw6pvM+cU4jEWIp286K8c847pw4lYmadkOii9YgxsW2GFWG5/i+sHku1Oc/4zt2MK6nvzu3iPKqgT4pIL7us6HEQ4yCHnOiToZ2KH2A+5uD9xuAFnnOxIw2oeFKu+KTN9tczVxR0KkJMl1ChaOU4hxLtH4AFgYXclQj8frkOzfiW3lqD+Itu8A4ygKbbQv/Ha5+OcrYr4zKyHRjQatmp3DjXD9C6S7AOj8rLOx6KtiLJi3vxa/m/HfNAI6jbOHMkQumu4/u2XdWkPg/TE7fN1IuRXg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Volodymyr_Babchuk@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Fri, 16 Aug 2019 16:30:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVU4/cH7ZH5mITaU2l9I2LeyfLd6b9+LEA
  • Thread-topic: [PATCH] xen/arm: domain_build: Print the correct domain in construct_domain()


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@xxxxxxx>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>

> ---
>  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@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.