Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support memory over 4GiB #41

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nponsard
Copy link
Member

@nponsard nponsard commented Mar 23, 2023

This pull request replaces the PR about the MMIO gap.

This commits adds support for allocating memory over 4GiB to the VM. It creates a new memory region after the APIC and MSI interrupt region.

Fixes #34

@nponsard nponsard mentioned this pull request Mar 23, 2023
@nponsard nponsard marked this pull request as draft March 23, 2023 17:59
Copy link
Contributor

@sameo sameo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from a typo. FWIW this is a draft PR, I can't merge it.

src/vmm/src/lib.rs Outdated Show resolved Hide resolved
@nponsard
Copy link
Member Author

The work in this PR will soon be replaced by the work on a memory "allocator", it will handle both the EBDA memory region and the BIOS/APIC/MSI interrupts gaps.

This commits adds support for allocating memory over 4GiB to the VM.
It creates a new memory region after the APIC and MSI interrupt region.

Signed-off-by: Nils Ponsard <[email protected]>
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.

virtio-net : add MMIO gap
2 participants