Hi Paul, Thank you for your help understanding the resource code.
On 09/27/2018 11:46 AM, Paul Durrant wrote:
If the DM domain is not PV then currently it must be the hardware domain to be able to map resources. Hence we trust it not to descrease_reservation IOREQ pages.
Can you point me to check in the code? The only check I found is: !(xmar.flags & XENMEM_rsrc_acq_caller_owned) && !is_hardware_domain(d) But this is still allowing to map some of the resources in a DM domain. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel