|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 6/9] xen/arm: add P2M type parameter in guest_physmap_add_pages
Hi, On 06/05/2022 08:24, Penny Zheng wrote: In order to cover the scenario where users intend to set up guest p2m foreign mapping with nr_pages, this commit adds a new P2M type parameter in guest_physmap_add_pages. With this patch, guest_physmap_add_pages() and guest_physmap_add_page() will behave differently. The former will be able to deal with any type whilst the latter can only handle RAM type. I think we need to stay consistent with the name. Looking at the existing helper, we already have one that should suit you (see map_regions_p2mt()). So this patch looks unnecessary. Cheers,
-- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |