Skip to content

fix(core): remove built-in image mention from mem reserve comment#328

Merged
DavidMCerdeira merged 1 commit into
mainfrom
fix/mem_reserve_comment
Mar 3, 2026
Merged

fix(core): remove built-in image mention from mem reserve comment#328
DavidMCerdeira merged 1 commit into
mainfrom
fix/mem_reserve_comment

Conversation

@josecm
Copy link
Copy Markdown
Member

@josecm josecm commented Mar 3, 2026

The comment in mem_init_reserved() described two conditions under which memory reservation is deferred: when the VM image is built into the hypervisor image, or when it is part of a statically allocated region.

However, the deferral logic (mem_vm_img_in_phys_rgn) only covers the latter case. Remove the reference to built-in images from the comment to accurately reflect the actual behavior.

The comment in mem_init_reserved() described two conditions under which
memory reservation is deferred: when the VM image is built into the
hypervisor image, or when it is part of a statically allocated region.

However, the deferral logic (mem_vm_img_in_phys_rgn) only covers the
latter case. Remove the reference to built-in images from the comment
to accurately reflect the actual behavior.

Signed-off-by: Jose Martins <josemartins90@gmail.com>
@DavidMCerdeira DavidMCerdeira self-assigned this Mar 3, 2026
@DavidMCerdeira DavidMCerdeira merged commit 208d774 into main Mar 3, 2026
45 checks passed
@DavidMCerdeira DavidMCerdeira deleted the fix/mem_reserve_comment branch March 3, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants