Skip to content

Commit 6d2f287

Browse files
committed
Update comments based on PR feedback
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent bd7b26d commit 6d2f287

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/hyperlight_host/src/hypervisor/gdb/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pub(crate) enum DebugResponse {
276276
}
277277

278278
/// Trait for VMs that support debugging capabilities.
279-
/// This extends the base Hypervisor trait with GDB-specific functionality.
279+
/// This extends the base Vm trait with GDB-specific functionality.
280280
pub(crate) trait DebuggableVm: Vm {
281281
/// Translates a guest virtual address to a guest physical address
282282
fn translate_gva(&self, gva: u64) -> crate::Result<u64>;

src/hyperlight_host/src/hypervisor/vm/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ use crate::Result;
2323
use crate::hypervisor::regs::{CommonFpu, CommonRegisters, CommonSpecialRegisters};
2424
use crate::mem::memory_region::MemoryRegion;
2525

26+
/// KVM (Kernel-based Virtual Machine) functionality (linux)
2627
#[cfg(kvm)]
27-
/// Functionality to manipulate KVM-based virtual machines
2828
pub(crate) mod kvm;
29-
/// HyperV-on-linux functionality
29+
/// MSHV (Microsoft Hypervisor) functionality (linux)
3030
#[cfg(mshv3)]
3131
pub(crate) mod mshv;
32+
/// WHP (Windows Hypervisor Platform) functionality (windows)
3233
#[cfg(target_os = "windows")]
3334
pub(crate) mod whp;
3435

0 commit comments

Comments
 (0)