From 4d7bcd128f11dff49b0fd8eb367a3c546a8e38af Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 4 Sep 2020 11:08:40 +0200 Subject: [PATCH] x86/dmop: add compat struct checking for XEN_DMOP_map_mem_type_to_ioreq_server MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was forgotten when the subop was added. Also take the opportunity and move the dm_op_relocate_memory entry in xlat.lst to its designated place. No change in the resulting generated code. Fixes: ca2b511d3ff4 ("x86/ioreq server: add DMOP to map guest ram with p2m_ioreq_server to an ioreq server") Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné --- xen/arch/x86/hvm/dm.c | 1 + xen/include/xlat.lst | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/dm.c b/xen/arch/x86/hvm/dm.c index 9930d68860..cf3787d9ff 100644 --- a/xen/arch/x86/hvm/dm.c +++ b/xen/arch/x86/hvm/dm.c @@ -731,6 +731,7 @@ CHECK_dm_op_modified_memory; CHECK_dm_op_set_mem_type; CHECK_dm_op_inject_event; CHECK_dm_op_inject_msi; +CHECK_dm_op_map_mem_type_to_ioreq_server; CHECK_dm_op_remote_shutdown; CHECK_dm_op_relocate_memory; CHECK_dm_op_pin_memory_cacheattr; diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index 1eb28dbe66..bab3a9bad1 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -86,15 +86,16 @@ ? grant_entry_v2 grant_table.h ? gnttab_swap_grant_ref grant_table.h ! dm_op_buf hvm/dm_op.h -? dm_op_relocate_memory hvm/dm_op.h ? dm_op_create_ioreq_server hvm/dm_op.h ? dm_op_destroy_ioreq_server hvm/dm_op.h ? dm_op_get_ioreq_server_info hvm/dm_op.h ? dm_op_inject_event hvm/dm_op.h ? dm_op_inject_msi hvm/dm_op.h ? dm_op_ioreq_server_range hvm/dm_op.h +? dm_op_map_mem_type_to_ioreq_server hvm/dm_op.h ? dm_op_modified_memory hvm/dm_op.h ? dm_op_pin_memory_cacheattr hvm/dm_op.h +? dm_op_relocate_memory hvm/dm_op.h ? dm_op_remote_shutdown hvm/dm_op.h ? dm_op_set_ioreq_server_state hvm/dm_op.h ? dm_op_set_isa_irq_level hvm/dm_op.h -- 2.30.2