Merge "Add SEV-related extra spec and image properties"
This commit is contained in:
commit
854e425fec
@ -332,10 +332,34 @@ Here is a list of useful image properties and the values they expect.
|
|||||||
architecture, then it is not used. If the host has an SMT
|
architecture, then it is not used. If the host has an SMT
|
||||||
architecture, but not enough cores with free thread siblings are
|
architecture, but not enough cores with free thread siblings are
|
||||||
available, then scheduling fails.
|
available, then scheduling fails.
|
||||||
|
* - libvirt API driver
|
||||||
|
- ``hw_cdrom_bus``
|
||||||
|
- Specifies the type of disk controller to attach CD-ROM devices to.
|
||||||
|
- As for ``hw_disk_bus``.
|
||||||
* - libvirt API driver
|
* - libvirt API driver
|
||||||
- ``hw_disk_bus``
|
- ``hw_disk_bus``
|
||||||
- Specifies the type of disk controller to attach disk devices to.
|
- Specifies the type of disk controller to attach disk devices to.
|
||||||
- One of ``scsi``, ``virtio``, ``uml``, ``xen``, ``ide``, or ``usb``.
|
- Options depend on the value of `nova's virt_type config option
|
||||||
|
<https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.virt_type>`_:
|
||||||
|
|
||||||
|
* For ``qemu`` and ``kvm``: one of ``scsi``, ``virtio``,
|
||||||
|
``uml``, ``xen``, ``ide``, ``usb``, or ``lxc``.
|
||||||
|
* For ``xen``: one of ``xen`` or ``ide``.
|
||||||
|
* For ``uml``: must be ``uml``.
|
||||||
|
* For ``lxc``: must be ``lxc``.
|
||||||
|
* For ``parallels``: one of ``ide`` or ``scsi``.
|
||||||
|
* - libvirt API driver
|
||||||
|
- ``hw_firmware_type``
|
||||||
|
- Specifies the type of firmware with which to boot the guest.
|
||||||
|
- One of ``bios`` or ``uefi``.
|
||||||
|
* - libvirt API driver
|
||||||
|
- ``hw_mem_encryption``
|
||||||
|
- Enables encryption of guest memory at the hardware level, if
|
||||||
|
there are compute hosts available which support this. See
|
||||||
|
`nova's documentation on configuration of the KVM hypervisor
|
||||||
|
<https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-kvm.html#amd-sev-secure-encrypted-virtualization>`_
|
||||||
|
for more details.
|
||||||
|
- ``true`` or ``false`` (default).
|
||||||
* - libvirt API driver
|
* - libvirt API driver
|
||||||
- ``hw_pointer_model``
|
- ``hw_pointer_model``
|
||||||
- Input devices that allow interaction with a graphical framebuffer,
|
- Input devices that allow interaction with a graphical framebuffer,
|
||||||
|
@ -10,6 +10,22 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"hw_cdrom_bus": {
|
||||||
|
"title": "CD-ROM Bus",
|
||||||
|
"description": "Specifies the type of disk controller to attach CD-ROM devices to.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"scsi",
|
||||||
|
"virtio",
|
||||||
|
"uml",
|
||||||
|
"xen",
|
||||||
|
"ide",
|
||||||
|
"usb",
|
||||||
|
"fdc",
|
||||||
|
"sata",
|
||||||
|
"lxc"
|
||||||
|
]
|
||||||
|
},
|
||||||
"hw_disk_bus": {
|
"hw_disk_bus": {
|
||||||
"title": "Disk Bus",
|
"title": "Disk Bus",
|
||||||
"description": "Specifies the type of disk controller to attach disk devices to.",
|
"description": "Specifies the type of disk controller to attach disk devices to.",
|
||||||
@ -22,7 +38,17 @@
|
|||||||
"ide",
|
"ide",
|
||||||
"usb",
|
"usb",
|
||||||
"fdc",
|
"fdc",
|
||||||
"sata"
|
"sata",
|
||||||
|
"lxc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hw_firmware_type": {
|
||||||
|
"title": "Firmware Type",
|
||||||
|
"description": "Specifies whether the image should be booted with a legacy BIOS or with UEFI.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"bios",
|
||||||
|
"uefi"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"hw_rng_model": {
|
"hw_rng_model": {
|
||||||
|
@ -26,6 +26,12 @@
|
|||||||
"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.",
|
"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",
|
"type": "string",
|
||||||
"enum": ["true", "false"]
|
"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/configuration/hypervisor-kvm.html#amd-sev-secure-encrypted-virtualization for details.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["true", "false"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"objects": []
|
"objects": []
|
||||||
|
@ -4,7 +4,13 @@ upgrade:
|
|||||||
The following metadata definitions have been modified in the Train
|
The following metadata definitions have been modified in the Train
|
||||||
release:
|
release:
|
||||||
|
|
||||||
* Added ``hw_pmu`` boolean in the ``OS::Compute::LibvirtImage`` namespace.
|
* Added ``hw:mem_encryption`` boolean in the ``OS::Nova::Flavor``
|
||||||
|
namespace, and ``hw_mem_encryption`` boolean in the
|
||||||
|
``OS::Glance::Image`` namespace.
|
||||||
|
|
||||||
|
* Added ``hw_pmu`` boolean, and ``hw_cdrom_bus`` and
|
||||||
|
``hw_firmware_type`` enumerations in the
|
||||||
|
``OS::Compute::LibvirtImage`` namespace.
|
||||||
|
|
||||||
* Added ``powervm`` to the ``hypervisor_type`` enumeration in the
|
* Added ``powervm`` to the ``hypervisor_type`` enumeration in the
|
||||||
``OS:::Compute::Hypervisor`` namespace.
|
``OS:::Compute::Hypervisor`` namespace.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user