diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-07 16:09:18 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-07 16:09:18 +0000 |
commit | cbb95d496810023a485a3cfc1a096733b055ce89 (patch) | |
tree | aa315f8efaf39511305d9f8d8c43ab6ae35ac7f7 /hw/arm/virt.c | |
parent | 7623676948d35cdbb31fd976f96277e3f1673e52 (diff) | |
download | qemu-cbb95d496810023a485a3cfc1a096733b055ce89.zip qemu-cbb95d496810023a485a3cfc1a096733b055ce89.tar.gz qemu-cbb95d496810023a485a3cfc1a096733b055ce89.tar.bz2 |
hw/arm/boot: Propagate vCPU to arm_load_dtb()
In heterogeneous setup the first vCPU might not be
the one expected, better pass it explicitly.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20250130112615.3219-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/virt.c')
-rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 99e0a68..d23b147 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1746,7 +1746,7 @@ void virt_machine_done(Notifier *notifier, void *data) vms->memmap[VIRT_PLATFORM_BUS].size, vms->irqmap[VIRT_PLATFORM_BUS]); } - if (arm_load_dtb(info->dtb_start, info, info->dtb_limit, as, ms) < 0) { + if (arm_load_dtb(info->dtb_start, info, info->dtb_limit, as, ms, cpu) < 0) { exit(1); } |