Skip to contentSkip to conversation

xen-hvmctx: a tool to print the HVM state of a running domain

PATCH In review Tim Deegan 2 participants 2 messages Jun 19, 2009 – Aug 14, 2009

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 xen-hvmctx: a tool to print the HVM state of a running domain

.hgignore +1 -0
diff -r 703ced548925 -r ee1d36c49684 .hgignore
@@ -196,6 +196,7 @@
 ^tools/misc/xen-tmem-list-parse$
 ^tools/misc/xenperf$
 ^tools/misc/xenpm$
+^tools/misc/xen-hvmctx$
 ^tools/pygrub/build/.*$
 ^tools/python/build/.*$
 ^tools/python/xen/util/path\.py$
tools/misc/Makefile +5 -2
diff -r 703ced548925 -r ee1d36c49684 tools/misc/Makefile
@@ -10,7 +10,7 @@
 
 HDRS     = $(wildcard *.h)
 
-TARGETS-y := xenperf xenpm xen-tmem-list-parse
+TARGETS-y := xenperf xenpm xen-hvmctx xen-tmem-list-parse
 TARGETS-$(CONFIG_X86) += xen-detect
 TARGETS := $(TARGETS-y)
 
@@ -22,7 +22,7 @@
 INSTALL_BIN-$(CONFIG_X86) += xen-detect
 INSTALL_BIN := $(INSTALL_BIN-y)
 
-INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse
+INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse xen-hvmctx
 INSTALL_SBIN := $(INSTALL_SBIN-y)
 
 DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)
@@ -56,4 +56,7 @@
 xenperf xenpm: %: %.o Makefile
 	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDFLAGS_libxenctrl)
 
+xen-hvmctx: %: %.o Makefile
+	$(CC) $(LDFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
+
 -include $(DEPS)
tools/misc/xen-hvmctx.c new file +449 -0

449 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel