Files
glance/etc/metadefs/compute-libvirt.json
Takashi Kajinami 309e9356a6 Add new metadata definition of memory encryption model
Nova recently introduced support of SEV-ES, to extend the existing
memory encryption support using SEV. Add the new metadef value to
explain the flavor extra spec and the image property to determine
the hardware/CPU feature for memory encryption.

Also fix the outdated link of nova documentation about AMD SEV support.

Depends-on: https://review.opendev.org/c/openstack/nova/+/926106
Change-Id: I9063663a3b14161a67da59a68f5f7c92fd5447f5
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-09 00:38:08 +09:00

51 lines
2.7 KiB
JSON

{
"namespace": "OS::Compute::Libvirt",
"display_name": "libvirt Driver Options",
"description": "The libvirt compute driver options. \n\nThese are properties that affect the libvirt compute driver and may be specified on flavors and images. For a list of all hypervisors, see here: https://docs.openstack.org/nova/latest/user/support-matrix.html",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image",
"prefix": "hw_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
}
],
"properties": {
"serial_port_count": {
"title": "Serial Port Count",
"description": "Specifies the count of serial ports that should be provided. If hw:serial_port_count is not set in the flavor's extra_specs, then any count is permitted. If hw:serial_port_count is set, then this provides the default serial port count. It is permitted to override the default serial port count, but only with a lower value.",
"type": "integer",
"minimum": 0
},
"boot_menu": {
"title": "Boot Menu",
"description": "If true, enables the BIOS bootmenu. In cases where both the image metadata and Extra Spec are set, the Extra Spec setting is used. This allows for flexibility in setting/overriding the default behavior as needed.",
"type": "string",
"enum": ["true", "false"]
},
"mem_encryption": {
"title": "Hardware Memory Encryption",
"description": "Enables encryption of guest memory at the hardware level, if there are compute hosts available which support this. See https://docs.openstack.org/nova/latest/admin/sev.html for details.",
"type": "string",
"enum": ["true", "false"]
},
"mem_encryption_model": {
"title": "Hardware Memory Encryption Model",
"description": "The hardware feature name to encrypt guest memory, if there are compute hosts available which support this. See https://docs.openstack.org/nova/latest/admin/sev.html for details.",
"type": "string",
"enum": ["amd-sev", "amd-sev-es"]
},
"virtio_packed_ring": {
"title": "Virtio Packed Ring",
"description": "Enables Packed VIRT-IO Queue feature. When set to true, instance will bescheduled to hosts that support negotiating the packed virt queue format. This feature may or may not be enabled depending on the guest driver. When used it will improve the small packet performance of network io.",
"type": "string",
"enum": ["true", "false"]
}
},
"objects": []
}