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(vmm): add support for initramfs #18

Merged
merged 2 commits into from
Apr 20, 2024
Merged

Conversation

Kuruyia
Copy link
Contributor

@Kuruyia Kuruyia commented Apr 20, 2024

What does this PR do?

This adds a new command line argument, --initramfs, which takes the path of an initramfs archive to load into the memory of the VM.

The initramfs is loaded after the kernel in memory, and the boot parameters are updated to tell the kernel the address and size of the loaded initramfs.

This adds a new command line argument, `--initramfs`, which takes the
path of an initramfs archive to load into the memory of the VM.

The initramfs is loaded after the kernel in memory, and the boot
parameters are updated to tell the kernel the address and size of the
loaded initramfs.

Signed-off-by: Kuruyia <github@kuruyia.net>
@Kuruyia Kuruyia added the enhancement New feature or request label Apr 20, 2024
@Kuruyia Kuruyia self-assigned this Apr 20, 2024
Copy link
Contributor

@thomas-mauran thomas-mauran left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Contributor

@charley04310 charley04310 left a comment

Choose a reason for hiding this comment

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

lgtm 👍

Signed-off-by: Kuruyia <github@kuruyia.net>
@Kuruyia Kuruyia merged commit f844cff into virt-do:main Apr 20, 2024
2 checks passed
@Kuruyia Kuruyia deleted the feat/initramfs branch April 20, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants