mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-18 19:09:15 +00:00
hypervisor: mshv: implement get_guest_debug_hw_bps
Implement get_guest_debug_hw_bps() for mshv and simply return 0 for now. This unblocks the usage of the crashdump feature with mshv. If left unimplemented, Cloud Hypervisor built with mshv and guest_debug features crashes immediately upon start due to unimplemented!() macro. Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
This commit is contained in:
parent
c3a83d2b6a
commit
f63c2d896f
@ -403,6 +403,10 @@ impl hypervisor::Hypervisor for MshvHypervisor {
|
|||||||
// but the ioctl API is limited to u8
|
// but the ioctl API is limited to u8
|
||||||
256
|
256
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn get_guest_debug_hw_bps(&self) -> usize {
|
||||||
|
0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Vcpu struct for Microsoft Hypervisor
|
/// Vcpu struct for Microsoft Hypervisor
|
||||||
|
Loading…
Reference in New Issue
Block a user