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

1488 commits

Author SHA1 Message Date
Stefan Lankes
c3691571aa add more debug messages 2017-05-20 23:58:11 +02:00
Stefan Lankes
23f04d895c add debug messages 2017-05-20 23:47:26 +02:00
Stefan Lankes
7645656693 disable some tests tu debug the script 2017-05-20 23:40:13 +02:00
Stefan Lankes
152cc5699c for TravisCI we qemu as test platform 2017-05-20 23:31:51 +02:00
Stefan Lankes
741fe48e2b switch to the directory, where Travis clone our repository 2017-05-20 23:00:16 +02:00
bytesnake
cee53b2967 Don't send the subcommand as an argument to the VM. 2017-05-20 15:28:12 +02:00
Stefan Lankes
b93bc5e671 remove typo 2017-05-20 15:26:26 +02:00
Stefan Lankes
66beafd22c rename test script 2017-05-20 15:20:02 +02:00
bytesnake
b5920069c7 Support command line arguments.
It's now possible to set the environment variables with an argument. The
env var will be overridden. For instance to start
hello on an UHyve isle: `proxy run ./hello --isle uhyve -d`
2017-05-20 15:11:48 +02:00
Stefan Lankes
2f66773720 enable travis tests 2017-05-20 15:00:15 +02:00
bytesnake
937d064450 Fixed missing path in Uhyve
A missing path due to the isle kind shouldn't be treated as an error.
Add the clap library to support commands.
2017-05-20 14:35:38 +02:00
bytesnake
abbcee0b46 Replace the Isle variant with a proper Trait.
The proxy library was moved into an own directory. Then the IsleKind
enum was replaced with an Isle trait which is implemented by
qemu/multi/uhyve.
2017-05-20 14:12:31 +02:00
Stefan Lankes
2704dbfb1e only the boot processor should set mb_info 2017-05-20 14:00:12 +02:00
Stefan Lankes
fda002a9da define pointer to multiboot_info_t as const
- we shouldn't change this pointer
2017-05-20 13:59:08 +02:00
Stefan Lankes
3138d999dd remove compiler warnings 2017-05-20 09:04:23 +02:00
Stefan Lankes
91d5fc187c remove compiler warnings, add workaround to stress malloc function 2017-05-20 00:56:11 +02:00
Stefan Lankes
b183755917 Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2017-05-20 00:13:36 +02:00
Stefan Lankes
46a7dc54cd set also pthread also by compiling all multi-threaded apps 2017-05-20 00:12:40 +02:00
Stefan Lankes
4d1b3c8f4d add link to invitation window 2017-05-19 22:12:01 +02:00
Stefan Lankes
4450815ab5 remove typo 2017-05-19 22:08:52 +02:00
Stefan Lankes
0b2b0aebe9 add slack badge 2017-05-19 22:06:39 +02:00
Stefan Lankes
815743944e Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2017-05-19 13:46:06 +02:00
Stefan Lankes
d4a49acf85 add tests to stress newlib's malloc implementation 2017-05-19 13:45:13 +02:00
Stefan Lankes
4d3a7a975f remove gitter badge 2017-05-18 00:27:34 +02:00
Stefan Lankes
69eb2937f9 remove gitter badge 2017-05-18 00:26:59 +02:00
bytesnake
66332a1337 Add Cargo.lock to .gitignore 2017-05-15 11:46:29 +02:00
bytesnake
ee1682fa1a Set the memsz in the kernel header correctly
The protocol structs should be packed. uHyve works now in single core
mode.
2017-05-15 11:38:28 +02:00
Stefan Lankes
d39d8e9f3a only for incremental checkpoints a reset of the dirty flag is required 2017-05-14 01:51:16 +02:00
bytesnake
f1a58a1059 Switched to CMAKE, Improved error logging of QEMU 2017-05-13 13:11:45 +02:00
Stefan Lankes
c5de9dac99 add support of full checkpoints 2017-05-13 09:47:21 +02:00
bytesnake
807c7498de Merge remote-tracking branch 'upstream/devel' into devel 2017-05-12 11:15:29 +02:00
l_schmid
bf26275636 Move all files in dedicate to the root folder 2017-05-12 07:11:58 +02:00
l_schmid
0037839174 uHyve should work now 2017-05-11 23:11:00 +02:00
l_schmid
bb0e1f2a36 Improved error handling
The error::Error enum has changed to provide additional information,
especially about missing files and failed IOCTL commands.
2017-05-11 21:05:52 +02:00
l_schmid
d687208b01 Use of intended ioctl! syntax
The syntax ioctl!(write <fnc> with KVMIO, <id>; <type>) is shorter than
ioctl!(<fnc> with iow!(KVMIO, <id>; mem::size_of::<type>())). Futhermore
the filedescriptor of vcpu.rs was invalid, because the destructor of
File::from_raw was immediately called. The vcpu struct contains now
the copy of the fd in the Rust world, perhaps there is an easier way to
pass the fd to memmap.
2017-05-11 20:05:42 +02:00
Stefan Lankes
6a6e0b8d12 Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2017-05-11 11:28:34 +02:00
Stefan Lankes
3e5b8e65d3 add padding to align allocate memory to a 32 Byte boundary
- required to align memory for AVX usage
2017-05-11 11:27:17 +02:00
l_schmid
5226d4a19a The first isle is usable. This commit exists to check in a heavily WIP
version of the HermitCore proxy, rewritten in Rust. Any attempt to use
the current version in a serious manner should be avoided. The Multi and
UHyve isles aren't tested yet.
2017-05-09 23:49:13 +02:00
Stefan Lankes
f0a504a99d add *.ko to the list of ignored files 2017-05-04 22:51:28 +02:00
Stefan Lankes
a3a8a9f5de add signal handler to terminate thread 2017-05-01 14:04:21 +02:00
Stefan Lankes
99af5378d9 determine time to load a checkpoint 2017-05-01 13:26:32 +02:00
Stefan Lankes
b8982a225a restore also the time stamp counter 2017-05-01 12:10:43 +02:00
Stefan Lankes
dd708d3917 add clock state to the checkpoint 2017-05-01 11:33:06 +02:00
Stefan Lankes
e1cf89fb45 reduce first checkpoint size, if we use KVM's dirty log mechanism
- before restoring a checkpoint, we load the elf binary
=> restores also read-only sections
2017-05-01 10:46:24 +02:00
Stefan Lankes
31f0df70be add support of KVM's dirty page logging 2017-05-01 10:09:34 +02:00
Stefan Lankes
e8d0f09722 add link to Solo5 2017-04-30 16:14:51 +02:00
Stefan Lankes
c673b67d68 use per-default the optimized checkpoint strategy 2017-04-30 15:18:23 +02:00
Stefan Lankes
69c4537c97 remove synchronization problem
- fix wrong initialization of the pthread barrier
- remove obsolete code
2017-04-30 14:13:54 +02:00
Stefan Lankes
81ad968aee remove asciinema files 2017-04-29 13:22:18 +02:00
Stefan Lankes
db8c81e6af reduce animation speed 2017-04-29 09:57:39 +02:00