Replies: 20 comments 35 replies
-
新建了一个仓库:hypercraft,预计参考 RVM、zicron VMM 将 hypocaust-2 中 RISC-V 的部分进行重构,RVM 看起来还有一些 OS 相关的内容,目标是继续精简,只保留 VMM 硬件接口,一些 trait 暴露出来和 OS 进行复用。 |
Beta Was this translation helpful? Give feedback.
-
关于 app-level 进行虚拟化管理的接口设计: https://github.com/rust-vmm/mshv Microsoft Hypervisor wrappers. This repository provides two crates which are mshv-bindings and mshv-ioctls. These crates will provide the APIs and definitions to create a VMM on Microsoft Hypervisor along with other rust-vmm crates. |
Beta Was this translation helpful? Give feedback.
-
今日继续学习 RVM,不过和 jyk 学长交流后发现 RVM-Tutorial 的设计更好,里面已经剥夺了几乎所有 OS 相关的部分,打算再学习一下 RVM-Tutorial,这两天做一个可以跑 hello world guest 的 demo,最少需要实现以下功能:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
打工人周末终于有点时间了,目前计划在 ArceOS 上实现一个 Timeline 也会在这下面更新 |
Beta Was this translation helpful? Give feedback.
-
最近尝试去完成多核 guest 的设计,这里简要介绍一下多核启动的流程以及初步设计的想法:
|
Beta Was this translation helpful? Give feedback.
-
由于 VMM 比较依赖于设备树进行初始化,所以我想给 Arceos 加一个设备树解析的 crate,学长怎么看?@equation314 |
Beta Was this translation helpful? Give feedback.
-
昨日和贾越凯学长和陈岳同学讨论关于 hypervisor 的 library 问题,贾越凯学长推荐将 hypervisor 作为一个 app 跑在 arceos runtime 上面,但这会造成一些问题:
因此我认为将 hypervisor crate 直接跑在 app 级上会造成一系列问题,我的想法是尽可能简单地进行考虑并做出来看看是否可行。目前的想法是:
|
Beta Was this translation helpful? Give feedback.
-
本周(5.15 - 5.21) 进度:
5.16 进度: 没有什么实质性进度,主要在改一些代码的结构以及和所有权作斗争,并且在用 rustc 1.71.0-nightly 编译 hypervisor 指令时发现编译错误,回退到 1.68.0-nightly 编译成功,怀疑是在 1.70.0 后升级了 LLVM 版本造成的,给 rustc 提了个 issue:rust-lang/rust#111637 5.17 进度:
5.18 进度:
5.19 进度:
下周计划:
|
Beta Was this translation helpful? Give feedback.
-
本周(5.22 - 5.28)进度: 5.22 进度:
5.23 进度:
5.24 进度:
|
Beta Was this translation helpful? Give feedback.
-
6.1
|
Beta Was this translation helpful? Give feedback.
-
当前进度(9.1): 下周安排: |
Beta Was this translation helpful? Give feedback.
-
arm架构hypervisor进度计划:
x86架构hypervisor进度计划:
|
Beta Was this translation helpful? Give feedback.
-
hypervisor适配arceos(9.4) 唐: 黄: 苏: |
Beta Was this translation helpful? Give feedback.
-
hypervisor适配arceos(9.4) x86架构(苏): |
Beta Was this translation helpful? Give feedback.
-
20231101 x86 Hypervisor(苏) 一起: |
Beta Was this translation helpful? Give feedback.
-
20240112
|
Beta Was this translation helpful? Give feedback.
-
晚上跟贾老师讨论了一下我的想法,初步觉得这个东西是可行的:
需要合并hypercraft中的vcpu实现 |
Beta Was this translation helpful? Give feedback.
-
20240115 |
Beta Was this translation helpful? Give feedback.
-
20240116: |
Beta Was this translation helpful? Give feedback.
-
网址:https://github.com/cylindrical2002/hcHyper
开发日志:https://github.com/cylindrical2002/Hypervisor
其它参考:
该crate可做到与具体操作系统无关。形成与OS无关的硬件访问部分,与OS(如arceos)相关的获取OS服务接口部分,APP(unikernel结构)部分。
如有兴趣一起来探索,请联系我 yuchen AT tsinghua.edu.cn OR 微信 id chyyuu
Beta Was this translation helpful? Give feedback.
All reactions