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

[xen staging] x86/dmop: add compat struct checking for XEN_DMOP_map_mem_type_to_ioreq_server



commit 4d7bcd128f11dff49b0fd8eb367a3c546a8e38af
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Sep 4 11:08:40 2020 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Sep 4 11:08:40 2020 +0200

    x86/dmop: add compat struct checking for 
XEN_DMOP_map_mem_type_to_ioreq_server
    
    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 <jbeulich@xxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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