mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/domain: update create_dom0() messages
Use %pd for domain identification in error/panic messages in create_dom0(). No functional change. Signed-off-by: Denis Mukhin <dmukhin@ford.com> Reviewed-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com> Acked-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
b3d31533a0
commit
5104e05904
2 files changed
+5
-5
No files matched your search
@@ -2092,14 +2092,14 @@ void __init create_dom0(void)
|
||||
panic("Error creating domain 0 (rc = %ld)\n", PTR_ERR(dom0));
|
||||
|
||||
if ( llc_coloring_enabled && (rc = dom0_set_llc_colors(dom0)) )
|
||||
panic("Error initializing LLC coloring for domain 0 (rc = %d)\n", rc);
|
||||
panic("Error initializing LLC coloring for %pd (rc = %d)\n", dom0, rc);
|
||||
|
||||
if ( vcpu_create(dom0, 0) == NULL )
|
||||
panic("Error creating domain 0 vcpu0\n");
|
||||
panic("Error creating %pdv0\n", dom0);
|
||||
|
||||
rc = construct_dom0(dom0);
|
||||
if ( rc )
|
||||
panic("Could not set up DOM0 guest OS (rc = %d)\n", rc);
|
||||
panic("Could not set up %pd guest OS (rc = %d)\n", dom0, rc);
|
||||
|
||||
set_xs_domain(dom0);
|
||||
}
|
||||
|
||||
@@ -1073,7 +1073,7 @@ static struct domain *__init create_dom0(struct boot_info *bi)
|
||||
|
||||
if ( (strlen(acpi_param) == 0) && acpi_disabled )
|
||||
{
|
||||
printk("ACPI is disabled, notifying Domain 0 (acpi=off)\n");
|
||||
printk("ACPI is disabled, notifying %pd (acpi=off)\n", d);
|
||||
safe_strcpy(acpi_param, "off");
|
||||
}
|
||||
|
||||
@@ -1088,7 +1088,7 @@ static struct domain *__init create_dom0(struct boot_info *bi)
|
||||
|
||||
bd->d = d;
|
||||
if ( construct_dom0(bd) != 0 )
|
||||
panic("Could not construct domain 0\n");
|
||||
panic("Could not construct %pd\n", d);
|
||||
|
||||
bd->cmdline = NULL;
|
||||
xfree(cmdline);
|
||||
|
||||