Blueprint add-kvm-hidden-feature added the capability of hiding the kvm
signature from guests. However, it was implemented only through an image
property.
A major reason for this feature is to allow passed-through Nvidia GPUs
to work correctly. GPU pci-passthrough is specified on the flavor's
extra_specs, without requiring an image with special properties.
Therefore, hiding the KVM signature should also be specifiable through
the flavor's extra_specs, in order to not require a special image for
this use case.
If the new flavor extra_spec is present and set to 'true', the libvirt
driver will produce an additional element to hide kvm's signature on
the vm, in the same way as with the image property
`img_hide_hypervisor_id`.
Reviewed: https:/ /review. openstack. org/555861 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=edf67cfda20 b82c62a8c493c8d aa1337841aba0a
Committed: https:/
Submitter: Zuul
Branch: master
commit edf67cfda20b82c 62a8c493c8daa13 37841aba0a
Author: Konstantinos Samaras-Tsakiris <email address hidden>
Date: Thu Mar 22 14:45:25 2018 +0100
Add `hide_hyperviso r_id` flavor extra_spec
Blueprint add-kvm- hidden- feature added the capability of hiding the kvm
signature from guests. However, it was implemented only through an image
property.
A major reason for this feature is to allow passed-through Nvidia GPUs
to work correctly. GPU pci-passthrough is specified on the flavor's
extra_specs, without requiring an image with special properties.
Therefore, hiding the KVM signature should also be specifiable through
the flavor's extra_specs, in order to not require a special image for
this use case.
If the new flavor extra_spec is present and set to 'true', the libvirt hide_hypervisor _id`.
driver will produce an additional element to hide kvm's signature on
the vm, in the same way as with the image property
`img_
Implements: blueprint hide-hypervisor -id-flavor- extra-spec 9b448ea5fb43b75 97dc067dc22
Closes-Bug: 1757424
Change-Id: I41c5913b414862