aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-11-27 11:40:57 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-03 12:26:24 +0100
commit235560b3a771f4bc05cf3e1c267ba8e7451576ee (patch)
treea018066f3f92ac5febf0fd07239fcbace8a19efa /.github/workflows
parent2dfe93699cd447224fa88d5890ad1d2397b7a9f6 (diff)
downloadqemu-235560b3a771f4bc05cf3e1c267ba8e7451576ee.zip
qemu-235560b3a771f4bc05cf3e1c267ba8e7451576ee.tar.gz
qemu-235560b3a771f4bc05cf3e1c267ba8e7451576ee.tar.bz2
hw/core/machine: diagnose wrapping of maxmem
The 'maxmem' parameter parsed on the command line is held in uint64_t and then assigned to the MachineState field that is 'ram_addr_t'. This assignment will wrap on 32-bit hosts, silently changing the user's config request if it were over-sized. Improve the existing diagnositics for validating 'size', and add the same diagnostics for 'maxmem' Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Ani Sinha <anisinha@redhat.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Message-ID: <20241127114057.255995-1-berrange@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions