mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
53 lines
964 B
Makefile
53 lines
964 B
Makefile
XEN_ROOT = ../
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
SUBDIRS :=
|
|
SUBDIRS += libxc
|
|
SUBDIRS += xenstore
|
|
SUBDIRS += misc
|
|
SUBDIRS += examples
|
|
SUBDIRS += xentrace
|
|
SUBDIRS += python
|
|
SUBDIRS += xcs
|
|
SUBDIRS += xcutils
|
|
#SUBDIRS += pygrub
|
|
SUBDIRS += firmware
|
|
SUBDIRS += security
|
|
SUBDIRS += consoled
|
|
|
|
.PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
|
|
|
|
all: check
|
|
@set -e; for subdir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$subdir $@; \
|
|
done
|
|
$(MAKE) ioemu
|
|
|
|
install: check
|
|
@set -e; for subdir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$subdir $@; \
|
|
done
|
|
$(MAKE) ioemuinstall
|
|
|
|
clean: check_clean
|
|
@set -e; for subdir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$subdir $@; \
|
|
done
|
|
$(MAKE) ioemuclean
|
|
|
|
check:
|
|
$(MAKE) -C check
|
|
|
|
check_clean:
|
|
$(MAKE) -C check clean
|
|
|
|
ifndef XEN_NO_IOEMU
|
|
ioemu ioemuinstall ioemuclean:
|
|
[ -f ioemu/config-host.h ] || \
|
|
(cd ioemu; ./configure --prefix=usr)
|
|
$(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
|
|
else
|
|
ioemu ioemuinstall ioemuclean:
|
|
endif
|
|
|