mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235560b3a7
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> |
1 day ago | |
---|---|---|
.. | ||
Kconfig | 1 month ago | |
bus.c | 10 months ago | |
clock-vmstate.c | 11 months ago | |
clock.c | 2 months ago | |
cpu-common.c | 2 months ago | |
cpu-sysemu.c | 7 months ago | |
eif.c | 4 weeks ago | |
eif.h | 1 month ago | |
fw-path-provider.c | 6 years ago | |
generic-loader.c | 7 months ago | |
gpio.c | 3 years ago | |
guest-loader.c | 3 years ago | |
guest-loader.h | 4 years ago | |
hotplug.c | 6 years ago | |
irq.c | 2 months ago | |
loader-fit.c | 5 months ago | |
loader.c | 5 months ago | |
machine-hmp-cmds.c | 7 months ago | |
machine-qmp-cmds.c | 6 months ago | |
machine-smp.c | 2 weeks ago | |
machine.c | 1 day ago | |
meson.build | 1 month ago | |
nmi.c | 2 years ago | |
null-machine.c | 4 years ago | |
numa.c | 3 months ago | |
or-irq.c | 3 months ago | |
platform-bus.c | 3 months ago | |
ptimer.c | 4 months ago | |
qdev-clock.c | 2 years ago | |
qdev-fw.c | 5 years ago | |
qdev-hotplug.c | 3 years ago | |
qdev-prop-internal.h | 4 years ago | |
qdev-properties-system.c | 1 week ago | |
qdev-properties.c | 4 weeks ago | |
qdev.c | 1 month ago | |
register.c | 3 years ago | |
reset.c | 2 months ago | |
resetcontainer.c | 9 months ago | |
resettable.c | 3 months ago | |
split-irq.c | 5 years ago | |
stream.c | 4 years ago | |
sysbus-fdt.c | 2 years ago | |
sysbus.c | 3 months ago | |
trace-events | 2 years ago | |
trace.h | 4 years ago | |
uboot_image.h | 3 months ago | |
vm-change-state-handler.c | 1 year ago | |
vmstate-if.c | 5 years ago |