On 13/08/2018 22:07, Olaf Hering wrote: > Since other callers already deal with NULL, that one has to cope as well.
They don't. - address_space_map just returns the value that qemu_ram_ptr_length returned, and none of its callers deal with NULL (there are dozens) - likewise for address_space_cache_init There is also memory_region_get_ram_ptr (which via qemu_map_ram_ptr is also using xen_map_cache), and none of its callers deal with NULL either. Paolo
signature.asc
Description: OpenPGP digital signature