We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bdc3d5 commit 240afbaCopy full SHA for 240afba
openhcl/virt_mshv_vtl/src/lib.rs
@@ -1946,9 +1946,9 @@ impl UhPartition {
1946
1947
/// Trigger the LINT1 interrupt vector on the LAPIC of the BSP.
1948
#[cfg(guest_arch = "x86_64")]
1949
- pub fn assert_debug_interrupt(&self, _vtl: u8) {
+ pub fn assert_debug_interrupt(&self, vtl: u8) {
1950
let bsp_index = VpIndex::new(0);
1951
- self.pulse_lint(bsp_index, Vtl::Vtl0, 1)
+ self.pulse_lint(bsp_index, Vtl::try_from(vtl).unwrap(), 1)
1952
}
1953
1954
/// Enables or disables the PM timer assist.
0 commit comments