Skip to content

Commit 240afba

Browse files
author
Jenna Goddard
committed
fix vtl param
1 parent 9bdc3d5 commit 240afba

File tree

1 file changed

+2
-2
lines changed
  • openhcl/virt_mshv_vtl/src

1 file changed

+2
-2
lines changed

openhcl/virt_mshv_vtl/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,9 +1946,9 @@ impl UhPartition {
19461946

19471947
/// Trigger the LINT1 interrupt vector on the LAPIC of the BSP.
19481948
#[cfg(guest_arch = "x86_64")]
1949-
pub fn assert_debug_interrupt(&self, _vtl: u8) {
1949+
pub fn assert_debug_interrupt(&self, vtl: u8) {
19501950
let bsp_index = VpIndex::new(0);
1951-
self.pulse_lint(bsp_index, Vtl::Vtl0, 1)
1951+
self.pulse_lint(bsp_index, Vtl::try_from(vtl).unwrap(), 1)
19521952
}
19531953

19541954
/// Enables or disables the PM timer assist.

0 commit comments

Comments
 (0)