File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ impl HypervWindowsDriver {
108108 mem_regions,
109109 interrupt_handle : Arc :: new ( WindowsInterruptHandle {
110110 running : AtomicBool :: new ( false ) ,
111- parition_handle : partition_handle,
111+ partition_handle : partition_handle,
112112 dropped : AtomicBool :: new ( false ) ,
113113 } ) ,
114114 } )
@@ -509,14 +509,14 @@ impl Drop for HypervWindowsDriver {
509509pub struct WindowsInterruptHandle {
510510 // `WHvCancelRunVirtualProcessor()` will return Ok even if the vcpu is not running, which is the reason we need this flag.
511511 running : AtomicBool ,
512- parition_handle : WHV_PARTITION_HANDLE ,
512+ partition_handle : WHV_PARTITION_HANDLE ,
513513 dropped : AtomicBool ,
514514}
515515
516516impl InterruptHandle for WindowsInterruptHandle {
517517 fn kill ( & self ) -> bool {
518518 self . running . load ( Ordering :: Relaxed )
519- && unsafe { WHvCancelRunVirtualProcessor ( self . parition_handle , 0 , 0 ) . is_ok ( ) }
519+ && unsafe { WHvCancelRunVirtualProcessor ( self . partition_handle , 0 , 0 ) . is_ok ( ) }
520520 }
521521
522522 fn dropped ( & self ) -> bool {
You can’t perform that action at this time.
0 commit comments