1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00
Commit graph

29 commits

Author SHA1 Message Date
Stefan Lankes
c3a4a6e2df enable a check if the HermitCore app depends on a proxy 2017-04-03 09:16:54 +02:00
daniel-k
eee932bab8 tools/proxy: use switch-case for monitor enum 2017-03-01 18:57:32 +01:00
Stefan Lankes
7984417029 some code cleanups 2017-02-25 17:21:14 +01:00
Stefan Lankes
954343128e increasing the readability
- restructure the code and test it within a VM
2017-02-21 14:08:49 +01:00
Stefan Lankes
8a4ef8efd0 check if the proxy use qemu before opening qemu's tmp files 2017-02-21 09:18:07 +01:00
Stefan Lankes
d878403daa remove debug messages, delete temporary files 2017-02-20 22:25:28 +01:00
Stefan Lankes
984597d710 daemonize qemu
QEMU will not detach from standard IO until it is ready to receive
connections on any of its devices.
2017-02-20 22:14:21 +01:00
Stefan Lankes
9bd2e57597 add more debug messages 2017-02-20 21:03:34 +01:00
Stefan Lankes
948565dcc8 to debug the proxy log files will be temporally not removed 2017-02-20 20:32:33 +01:00
Stefan Lankes
5198e03f54 use PROXY_DEBUG to print some debug messages 2017-02-19 22:25:11 +01:00
Stefan Lankes
e5487b846d check if log file is available 2017-02-19 22:11:47 +01:00
Stefan Lankes
dae37ee2b1 remove typos 2017-02-19 11:58:44 +01:00
Stefan Lankes
495b48e2cd introduce HERMIT_MONITOR to establish the Qemu monitor 2017-02-19 11:54:31 +01:00
Stefan Lankes
60a176a2f3 start not always at position 0 to find the end of the field 2017-02-19 11:10:14 +01:00
Stefan Lankes
d18a6a72a5 introduce HERMIT_CAPTURE_NET to capture the network traffic 2017-02-19 10:56:24 +01:00
Stefan Lankes
182999e0b7 remove option to trace the network 2017-02-19 10:36:45 +01:00
Stefan Lankes
87bb8161ac disable debug messsages 2017-02-18 23:53:46 +01:00
Stefan Lankes
92231f1629 add signal handler to determine if a child terminates 2017-02-18 23:15:16 +01:00
Stefan Lankes
79623cbaf4 dump log file as debug message to the screen 2017-02-18 22:21:53 +01:00
Stefan Lankes
ecd4b69529 add debug message 2017-02-18 22:12:01 +01:00
Stefan Lankes
266247f282 add debug messages 2017-02-18 21:58:33 +01:00
Stefan Lankes
91b0c128e8 add check if inotify_rm_watch failed 2017-02-18 13:23:43 +01:00
Stefan Lankes
d1058f28e9 add check if inotify_add_watch returns descriptor 2017-02-18 13:20:43 +01:00
Stefan Lankes
879368a3d0 add check if fork failed 2017-02-18 12:32:29 +01:00
Stefan Lankes
81bff86f64 Merge branch 'production' into devel 2017-01-17 23:23:12 +01:00
Stefan Lankes
bca3f6a731 fix path to the loader 2017-01-17 22:55:42 +01:00
Stefan Lankes
5c648f22c1 add draft to integrate a hypervisor directly in the proxy
- this reduce the overhead because the boot time is smaller in
  comparsion to qemu
- furthermore, a more direct communication via VM_EXISTS is possible
- the current version doesn't support a network interface

The hypervisor based on KVM and is called uhyve. You could test the
hypervisor with following command:

HERMIT_ISLE=uhyve HERMIT_VERBOSE=1 tools/proxy usr/tests/hello
2017-01-16 18:47:13 +01:00
Stefan Lankes
b4df7442ea remove compiler warnings 2016-12-03 00:44:32 +01:00
Stefan Lankes
dfd4272d59 reodering of the directory structure 2016-12-03 00:43:49 +01:00
Renamed from hermit/tools/proxy.c (Browse further)