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>
30 lines
621 B
Makefile
30 lines
621 B
Makefile
# -*- mode: Makefile; -*-
|
|
|
|
include $(XEN_ROOT)/Config.mk
|
|
|
|
XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
|
|
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
|
|
XEN_XCS = $(XEN_ROOT)/tools/xcs
|
|
XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore
|
|
|
|
ifeq ($(XEN_TARGET_ARCH),x86_32)
|
|
CFLAGS += -m32 -march=i686
|
|
LDFLAGS += -m32
|
|
endif
|
|
|
|
ifeq ($(XEN_TARGET_ARCH),x86_64)
|
|
CFLAGS += -m64
|
|
LDFLAGS += -m64
|
|
endif
|
|
|
|
X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
|
|
|
|
%.opic: %.c
|
|
$(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
|
|
|
|
%.o: %.c
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
|
|
%.o: %.cc
|
|
$(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|