mantle/gcp: Only set x86-specific guest OS features on x86_64 images#4528
mantle/gcp: Only set x86-specific guest OS features on x86_64 images#4528dustymabe wants to merge 1 commit intocoreos:mainfrom
Conversation
ARM GCP images were being created with x86-specific confidential computing guest OS features (SEV_CAPABLE, SEV_SNP_CAPABLE, TDX_CAPABLE) that are not applicable to the ARM64 platform. Move these features along with SEV_LIVE_MIGRATABLE_V2 into the x86_64-specific branch so ARM64 images only get the architecture-independent features: VIRTIO_SCSI_MULTIQUEUE, GVNIC, UEFI_COMPATIBLE, and IDPF. Fixes: coreos/fedora-coreos-tracker#2106 Written-by: <anthropic/claude-opus-4.6>
|
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Code Review
This pull request refactors the GCP image creation logic to consolidate architecture-specific features. The review identified that a TODO comment regarding SEV_CAPABLE was inadvertently removed during the refactoring, and suggested restoring it along with the original descriptive comments to maintain context and readability.
|
Verification:
gcloud storage cp fedora-coreos-43.20260331.2.1-gcp.x86_64.tar.gz gs://rhcos-devel/test-gcp-fix-x86-64.tar.gz --project=openshift-rhcos-devel gcloud compute images create test-gcp-fix-x86-64 gcloud compute images create test-gcp-fix-aarch64 $ gcloud compute images describe test-gcp-fix-x86-64 --project=openshift-rhcos-devel --format="table(guestOsFeatures.type:label=FEATURE)" $ gcloud compute images describe test-gcp-fix-aarch64 --project=openshift-rhcos-devel --format="table(guestOsFeatures.type:label=FEATURE)" |
ARM GCP images were being created with x86-specific confidential computing guest OS features (SEV_CAPABLE, SEV_SNP_CAPABLE, TDX_CAPABLE) that are not applicable to the ARM64 platform. Move these features along with SEV_LIVE_MIGRATABLE_V2 into the x86_64-specific branch so ARM64 images only get the architecture-independent features: VIRTIO_SCSI_MULTIQUEUE, GVNIC, UEFI_COMPATIBLE, and IDPF.
Fixes: coreos/fedora-coreos-tracker#2106
Written-by: <anthropic/claude-opus-4.6>