From: "Edgar E. Iglesias" <edgar.igles...@amd.com> This fixes the unmapping of the first mapping in a bucket of a mapcache.
We also add error handling to qemu_ram_block_from_host() to bail out when xen_ram_addr_from_mapcache() doesn't find an existing mapping. Cheers, Edgar Edgar E. Iglesias (2): physmem: Bail out qemu_ram_block_from_host() for invalid ram addrs xen: mapcache: Fix unmapping of first entries in buckets hw/xen/xen-mapcache.c | 12 +++++++++++- system/physmem.c | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) -- 2.43.0