feat(xenstore): multi-watch and maybe-commit support (#429)

This commit is contained in:
alex authored and GitHub committed 2024-12-14 17:57:15 -05:00
1 parent a04a812f28
commit d7affe6c8c
5 files changed
+62 -7

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ impl BootDomain {
}
let local_page_size: u32 = (1i64 << XEN_PAGE_SHIFT) as u32;
let pages = (size + local_page_size as u64 - 1) / local_page_size as u64;
let pages = size.div_ceil(local_page_size as u64);
let start = self.virt_alloc_end;
let mut segment = DomainSegment {