RVM-Tutorial icon indicating copy to clipboard operation
RVM-Tutorial copied to clipboard

Let's write an x86 hypervisor in Rust from scratch!

Results 6 RVM-Tutorial issues
Sort by recently updated
recently updated
newest added

环境 ``` Ubuntu desktop 22.04,已开启KVM qemu 7.0.0 rustc 1.67.1-nightly Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 已启用 VT-x ``` 执行 `make run` 输出如下: ``` SeaBIOS (version rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org) iPXE (http://ipxe.org) 00:02.0 CA00...

https://github.com/equation314/RVM-Tutorial/blob/7687541241aa80db65e8043b50cfa0593bfcfb84/hypervisor/src/arch/x86_64/lapic.rs#L22-L26 Should be ```rust Port::::new(0x21).write(0xff); Port::::new(0xA1).write(0xff); ```

bug

```Rust // Check control registers are in a VMX-friendly state. (SDM Vol. 3C, Appendix A.7, A.8) / macro_rules! cr_is_valid { ($value: expr, $crx: ident) => {{ use Msr::*; let value...

bug

# 环境 * Ubuntu 22.04 5.15.0-60-generic * qemu 7.2.50 * cargo 1.67.0-nightly * 已开启KVM且支持嵌套虚拟化 * Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 已启用VT-x # log 在`hypervisor`下执行`make run`时报错如下: ```sh [ERROR nimbos::lang_items] Panicked...

在启动 hypervisor 开启 vmx 时遇到一个问题如下: 根据图中的错误提示,找到 rvm/src/arch/x86_64/vmx/mod.rs 文件中的第 88 行 ```rust if !vmx_basic.io_exit_info { return rvm_err!(Unsupported); } ``` 目前并不需要这个 feature ,所以可以去掉该项检查,接下来就可以正常启动 hypervisor。

good first issue