xen/arm: domain_build: Print the correct domain in initrd_load()
PATCH 1/1 xen/arm: domain_build: Print the correct domain in initrd_load()
initrd_load() can be called by other domain than dom0. To avoid confusion in the log, print the correct domain.
--- xen/arch/arm/domain_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/domain_build.c +2 -2
@@ -1818,8 +1818,8 @@ static void __init initrd_load(struct kernel_info *kinfo) paddr = mod->start; len = mod->size; -printk ("Loading dom0 initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , - paddr, load_addr, load_addr + len); +printk ("Loading %pd initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , + kinfo->d, paddr, load_addr, load_addr + len);/* Fix up linux,initrd-start and linux,initrd-end in /chosen */ node =fdt_path_offset (kinfo->fdt,"/chosen" );
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Julien Grall
initrd_load()can be called by other domain than dom0. To avoid confusion in the log, print the correct domain.Signed-off-by Julien Grall <[email protected]>
But why didn't you gathered all those patches into one patch series?
Quoted 19 lines
--- xen/arch/arm/domain_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)xen/arch/arm/domain_build.c +2
-2@@ -1818,8 +1818,8 @@ static void __init initrd_load(struct kernel_info *kinfo) paddr = mod->start; len = mod->size; -printk ("Loading dom0 initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , - paddr, load_addr, load_addr + len); +printk ("Loading %pd initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , + kinfo->d, paddr, load_addr, load_addr + len);/* Fix up linux,initrd-start and linux,initrd-end in /chosen */ node =fdt_path_offset (kinfo->fdt,"/chosen" );
Signature · 5 lines
Volodymyr Babchuk at EPAM _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · Volodymyr Babchuk
Quoted 4 lines · Julien Grall
initrd_load()can be called by other domain than dom0. To avoid confusion in the log, print the correct domain.Signed-off-by Julien Grall <[email protected]>Reviewed-by Volodymyr Babchuk <[email protected]>But why didn't you gathered all those patches into one patch series?
Because I couldn't be bothered to write a cover letter for it and they don't depend on each other...
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Julien Grall
initrd_load()can be called by other domain than dom0. To avoid confusion in the log, print the correct domain.Signed-off-by Julien Grall <[email protected]>
Thanks the bug was really annoying.
Quoted 22 lines
--- xen/arch/arm/domain_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)xen/arch/arm/domain_build.c +2
-2@@ -1818,8 +1818,8 @@ static void __init initrd_load(struct kernel_info *kinfo) paddr = mod->start; len = mod->size; -printk ("Loading dom0 initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , - paddr, load_addr, load_addr + len); +printk ("Loading %pd initrd from %" PRIpaddr" to 0x%" PRIpaddr"-0x%" PRIpaddr"\n" , + kinfo->d, paddr, load_addr, load_addr + len);/* Fix up linux,initrd-start and linux,initrd-end in /chosen */ node =fdt_path_offset (kinfo->fdt,"/chosen" );Signature · 1 line
2.11.0
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel