ia64/xen-unstable

annotate tools/Makefile @ 5099:187e3a02e0d5

bitkeeper revision 1.1513.1.1 (42925a6aSZSwfyaVsNzV4psPmpZwZg)

Execute xc_linux_restore in a seperate process so that it can't
crash xend. Also handle errors passed from xc_linux_restore and
log info messages from xc_linux_restore.
XendDomain.py:
Popen xc_restore instead of calling xc_linux_restore directly.
xc.c:
Add pyxc_handle exporting the file descriptor to the control interface.
Remove xc_linux_restore -- replaced by popen of xc_restore directly
from python.
xc_linux_restore.c:
Enable debug output.
xpopen.py:
Add xpopen functionality:
Optionally exclude a list of file descriptors from being closed, allowing
access to those file descriptors from the command.
Remove unused parts.
xpopen.py, Makefile, xc_restore.c:
new file
Makefile:
Add xcutils subdir.
ignore:
Add tools/xcutils/xc_restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon May 23 22:34:18 2005 +0000 (2005-05-23)
parents 387d226daf5b
children 18001959ba29
rev   line source
kaf24@4338 1 XEN_ROOT = ../
kaf24@4338 2 include $(XEN_ROOT)/tools/Rules.mk
iap10@771 3
kaf24@4338 4 SUBDIRS :=
kaf24@4338 5 SUBDIRS += libxutil
kaf24@4338 6 SUBDIRS += libxc
kaf24@4338 7 SUBDIRS += misc
kaf24@4338 8 SUBDIRS += examples
kaf24@4338 9 SUBDIRS += xentrace
kaf24@4338 10 SUBDIRS += python
kaf24@4338 11 SUBDIRS += xfrd
kaf24@4348 12 SUBDIRS += xcs
cl349@5099 13 SUBDIRS += xcutils
mjw@4677 14 SUBDIRS += pygrub
iap10@771 15
kaf24@5028 16 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
kaf24@5028 17
kaf24@4338 18 all: check
kaf24@4338 19 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 20 $(MAKE) -C $$subdir $@; \
kaf24@4338 21 done
kaf24@5028 22 $(MAKE) ioemu
kaf24@4338 23
kaf24@4338 24 install: check
kaf24@4338 25 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 26 $(MAKE) -C $$subdir $@; \
kaf24@4338 27 done
kaf24@5028 28 $(MAKE) ioemuinstall
kaf24@4338 29
kaf24@4338 30 clean: check_clean
kaf24@4338 31 @set -e; for subdir in $(SUBDIRS); do \
kaf24@4338 32 $(MAKE) -C $$subdir $@; \
kaf24@4338 33 done
kaf24@5028 34 $(MAKE) ioemuclean
kaf24@4338 35
kaf24@4338 36 check:
kaf24@3537 37 $(MAKE) -C check
iap10@771 38
kaf24@4338 39 check_clean:
kaf24@4338 40 $(MAKE) -C check clean
cl349@5043 41
cl349@5043 42 ifndef XEN_NO_IOEMU
cl349@5043 43 ioemu ioemuinstall ioemuclean:
cl349@5043 44 [ -f ioemu/config-host.h ] || \
cl349@5043 45 (cd ioemu; ./configure --prefix=$(DESTDIR)/usr)
cl349@5043 46 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
cl349@5043 47 else
cl349@5043 48 ioemu ioemuinstall ioemuclean:
cl349@5043 49 endif
cl349@5043 50