Skip to content

Commit 3a3186c

Browse files
committed
fixup! Add API for getting VM's dirty pages, and add some bitmap utility functions.
1 parent 4ac98cd commit 3a3186c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/src/hypervisor/hyperv_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ impl Hypervisor for HypervWindowsDriver {
619619
fn get_and_clear_dirty_pages(&mut self) -> Result<Vec<u64>> {
620620
// For now we just mark all pages dirty which is the equivalent of taking a full snapshot
621621
let total_size = self.mem_regions.iter().map(|r| r.guest_region.len()).sum();
622-
Ok(new_page_bitmap(total_size, true)?)
622+
new_page_bitmap(total_size, true)
623623
}
624624

625625
#[instrument(err(Debug), skip_all, parent = Span::current(), level = "Trace")]

0 commit comments

Comments
 (0)