Commit Graph

76 Commits

Author SHA1 Message Date
Anmin Liu 9f67fcdc58 Reuse Rxbuffer and update `qemu_args.sh` for vsock 2024-06-11 17:51:36 +08:00
Anmin Liu 60dd17fdd3 Support calling from inside via vsock 2024-06-11 17:51:36 +08:00
Anmin Liu 48f69c25a9 Support nonblocking option 2024-06-11 17:51:36 +08:00
Anmin Liu ad140cec3c Implement vsock socket layer 2024-06-11 17:51:36 +08:00
Anmin Liu 83a7937334 Make vsock device optional 2024-06-11 17:51:36 +08:00
Zhang Junyang d1990869ae Make ID allocator a separate crate and use it in the frame 2024-05-09 14:35:12 +08:00
Jianfeng Jiang bd0611f1e3 Enable lto when building release 2024-05-08 11:03:53 +08:00
Zhang Junyang b4a357a971 Separate OSDK lint from kernel lint 2024-05-06 12:19:16 +08:00
Hsy-Intel 5e127b2da0 Remove local tdx-guest crate 2024-04-29 10:13:04 +08:00
Zhang Junyang 56175f63df Re-implement OSDK debugging fixes and other facilities upon the refactor
This commit bring back the features introduced from d28292c to a52e432:
 - Disable KVM when using GDB;
 - Update docs about the GDB server address;
 - Add `config` option for `CargoArgs` in OSDK;
 - Ensure debug info added when debugging in the release profile.
2024-04-25 09:44:46 +08:00
Zhang Junyang e4c2151566 Implement the next OSDK 2024-04-25 09:44:46 +08:00
Zhang Junyang 33c53dcf2b Overhaul OSDK 2024-04-25 09:44:46 +08:00
Zhang Junyang 735d7b7b11 Prepare OSDK for multi arch support and the upcoming refactor 2024-04-25 09:44:46 +08:00
fgh1999 a52e43218e Disable KVM when using GDB 2024-04-22 15:21:07 +08:00
Zhang Junyang 63be797c2d Check if we truly pass the tests in auto test 2024-04-09 16:59:21 +08:00
fgh1999 88099df008 Add GDB targets in Makefile 2024-04-01 17:26:49 +08:00
Jianfeng Jiang 63499c675c Add OSDK demos in Asterinas Book in OSDK integration test 2024-03-22 10:39:23 +08:00
Jianfeng Jiang c7383ef23d Check OSDK crate when running `make check` 2024-03-22 10:39:23 +08:00
Jianfeng Jiang aaf101a53e Supporting running OSDK commands in workspace root 2024-03-22 10:39:23 +08:00
Yingdi Shan 650c7dfbad Add exFAT file system 2024-03-19 16:26:55 +08:00
Ruihan Li 82de200d03 Format code automatically for regression tests 2024-03-18 11:20:46 +08:00
Zhang Junyang 160cb9cdb5 Make OSDK wrapped commands unified and fix make docs 2024-03-17 19:12:33 +08:00
Ruihan Li 4eff679eac Fix dependencies of initramfs 2024-03-15 12:52:56 +08:00
Ruihan Li 26d17704bf Put `.PHONY` notations near targets 2024-03-15 12:52:56 +08:00
Ruihan Li e92cbd0e28 Fix dependencies of `install_osdk` 2024-03-15 12:52:56 +08:00
Jianfeng Jiang 853e475d29 Add rustfmt.toml for OSDK 2024-03-01 13:42:51 +08:00
Zhang Junyang 7d0ea99650 Hide OSDK installation if using Make 2024-02-28 16:30:48 +08:00
Zhang Junyang f415585dff Fix workspace clippy usage 2024-02-28 16:30:48 +08:00
Zhang Junyang 7eac2772d0 Gone with x86_64-custom 2024-02-28 16:30:48 +08:00
Zhang Junyang e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00
Zhang Junyang bd878dd1c9 Update dev image for OSDK and bump version to 0.4.0 2024-02-28 16:30:48 +08:00
Zhang Junyang d98ed8cec1 Implement bundle content digest and cache 2024-02-28 16:30:48 +08:00
Zhang Junyang f97d0f1260 Implement OSDK functionalities and opt-in OSDK for asterinas 2024-02-28 16:30:48 +08:00
Chen Chengjun 92e488e727 Add rustfmt.toml configuration to adjust the format of imports 2024-02-26 10:03:45 +08:00
Zhang Junyang 4835e48be1 Disambiguate runner args from krun args in Makefile 2024-01-30 20:15:53 +08:00
Jianfeng Jiang 0920a084e4 License Makefile, shell scripts, assembly source code, Dockerfile 2024-01-18 08:22:58 +08:00
Jianfeng Jiang f8eca84a99 Refactor sock option implementations 2024-01-11 22:10:29 +08:00
Zhang Junyang 327e991477 Rename boot-wrapper to bzimage-setup 2024-01-02 07:21:36 +08:00
Zhang Junyang e71c2701d6 Rename trojan to wrapper and add docs 2024-01-02 07:21:36 +08:00
Zhang Junyang 32e62080ce Add EFI stub 2024-01-02 07:21:36 +08:00
Zhang Junyang 953ff66fcc Introduce the boot trojan 2024-01-02 07:21:36 +08:00
LI Qing ddca4fb2fc Enable some fs system call test cases 2023-12-28 04:54:48 +08:00
Jianfeng Jiang 2b248dc326 Rename jinux-runner to aster-runner 2023-12-26 11:49:24 +08:00
Jianfeng Jiang 93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00
Chen Chengjun e6f3a6a8a4 Update docker image and add the benchmarks 2023-12-20 18:06:33 +08:00
Jianfeng Jiang d24775001f Running regression test in ci 2023-12-20 14:18:07 +08:00
Zhang Junyang ec3daca5fd Add ktest whitelist support 2023-11-09 13:22:34 +08:00
Zhang Junyang f8e4295e90 Reimplement the user mode test shortcut 2023-11-09 13:22:34 +08:00
Zhang Junyang b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00
Chen Chengjun 5d75298144 Make integration test runs in release mode 2023-11-06 08:55:48 +08:00