The AMD SEV support recently introduced to nova[0] depends on certain
metadata properties for flavors and images which were either missing
or only partially covered by existing glance metadata, so fill the
missing gaps:
- Add the hw:mem_encryption flavor extra spec and corresponding
hw_mem_encryption image property.
- hw_firmware_type has been supported by nova for quite a while,
so register it as an official metadata property.
Reviewed: https:/ /review. opendev. org/681866 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=3a281b9bc62 a1b8b0f1468bc64 1105a5662f8ecd
Committed: https:/
Submitter: Zuul
Branch: master
commit 3a281b9bc62a1b8 b0f1468bc641105 a5662f8ecd
Author: Adam Spiers <email address hidden>
Date: Thu Sep 12 12:02:50 2019 +0100
Add SEV-related extra spec and image properties
The AMD SEV support recently introduced to nova[0] depends on certain
metadata properties for flavors and images which were either missing
or only partially covered by existing glance metadata, so fill the
missing gaps:
- Add the hw:mem_encryption flavor extra spec and corresponding mem_encryption image property.
hw_
- hw_firmware_type has been supported by nova for quite a while,
so register it as an official metadata property.
- Add hw_cdrom_bus which was missing as per /bugs.launchpad .net/glance/ +bug/1808868. This shares
https:/
values with hw_disk_bus, so document that too.
[0] https:/ /docs.openstack .org/nova/ latest/ admin/configura tion/hypervisor -kvm.html# amd-sev- secure- encrypted- virtualization
Closes-Bug: 1808868 0125b320d840d78 7edcb086aa9
Change-Id: I8116565ad0326d