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

[Xen-changelog] [xen master] kdd: Opt in to libxc compat xc_map_foreign_* intefaces.



commit dc825dde070e2e4a0810ddaaaa08fe5199323581
Author:     Ian Campbell <ian.campbell@xxxxxxxxxx>
AuthorDate: Mon Jan 25 12:45:32 2016 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Mon Jan 25 14:18:24 2016 +0000

    kdd: Opt in to libxc compat xc_map_foreign_* intefaces.
    
    This:
    
    kdd-xen.c: In function 'kdd_access_physical_page':
    kdd-xen.c:508:9: warning: implicit declaration of function 
'xc_map_foreign_range' [-Wimplicit-function-declaration]
             map = xc_map_foreign_range(g->xc_handle,
             ^
    kdd-xen.c:508:13: warning: assignment makes pointer from integer without a 
cast
             map = xc_map_foreign_range(g->xc_handle,
                 ^
    
    was caused by the refactoring of this functionality into
    libxenforeignmemory.
    
    Reported by: Olaf Hering <olaf@xxxxxxxxx>
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Acked-by: Tim Deegan <tim@xxxxxxx>
    Tested-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/debugger/kdd/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/debugger/kdd/Makefile b/tools/debugger/kdd/Makefile
index a79d7cf..72ad1b9 100644
--- a/tools/debugger/kdd/Makefile
+++ b/tools/debugger/kdd/Makefile
@@ -2,6 +2,7 @@ XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
 CFLAGS  += $(CFLAGS_libxenctrl)
+CFLAGS  += -DXC_WANT_COMPAT_MAP_FOREIGN_API
 LDLIBS  += $(LDLIBS_libxenctrl)
 
 CFILES  := kdd.c kdd-xen.c
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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