[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/misc: Fix linkage of libxenstore
commit 8fde66c8c0feddf6ce391ceaf061dca73d33787d Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu Apr 24 22:17:57 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri May 2 13:34:35 2014 +0100 tools/misc: Fix linkage of libxenstore * xen-mfndump doesn't use xenstore at all. Don't link against it. * xen-hptool can include the correct header rather than externing itself a single function. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CC: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Reviewed-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/misc/Makefile | 2 +- tools/misc/xen-hptool.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/misc/Makefile b/tools/misc/Makefile index 17aeda5..69b1817 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -76,7 +76,7 @@ xen-hptool: xen-hptool.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore) $(APPEND_LDFLAGS) xen-mfndump: xen-mfndump.o - $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore) $(APPEND_LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(APPEND_LDFLAGS) xenwatchdogd: xenwatchdogd.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(APPEND_LDFLAGS) diff --git a/tools/misc/xen-hptool.c b/tools/misc/xen-hptool.c index 8aac51c..d0e8e90 100644 --- a/tools/misc/xen-hptool.c +++ b/tools/misc/xen-hptool.c @@ -1,6 +1,7 @@ #include <xenctrl.h> #include <xc_private.h> #include <xc_core.h> +#include <xenstore.h> #include <unistd.h> #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) @@ -96,8 +97,6 @@ static int hp_mem_query_func(int argc, char *argv[]) return ret; } -extern int xs_suspend_evtchn_port(int domid); - static int suspend_guest(xc_interface *xch, xc_evtchn *xce, int domid, int *evtchn, int *lockfd) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |