]> git.ipfire.org Git - thirdparty/qemu.git/commit
physmem: Bail out qemu_ram_block_from_host() for invalid ram addrs
authorEdgar E. Iglesias <edgar.iglesias@amd.com>
Mon, 1 Jul 2024 22:44:20 +0000 (00:44 +0200)
committerEdgar E. Iglesias <edgar.iglesias@amd.com>
Thu, 11 Jul 2024 22:17:36 +0000 (00:17 +0200)
commit596ccccdbfa124adb42be8c2faf0c74f4849c7a6
treed182e5b664108f8aab4c0251e011be9f7d34501d
parentd01a6fffa9e5e605cde216733948f97beb01bdb1
physmem: Bail out qemu_ram_block_from_host() for invalid ram addrs

Bail out in qemu_ram_block_from_host() when
xen_ram_addr_from_mapcache() does not find an existing
mapping.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
system/physmem.c