aboutsummaryrefslogtreecommitdiff
path: root/backends/cryptodev.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2023-10-05 11:18:01 -0700
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-06 14:41:39 +0200
commit337265dbf2c35bdfc26f19ed05a71d225318660b (patch)
treea43989685cfa3dfde2911eedce9962a3547fee21 /backends/cryptodev.c
parenta99dd3375c1280b350b36527e0e8756ce44c4e8a (diff)
downloadqemu-337265dbf2c35bdfc26f19ed05a71d225318660b.zip
qemu-337265dbf2c35bdfc26f19ed05a71d225318660b.tar.gz
qemu-337265dbf2c35bdfc26f19ed05a71d225318660b.tar.bz2
xen: let xen_ram_addr_from_mapcache() return -1 in case of not found entry
Today xen_ram_addr_from_mapcache() will either abort() or return 0 in case it can't find a matching entry for a pointer value. Both cases are bad, so change that to return an invalid address instead. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Message-Id: <20231005181629.4046-5-vikram.garhwal@amd.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Message-ID: <20240430164939.925307-3-edgar.iglesias@gmail.com> [PMD: Keep xen_ram_addr_from_mapcache_not_found trace event] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'backends/cryptodev.c')
0 files changed, 0 insertions, 0 deletions