###Prerequisite
- git://xenbits.xen.org/mini-os.git
- http://download.savannah.gnu.org/releases/lwip/
###Xen on CentOS6
- http://au1.mirror.crc.id.au/repo/el6/x86_64/ (Installation guide and RPM packages)
- run apply-centos-6-config.sh to apply Xen-specific network configuration
- deploy a mini-os VM by invocation of "xl create daytime-minios.cfg"
###Xen minios stubdom
- see xen/stubdom/Makefile c-stubdom target, LDFLAGS does not contain --dynamic-linker, the output mini-os binary is statically linked executable
- autoconf configure.ac > configure, here autoconf version must >= 2.67
- how to link newlib.a, see stubdom/Makefile, TARGET_LDFLAGS
###NOTE
- lwIP (v1.4.1) misses sem_wait symbol definition, build failure !!!
- daytime server, telnet (port 13) does not work while ping is OK !!! lwip tcp_input would verify tcp header checksum, but netrfront/netback would not calculate/verify checksum, this causes lwip all tcp packets dropped.
- tprintk cannot be used inside evtchn (pv irq) handler because this function access 'current' variable
- newlib does not have stddef.h and stdarg.h, they are supplied by gcc, we have to add '-isystem /usr/lib/gcc/arch/version/include' to compile options if we compile programs with newlib
- newlib 1.16.0 does not have strings.h
- -std=c99 (keyword: __asm) -> -std=gnu99 (keyword: asm)
- unix socket is not supported in either mini-os or lwip, remove unix socket code from application