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

configurator: Load hvm_modlist_entry into guest memory when requested. #179

Merged
merged 1 commit into from
May 15, 2024

Conversation

nichtverstehen
Copy link
Contributor

Summary of the PR

Previously module descriptions in BootParams were silently ignored. This change loads them according to the PVH boot spec.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

Copy link
Collaborator

@roypat roypat left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. I've tested it locally with Firecracker's PVH branch and can confirm that modules indeed now work (e.g. with this PR, I can boot an initrd via PVH in Firecracker)

CHANGELOG.md Outdated Show resolved Hide resolved
src/configurator/x86_64/pvh.rs Outdated Show resolved Hide resolved
Previously module descriptions in BootParams were silently ignored.
This change loads them into guest memory according to the PVH boot
spec.

Signed-off-by: Kirill Nikolaev <cyril7@gmail.com>
@JonathanWoollett-Light JonathanWoollett-Light merged commit 5333d8c into rust-vmm:main May 15, 2024
2 checks passed
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