diff --git a/src/context/memory.rs b/src/context/memory.rs index c34d20f517488a0ae95a200a1908087949df5663..48cd9e27a855b1f5c878d78ace2a56e3916b4b61 100644 --- a/src/context/memory.rs +++ b/src/context/memory.rs @@ -653,6 +653,10 @@ impl Grant { } */ + // TODO: If grants are missing for certain ranges specified, fill with Provider::External + // grants anyway, which will in turn fill the host address space will zeroed grants. This + // is required before schemes can be safe. + let mut dst_grants = Vec::with_capacity(1); let src_span = PageSpan::new(src_base, page_count);