Commit Graph

95 Commits

Author SHA1 Message Date
Zhang Junyang d809a26a2f Update OSDK testing behaviors in the Makefile and the CI 2024-08-25 20:42:04 +08:00
Zhang Junyang dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00
Zhang Junyang d76c7a5b1e OSDK check and clippy with `cfg(ktest)` 2024-08-23 23:37:50 +08:00
Zhang Junyang be3492d7f0 Extract the OSTD test runner as a kernel 2024-08-23 23:37:50 +08:00
Chen Chengjun 7db9ae23a3 Make the kernel stack size configurable 2024-08-22 22:56:16 +08:00
Hsy-Intel 8317c4c1e8 Rename "intel_tdx" feature to "cvm_guest" 2024-08-09 17:11:12 +08:00
azongchang 6752baf166 Utilize libflate crate to compress and decompress payload 2024-08-05 15:36:55 +08:00
Zhang Junyang bdabea09c2 Add SMP boot options 2024-07-30 10:24:09 +08:00
Jianfeng Jiang f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
Hsy-Intel b73412c2ff Fix known TDX issues 2024-07-09 19:43:55 +08:00
Yuke Peng cf56bce57c Pass kernel command line option to logger 2024-07-04 10:56:55 +08:00
Fabing Li f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00
Jianfeng Jiang 3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
Jianfeng Jiang fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
Jianfeng Jiang 59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
Fabing Li 36841c50d4 Add benchmark CI for sysbench and getpid 2024-06-26 20:58:12 +08:00
Ruihan Li 90bab6b88e Add missing `PHONY`s for `make` targets 2024-06-24 19:22:48 +08:00
Ruihan Li 284b8c28c8 Avoid long lines in `Makefile`s and workflows 2024-06-24 19:22:48 +08:00
Hsy-Intel 8c39309381 Add TDX dockerfile & CI for asterinas 2024-06-20 16:08:23 +08:00
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