diff options
| author | Juergen Gross <jgross@suse.com> | 2026-11-10 10:56:04 +0100 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-11-13 12:10:17 +0100 |
| commit | 4ebb3b8d129cbb419a55924f6a75f8f58435e37b (patch) | |
| tree | dbb157ec9be0a47c4bcbca40a8f34b105e31c3ad /scripts/Makefile.thinlto | |
| parent | 6b3feb6bfa9ac384f7a3ec25c40b9b4d3da96d25 (diff) | |
| download | lwn-4ebb3b8d129cbb419a55924f6a75f8f58435e37b.tar.gz lwn-4ebb3b8d129cbb419a55924f6a75f8f58435e37b.zip | |
xen: don't allow gnttab_dma_[alloc|free]_pages() in PV guest
Today gnttab_dma_alloc_pages() or gnttab_dma_free_pages are never
called when running as a PV guest, but this holds for in-tree callers
only.
Bail out early when being called in PV mode in order to ensure no out
of tree module or future use cases are violating this assumption.
This enables to safely remove PV-only code from both functions.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20261110095605.369848-2-jgross@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
