hyperlight-dev / hyperlight-dev/hyperlight

Remove reliance on `out`'s value.

Đang mở
#477 0 bình luận 0 reaction 2 người được giao Được @dblnz nhận Xem trên GitHub
lifecycle/confirmed
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

We should modify the `Abort` and `DebugPrint` `OutBAction`s to no longer rely on the value from `out`. Particularly, we should only rely on `out` to cause a VM exit and not on specifics of the mechanism. This will be helpful for the future when we add support other architectures that may not have `out` (e.g., ARM) and we need to change our doorbell mechanism. An alternate implementation for `Abort` and `DebugPrint` would be to pass a Hypervisor to the outb handler and retrieve registers values from the guest with info, which should be easy to do once #312 is merged.

> Note: We should also change the naming from `outb` to `out`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.