[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/APP-HTTPREPLY v3] kraft: Initial commit for kraft support.
Thanks a lot! Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> On 21.02.20 21:17, Alexander Jung wrote: Signed-off-by: Alexander Jung <a.jung@xxxxxxxxxxx> --- Config.uk | 15 --------------- MAINTAINERS.md | 1 + Makefile | 9 --------- README.md | 13 +++++++++---- kraft.yaml | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 43 insertions(+), 28 deletions(-) delete mode 100644 Config.uk delete mode 100644 Makefile create mode 100644 kraft.yaml diff --git a/Config.uk b/Config.uk deleted file mode 100644 index 4d4d8f1..0000000 --- a/Config.uk +++ /dev/null @@ -1,15 +0,0 @@ -### Invisible option for dependencies -config APPHTTPREPLY_DEPENDENCIES - bool - default y - select LIBNOLIBC if !HAVE_LIBC - select LIBLWIP - select LWIP_UKNETDEV - select LWIP_TCP - select LWIP_THREADS - select LWIP_SOCKET - select LWIP_AUTOIFACE - select LWIP_IPV4 - select LWIP_DHCP - select LIBUKSCHED - select LIBUKSCHEDCOOP diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 95eda25..6795509 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -6,5 +6,6 @@ the main Unikraft repository.HTTPREPLY-UNIKRAFTM: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> + M: Alexander Jung <a.jung@xxxxxxxxxxx> L: minios-devel@xxxxxxxxxxxxx F: * diff --git a/Makefile b/Makefile deleted file mode 100644 index b13f159..0000000 --- a/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -UK_ROOT ?= $(PWD)/../../unikraft -UK_LIBS ?= $(PWD)/../../libs -LIBS := $(UK_LIBS)/lwip - -all: - @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) - -$(MAKECMDGOALS): - @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS) diff --git a/README.md b/README.md index 1149dc5..a7f76f4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ -"HTTPReply"-Example for Unikraft -================================ +# HTTP reply on Unikraft-Please refer to the `README.md` as well as the documentation in the `doc/`-subdirectory of the main unikraft repository. +To build and run this application please use the `kraft` script: + + pip3 install git+https://github.com/unikraft/kraft.git + mkdir my-first-unikernel && cd my-first-unikernel + kraft up -p PLATFORM -m ARCHITECTURE httpreply + +For more information about `kraft` type ```kraft -h``` or read the +[documentation](http://docs.unikraft.org). diff --git a/kraft.yaml b/kraft.yaml new file mode 100644 index 0000000..91b59a8 --- /dev/null +++ b/kraft.yaml @@ -0,0 +1,33 @@ +specification: '0.4' + +unikraft: + version: '0.4' + kconfig: + - CONFIG_LIBNOLIBC=y + - CONFIG_LIBUKSCHED=y + - CONFIG_LIBUKSCHEDCOOP=y + +architectures: + x86_64: true + +platforms: + kvm: true + +run: + networks: + net0: + pre_up: kraft-net --with-dnsmasq up + post_down: kraft-net --with-dnsmasq down + +libraries: + lwip: + version: '0.4' + kconfig: + - CONFIG_LWIP_UKNETDEV=y + - CONFIG_LWIP_TCP=y + - CONFIG_LWIP_THREADS=y + - CONFIG_LWIP_SOCKET=y + - CONFIG_LWIP_AUTOIFACE=y + - CONFIG_LWIP_IPV4=y + - CONFIG_LWIP_DHCP=y + - CONFIG_LWIP_SOCKET_PPOLL=n _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |