ia64/xen-unstable

view tools/Makefile @ 5965:1640c137c847

This is the first patch to move the console code out of Xend and into a
separate daemon. In this patch I've included the daemon and a
front-end. I've also have the console code removed from Xend locally
but I wanted to clarify a few things first before submitting that.

Here's how it works:

1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console
data should be (/console/<domid>/limit) to prevent DoS attacks

Using it is quite simple, just run consoled and use the xc_console
program to connect to the console. It uses syslog for logging.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Aug 02 12:18:15 2005 +0000 (2005-08-02)
parents 3f1785f02d89
children 48dea637aac9
line source
1 XEN_ROOT = ../
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS :=
5 SUBDIRS += libxc
6 SUBDIRS += xenstore
7 SUBDIRS += misc
8 SUBDIRS += examples
9 SUBDIRS += xentrace
10 SUBDIRS += python
11 SUBDIRS += xcs
12 SUBDIRS += xcutils
13 #SUBDIRS += pygrub
14 SUBDIRS += firmware
15 SUBDIRS += security
16 SUBDIRS += consoled
18 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
20 all: check
21 @set -e; for subdir in $(SUBDIRS); do \
22 $(MAKE) -C $$subdir $@; \
23 done
24 $(MAKE) ioemu
26 install: check
27 @set -e; for subdir in $(SUBDIRS); do \
28 $(MAKE) -C $$subdir $@; \
29 done
30 $(MAKE) ioemuinstall
32 clean: check_clean
33 @set -e; for subdir in $(SUBDIRS); do \
34 $(MAKE) -C $$subdir $@; \
35 done
36 $(MAKE) ioemuclean
38 check:
39 $(MAKE) -C check
41 check_clean:
42 $(MAKE) -C check clean
44 ifndef XEN_NO_IOEMU
45 ioemu ioemuinstall ioemuclean:
46 [ -f ioemu/config-host.h ] || \
47 (cd ioemu; ./configure --prefix=usr)
48 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
49 else
50 ioemu ioemuinstall ioemuclean:
51 endif