|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/riscv: set the domain type for 64-bit kernel images
commit a96115e0568cc7d769b0dabfd420cf502dc3c82a
Author: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
AuthorDate: Mon Oct 12 09:40:52 2026 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Oct 12 09:40:52 2026 +0200
xen/riscv: set the domain type for 64-bit kernel images
kernel_image64_probe() never set info->type, so every domain kept the
DOMAIN_32BIT value a zeroed KERNEL_INFO_INIT leaves behind, even though
Xen on RISC-V is only built for RV64 and accepts nothing but a 64-bit
Image.
Nothing consumes d->type on RISC-V yet, so there is no functional change.
Fixes: f6a20eda9212 ("xen/riscv: add Linux kernel loading support")
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Reviewed-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/arch/riscv/kernel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/riscv/kernel.c b/xen/arch/riscv/kernel.c
index 8580cdb32d..5601b2818b 100644
--- a/xen/arch/riscv/kernel.c
+++ b/xen/arch/riscv/kernel.c
@@ -233,6 +233,8 @@ static int __init kernel_image64_probe(struct kernel_info
*info,
info->image.text_offset = le64_to_cpu(image.text_offset);
info->image.start = 0;
+ info->type = DOMAIN_64BIT;
+
info->load = kernel_image_load;
return 0;
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |