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

128 commits

Author SHA1 Message Date
Stefan Lankes
d62fb9f762 move proxy and hypervisor to a new submodule 2018-07-08 22:21:07 +02:00
Stefan Lankes
69ed9f5354 Merge branch 'devel' of github.com:hermitcore/libhermit into devel 2018-07-08 07:44:06 +02:00
Stefan Lankes
896f1cca86 transfer x87 registers to the gdb, increase the readabilty 2018-07-08 07:40:23 +02:00
Stefan Lankes
4741cfbf6e fix typo, include template to support gdb on aarch64 2018-07-05 22:46:11 +00:00
Stefan Lankes
55ca03c5d4 add first draft of gdb support for x86_64
- derived from ukvm/solo5 (https://github.com/Solo5/solo5/tree/master/ukvm)
- first adaption developed by Pierre Oliver, VT
2018-07-06 00:35:34 +02:00
Stefan Lankes
66dcb2782e print also the multiprocessor affinity register 2018-07-02 19:58:10 +00:00
Stefan Lankes
c48461b796 remove dependency from kernel_end
- the new version binutils will remove the mark kernel_end

=> remove the usage of this mark
2018-06-13 19:40:38 +00:00
Stefan Lankes
0da5a822b9 fix image size calculation if app contains more than one load section 2018-06-13 19:40:01 +00:00
Stefan Lankes
0a957de645 remove compiler warning 2018-06-09 19:50:47 +02:00
Simon Pickartz
5916a77607 fix guest_size metadata for migration (#93)
If the guest exceeds KVM_32BIT_GAP_START we have to remove the
KVM_32BIT_GAP_SIZE from the guest_size since this is re-calculated at
the destination.
2018-05-18 12:17:05 +02:00
Simon Pickartz
77536f5280 support for ODP using RDMA (#92)
-- optionally enable ODP (if supported)
-- dynamically choose first active device port
-- add memory allocator test
2018-05-18 08:49:51 +02:00
Simon Pickartz
b5d5c0a3bb fix usage of DIRTY_LOG for guests greater/equal IO GAP (#91) 2018-05-17 14:38:23 +02:00
Stefan Lankes
020339c32a fix wrong initialization of EFER 2018-05-17 14:23:17 +02:00
Stefan Lankes
907a40b74a Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2018-05-17 13:40:20 +02:00
Stefan Lankes
d077837781 add check for msr-index and if missing a workaround 2018-05-17 13:39:38 +02:00
Simon Pickartz
3dadcdc6b0 fix RDMA migration for guests greater/equal to the IO gap (#90)
-- omit IO gap when registering MRs
-- split MRs during COMPLETE_DUMP in chunks of port_attr.max_msg_sz
2018-05-17 12:25:00 +02:00
Stefan Lankes
ec7f5182da fix start address of the kvm memory region 2018-05-16 19:27:33 +02:00
Stefan Lankes
b85ff4c333 remove redefinitions of macros 2018-05-15 00:53:15 +02:00
Stefan Lankes
e6558c0b9b use uart device to dump kernel messages 2018-04-28 23:29:36 +00:00
Stefan Lankes
7a6efe3256 add dummy migration implementation for aarch64 2018-04-28 15:25:22 +00:00
Stefan Lankes
98357b9537 remove compiler warnings 2018-04-28 15:38:16 +02:00
Stefan Lankes
00270b84ef Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2018-04-28 15:31:47 +02:00
Stefan Lankes
f11c948347 use UART device to print kernel messages
- HermitCore's message buffer isn't longer supported by uhyve
2018-04-28 10:13:06 +02:00
Simon Pickartz
59d0bfa956 uhyve migration support (#89)
- incremental/complete guest memory transfer via RDMA
- cold migration via RDMA
- live migration via RDMA (currently fixed number of iterations)
- complete guest memory transfer via TCP/IP (for compatibility)
2018-04-26 20:57:05 +02:00
Stefan Lankes
15b5495f31 fix incompatibility issues to KVM API on a x86_64 processors 2018-04-24 22:14:41 +02:00
Stefan Lankes
a7707f46e3 initialize irq controller after all vcpu
- this is required to support aarch64
2018-04-24 19:48:55 +00:00
Stefan Lankes
492cde7275 determine default architecture via uname 2018-04-22 16:47:28 +00:00
Simon Pickartz
4e0bb8ae0e fix generation of the checkpoint config file (#85) 2018-03-29 22:50:53 +01:00
Stefan Lankes
34e7895d0a
aarch64 support (#84)
- add initial support for aarch64
- SMP support is currently missing
- uhyve and kernel are tested on Libre AML-S905X-CC (https://libre.computer/products/boards/aml-s905x-cc/)
- only GICv2 support is integrated
2018-03-23 04:04:44 -04:00
Stefan Lankes
9a28225424 add memory pool with the same host and guest virtual address 2018-01-16 09:33:01 +01:00
Stefan Lankes
ae9855d7dd print log messages if uhyve receives KVM_EXIT_SHUTDOWN 2017-12-31 11:13:48 +01:00
Stefan Lankes
cf758712d4 disable ACPI support 2017-12-15 23:09:48 +01:00
Stefan Lankes
54bb7a84d9 reduce the number of interrupts in the network driver 2017-11-22 00:47:29 +01:00
Stefan Lankes
0966078138 remove debug message 2017-11-21 22:13:51 +01:00
Stefan Lankes
8653afbd07 avoid using KVM_TRANSLATE in a loop
- determine within HermitCore the guest physical address
=> simplifies the translation from guest virtual to host virtual address
=> reduce the number of syscalls (KVM_TRANSLATE)
2017-11-10 22:17:45 +01:00
Pierre Olivier
0b828dfe85 Fix cap for argc / envc + display an error if these values go above that
cap
2017-11-07 20:17:44 -05:00
Pierre Olivier
cfd208d266 Support for forwarding command line parameters and environment variables
to uhyve
2017-11-07 19:51:57 -05:00
Stefan Lankes
18e0f3034b determine frequency from cpu brand, revise code
=> move all helper functions to utils.c
2017-11-07 08:14:43 +01:00
Stefan Lankes
794f4ac3d3 enable MSR for string operations already in uhyve 2017-11-06 21:38:33 +01:00
Stefan Lankes
4fab5bb188 Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2017-09-18 00:25:33 +02:00
Stefan Lankes
c6157e3ef7 use interrupts to notifiy incoming packets
=> avoid busy waiting in uhyve's network adapter
2017-09-18 00:23:09 +02:00
Jens Breitbart
13730bce90 Use clang-tidy for every file compiled with the host compiler. (#80)
* Use clang-tidy for every file compiled with the host compiler.
* Reorder includes.

* Fixed a memory leak in the proxy.
2017-09-10 07:22:07 -10:00
Stefan Lankes
28606578e4 add options for user defined uhyve network 2017-09-05 11:54:58 +02:00
Stefan Lankes
dea3a103e5 remove clang compiler warnings 2017-09-05 06:05:30 +02:00
Stefan Lankes
463298c383 add initial draft of uhyve's network interface
- based on https://github.com/Solo5/solo5 and
- Tim's port for HermitCore
2017-09-04 18:20:54 +02:00
Jens Breitbart
cbb34022a0 Wshift negative value (#79) + more compiler to travis (#77)
- Fixed clang warning `shifting a negative signed value is undefined`.
- use more compilers to test HermitCore in Travis
2017-08-30 12:51:23 +02:00
Stefan Lankes
fa8bc21852 remove obsolete return type 2017-08-07 13:58:43 +02:00
Stefan Lankes
4c8c6b00c4 in a multikernel environment we should'nt wait for HermitCore 2017-08-03 19:33:50 +02:00
Stefan Lankes
640604abb5 check also in a multikernel env. if HermitCore is sucessfully booted 2017-07-28 13:33:49 +02:00
Stefan Lankes
31fdf836d3 check termination of qemu by permenatly sending SIGINTS 2017-05-27 00:25:11 +02:00