On Thu, Mar 05, 2026 at 10:57:19AM +0900, Akihiko Odaki wrote: > But looking at the code, the functions generating errors (e.g., > qemu_ram_alloc()) return values that indicate failures (NULL), so I now > think we should use the first pattern I cited (i.e., check the returned > value instead of err) and remove the err variable and error_propagate() > altogether instead of factoring them out with > memory_region_error_propagate() or ERRP_GUARD().
I agree, this looks better. -- Peter Xu
