Added Fedora SNP guest launch support#27
Open
LakshmiSaiHarika wants to merge 8 commits into
Open
Conversation
This was referenced Jan 6, 2025
d6c90a1 to
861eae1
Compare
Signed-off-by: Harika Nittala <lnittala@amd.com>
… a separate SNP guest This supports launch of various SNP Guests at the same time using unique guest name and guest qemu port. A separate SNP guest can be launched with the --guest-name and --guest-port command option as follows: ./snp.sh launch-guest --guest-name <user-guest-name> --guest-port <user-guest-port> Signed-off-by: Harika Nittala <lnittala@amd.com>
Updated to show the correct details for the guest SSH access. Signed-off-by: Harika Nittala <lnittala@amd.com>
…tion process Updated the ubuntu guest download process to download it once and re-use the same image to quickly create multiple guests with the improved performance. Update of the guest image download structure in ubuntu also helps to easily add support for the same in the other OS linux distros. Signed-off-by: Harika Nittala <lnittala@amd.com>
Modularized guest seed image creation in ubuntu to standardize this process across non-debian OS linux distros that has no support for cloud-localds utility supported in canonical distribution. Signed-off-by: Harika Nittala <lnittala@amd.com>
Generalize a way to get and install SNP guest kernel package(AMDSEV build), generalize initrd pattern to make it match across different OS linux distros(initrd/initramfs), and set the default ubuntu guest kernel append parameter. Signed-off-by: Harika Nittala <lnittala@amd.com>
This feature downloads guest image from fedora guest URL and creates guest seed image from the user-data and meta-data file using genisoimage utility(supported in non-debian OSes). Signed-off-by: Harika Nittala <lnittala@amd.com>
Added fedora support to install SNP kernel package on fedora host. Copied guest initrd file from the guest home directory(with modified permission) to the host for the safe initrd file transfer into the host without user permission issue. Updated fedora guest kernel append for the SNP guest launch. Signed-off-by: Harika Nittala <lnittala@amd.com>
861eae1 to
0c195bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.