Tag rhel 9.2+ with SEV_LIVE_MIGRATABLE_V2
SEV-SNP capable kernels containing commit ac3f9c9f are compatible. SEV_LIVE_MIGRATABLE indicated compatibility with an older version of SEV live migration, without ac3f9c9f. See: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2
This commit is contained in:
parent
bb4ee36cdc
commit
b3bb851863
1 changed files with 13 additions and 0 deletions
|
|
@ -28,6 +28,17 @@ var GuestOsFeaturesRHEL9 []*computepb.GuestOsFeature = []*computepb.GuestOsFeatu
|
|||
{Type: common.ToPtr(computepb.GuestOsFeature_SEV_CAPABLE.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_GVNIC.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_SEV_SNP_CAPABLE.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_SEV_LIVE_MIGRATABLE_V2.String())},
|
||||
}
|
||||
|
||||
// Guest OS Features for RHEL9.1 images.
|
||||
// The SEV_LIVE_MIGRATABLE_V2 support was added since RHEL-9.2
|
||||
var GuestOsFeaturesRHEL91 []*computepb.GuestOsFeature = []*computepb.GuestOsFeature{
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_UEFI_COMPATIBLE.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_VIRTIO_SCSI_MULTIQUEUE.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_SEV_CAPABLE.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_GVNIC.String())},
|
||||
{Type: common.ToPtr(computepb.GuestOsFeature_SEV_SNP_CAPABLE.String())},
|
||||
}
|
||||
|
||||
// Guest OS Features for RHEL9.0 images.
|
||||
|
|
@ -53,6 +64,8 @@ func GuestOsFeaturesByDistro(distroName string) []*computepb.GuestOsFeature {
|
|||
|
||||
case distroName == "rhel-90":
|
||||
return GuestOsFeaturesRHEL90
|
||||
case distroName == "rhel-91":
|
||||
return GuestOsFeaturesRHEL91
|
||||
case strings.HasPrefix(distroName, "centos-9"):
|
||||
fallthrough
|
||||
case strings.HasPrefix(distroName, "rhel-9"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue