On Tue, May 20, 2025 at 10:52:39PM +0000, Wei Liu wrote: > On Tue, May 20, 2025 at 01:30:17PM +0200, Magnus Kulke wrote: > > + case HVMSG_GPA_INTERCEPT: > > I'm not sure why you want to handle UNMAPPED_GPA and GPA_INTERCEPT > separately. In Cloud Hypervisor there is one code path for both. > > Is this due to how the memory address space is set up in QEMU? >
yes, indeed. this is a provisiong for the dynamic re-mapping of overlapping userspace addresses. We can handle both together in this commit, though.