We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b443325 commit e7b9cbaCopy full SHA for e7b9cba
src/vmm/src/arch/mod.rs
@@ -147,6 +147,6 @@ fn arch_memory_regions_with_gap(
147
Some((first_addr_past_gap, remaining))
148
}
149
// case2: region starts past the gap
150
- Some(remaining) => Some((first_addr_past_gap.max(offset), remaining)),
+ Some(_) => Some((first_addr_past_gap.max(offset), size)),
151
152
0 commit comments