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

[Xen-changelog] [xen staging] xen/arm: domain_build: Print the correct domain in construct_domain()



commit 940731ecc066781b35ece890ebb2a275c86027a5
Author:     Julien Grall <julien.grall@xxxxxxx>
AuthorDate: Thu Aug 15 18:34:21 2019 +0100
Commit:     Julien Grall <julien.grall@xxxxxxx>
CommitDate: Wed Oct 2 09:23:38 2019 +0100

    xen/arm: domain_build: Print the correct domain in construct_domain()
    
    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: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    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 b791e4b512..5709a77d4d 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -2007,7 +2007,7 @@ static int __init construct_domain(struct domain *d, 
struct kernel_info *kinfo)
     {
         if ( vcpu_create(d, i) == NULL )
         {
-            printk("Failed to allocate d0v%u\n", i);
+            printk("Failed to allocate d%dv%d\n", d->domain_id, i);
             break;
         }
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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