[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] vtd: Move (un)map_vtd_domain_page to extern.h



Le 22/10/2025 à 12:28, Jan Beulich a écrit :
> On 22.10.2025 11:51, Teddy Astie wrote:
>> These functions are basically wrappers of map_domain_page;
>
> Given this, ...
>
>> move
>> them to the shared extern.h and make them inline to help with code
>> generation.
>
> ... rather than moving can't we just drop them?
>

That would be better, but that's a larger set of changes
(map_vtd_domain_page uses maddr instead of mfn).
Ideally, we would want to change the code to use mfn directly and avoid
converting all around between mfn and maddr when refering to pages.

> Jan



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.