Skip to content

Commit d3b06f6

Browse files
committed
fix-fmt
Signed-off-by: Simon Davies <[email protected]>
1 parent 401c94d commit d3b06f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hyperlight_host/src/hypervisor/hyperv_windows.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,11 @@ impl Hypervisor for HypervWindowsDriver {
611611
// For now we just mark all pages dirty which is the equivalent of taking a full snapshot
612612
let total_size = self.mem_regions.iter().map(|r| r.guest_region.len()).sum();
613613
let bitmap = new_page_bitmap(total_size, true)?;
614-
614+
615615
// Count the number of set bits in the bitmap
616616
let set_bit_count = crate::mem::bitmap::bit_index_iterator(&bitmap).count();
617617
let expected_count = total_size.div_ceil(hyperlight_common::mem::PAGE_SIZE_USIZE);
618-
618+
619619
if set_bit_count * hyperlight_common::mem::PAGE_SIZE_USIZE != total_size {
620620
println!(
621621
"Dirty page bitmap size mismatch: {} set bits * {} page size = {} bytes, but expected {} bytes and {} set bits",
@@ -626,7 +626,7 @@ impl Hypervisor for HypervWindowsDriver {
626626
expected_count
627627
);
628628
}
629-
629+
630630
Ok(bitmap)
631631
}
632632

0 commit comments

Comments
 (0)