[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/gnttab: Perform compat/native gnttab_query_size check
commit 8c3bb4d8ce3f9e69ee173b8787a8cbbf1a852d06 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Tue Feb 20 19:58:08 2024 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Mon Jun 24 16:22:59 2024 +0100 xen/gnttab: Perform compat/native gnttab_query_size check This subop appears to have been missed from the compat checks. Fixes: 5ce8fafa947c ("Dynamic grant-table sizing") Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Release-Acked-By: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> --- xen/common/compat/grant_table.c | 9 +++++++++ xen/include/xlat.lst | 1 + 2 files changed, 10 insertions(+) diff --git a/xen/common/compat/grant_table.c b/xen/common/compat/grant_table.c index c495c375eb..dd40c48b11 100644 --- a/xen/common/compat/grant_table.c +++ b/xen/common/compat/grant_table.c @@ -30,6 +30,11 @@ CHECK_gnttab_unmap_grant_ref; CHECK_gnttab_unmap_and_replace; #undef xen_gnttab_unmap_and_replace +#define xen_gnttab_query_size gnttab_query_size +CHECK_gnttab_query_size; +#undef xen_gnttab_query_size +DEFINE_XEN_GUEST_HANDLE(gnttab_query_size_compat_t); + DEFINE_XEN_GUEST_HANDLE(gnttab_setup_table_compat_t); DEFINE_XEN_GUEST_HANDLE(gnttab_transfer_compat_t); DEFINE_XEN_GUEST_HANDLE(gnttab_copy_compat_t); @@ -106,6 +111,10 @@ int compat_grant_table_op( CASE(copy); #endif +#ifndef CHECK_query_size + CASE(query_size); +#endif + #ifndef CHECK_gnttab_dump_table CASE(dump_table); #endif diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index 0630530703..2046b36c04 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -88,6 +88,7 @@ ! gnttab_get_status_frames grant_table.h ? gnttab_get_version grant_table.h ? gnttab_map_grant_ref grant_table.h +? gnttab_query_size grant_table.h ? gnttab_set_version grant_table.h ! gnttab_setup_table grant_table.h ? gnttab_swap_grant_ref grant_table.h -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |