|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Patch][RFC] Support "xm dump" (is Re:[Xen-devel]Re:[Patch]Enable"sy
> BTW, I try to make your xendump.c, but cannot compile it.
> Could you post the Makefile?
> I'd like to use your xendump.
I actually build this out of tree along with some other utilities so the
Makefile wont be a lot of use to you. However, the
relevant sections (mostly taken from tools/console/Makefile btw) are
attached.
Having said that, if you are going to add an 'xm dump' command, I think
it should be done by modifying the xend Python code
rather than building an external C program (I wish I'd thought of this!)
Simon
------Makefile extract------
XEN_ROOT=<path to top of xen tree>
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror -g
CFLAGS += -I $(XEN_XC)
CFLAGS += -I $(XEN_LIBXC)
CFLAGS += -I $(XEN_XENSTORE)
LDFLAGS += -L $(XEN_LIBXC)
LDFLAGS += -L $(XEN_XENSTORE)
BIN = xendump
.PHONY: build
build: $(BIN)
%: %.c
$(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -l xenstore -o $@ $<
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- RE: [Patch][RFC] Support "xm dump" (is Re:[Xen-devel]Re:[Patch]Enable"sysrq c" handler for domU coredump),
Graham, Simon <=
|
|
|
|
|