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

12 commits

Author SHA1 Message Date
Stefan Lankes
47f5261b94 remove compiler warnings 2017-04-03 23:54:46 +02:00
Stefan Lankes
016a206fbd remove static initialization of BSS section, will be triggerd on demand 2017-04-03 23:38:01 +02:00
daniel-k
5f949d4acc tools/uhyve: fix memory leak 2017-03-01 18:57:32 +01:00
daniel-k
728b465826 tools/uhyve: general refactoring 2017-03-01 18:57:27 +01:00
daniel-k
3942d62fe8 tools/uhyve: refactor syscalls definitions into new file 2017-03-01 18:48:45 +01:00
Stefan Lankes
9285e1f96f increasing the readability of uhyve 2017-02-26 08:51:54 +01:00
Stefan Lankes
b73c9f268f support loading of more than one elf segment 2017-02-25 18:51:50 +01:00
Stefan Lankes
421148b56c add SMP support in uhyve
- HERMIT_CPUS specifies the number of cores
- HERMIT_MEM specifies the memory size
2017-02-25 17:23:21 +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
daniel-k
d819930d7d uhyve: improve readability
While going through the code I took the freedom to move stuff around to
improve readability. Most notably I replaced ioctl with macro that checks
for success, avoiding the if(ret == -1) err(...) pattern most of the time.
2017-01-20 18:58:28 +01:00
Stefan Lankes
eabac9fa79 don't close standard file descriptors (<=2) 2017-01-20 10:46:07 +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