New OpenSUSE OS: Add OpenSUSE Tumbleweed OS to verify SNP certification.#180
New OpenSUSE OS: Add OpenSUSE Tumbleweed OS to verify SNP certification.#180LakshmiSaiHarika wants to merge 10 commits into
Conversation
LakshmiSaiHarika
commented
Nov 3, 2025
- Added OpenSuse Tumbleweed distribution to verify SNP certification process on this Opensuse distribution.
- For the results, please take a look at my forked GH issue for the OpenSUSE Tumbleweed release here
|
We need to move to a fixed release. But we can't because Leap 16 isn't available in mkosi yet. See: systemd/mkosi#3994 |
Add host and guest image configurations for openSUSE Leap 16.0 with required packages including kernel-default, systemd, qemu, and development tools. Signed-off-by: Harika Nittala <lnittala@amd.com>
Add systemd-conf module with combined status format to explicitly add service name in the service description of journalctl message across all linux distributions. This was added as a fix on opensuse-leap to get the host and guest service description as per the pattern defined in get_service_description. Signed-off-by: Harika Nittala <lnittala@amd.com>
Bump ToolsTreeRelease from 42 to 44 and include the new systemd-conf module in the common build configuration. Signed-off-by: Harika Nittala <lnittala@amd.com>
Add opensuse-leap to the supported distributions in load-kernel-modules and network-fix build scripts for proper module configuration and resolv.conf handling. Signed-off-by: Harika Nittala <lnittala@amd.com>
Add opensuse-leap package names for qemu and ovmf in host_os_package.py, and add zypper package manager support in package_version.sh. Signed-off-by: Harika Nittala <lnittala@amd.com>
Update apt sources to use Ubuntu resolute (26.04) for mkosi installation in the CI workflow. Signed-off-by: Harika Nittala <lnittala@amd.com>
Signed-off-by: Harika Nittala <lnittala@amd.com>
Start beacon-report.service after the sev-certificate.txt file is created. The sev-certificate.txt is generated by the sev-certificate-generator.service. beacon-report.service raises a `sev-certificate.txt` file not found error when this service starts after display-guest-logs.service but before sev-certificate-generator.service. Signed-off-by: Harika Nittala <lnittala@amd.com>
|
Updating this PR with the OpenSUSE Leap Release, as Leap 16 is now available in mkosi v26. |
bcf88d4 to
b1eb17d
Compare
|
Please follow the description below for the updated PR changes:
|
| @@ -0,0 +1,2 @@ | |||
| [Manager] | |||
| StatusUnitFormat=combined | |||
There was a problem hiding this comment.
This change was required specifically for openSUSE Leap, where the default format did not match the pattern expected by get_service_description (openSUSE didn't include the service name in its description), leading to parsing issues for both host and guest service descriptions.
| Requires=display-guest-logs.service sev-certificate-generator.service | ||
| After=display-guest-logs.service sev-certificate-generator.service | ||
| Requires=sev-certificate-generator.service | ||
| After=sev-certificate-generator.service |
|
Please refer to my sev-certify forked GH issues for the latest SEV certificates produced with this PR. |
|
SEV certification on OpenSUSE Leap fails due to the missing compatible AMDSEV-ovmf package support on OpenSUSE Leap. I filed a bug report for the ovmf package in OpenSUSE portal to add support for AMDSEV-compatible guest firmware to calculate expected guest measurement: |
| python3-emoji | ||
| jq | ||
| avahi | ||
| KernelCommandLine="iommu=nopt" |
There was a problem hiding this comment.
To enable AMD SEV (Secure Encrypted Virtualization) in openSUSE Leap, I had to disable IOMMU passthrough to protect encrypted guest memory integrity as per the OpenSUSE 15 SP6 documentation:
https://documentation.suse.com/sles/15-SP6/html/SLES-all/cha-vm-security.html
LakshmiSaiHarika
left a comment
There was a problem hiding this comment.
Disable IOMMU passthrough on OpenSUSE host in the kernel command line parameter.
|
This PR requires refactoring to use sev-verify tool on this OS Release |
Signed-off-by: Harika Nittala <lnittala@amd.com>
…suse leap Signed-off-by: Harika Nittala <lnittala@amd.com>
