Merge "Update SEV work item to new approach based on MEM_ENCRYPTION_CONTEXT"

This commit is contained in:
Zuul 2019-05-28 17:58:33 +00:00 committed by Gerrit Code Review
commit d66c33164c
1 changed files with 4 additions and 3 deletions

View File

@ -773,9 +773,10 @@ need to be made to nova's libvirt driver:
#. Add a new ``nova.virt.libvirt.LibvirtConfigGuestSEVLaunchSecurity`` class
to describe the ``<launchSecurity/>`` element.
#. Extend ``nova.virt.libvirt.LibvirtDriver`` to add
the required XML to the VM's domain definition if the new trait is
in the flavor of the VM being launched.
#. Extend ``nova.virt.libvirt.LibvirtDriver`` to add the required XML
to the VM's domain definition if ``MEM_ENCRYPTION_CONTEXT=1`` is in
the ``allocations`` dictionary passed to the libvirt driver's
``spawn()`` method, *and* the host is SEV-capable.
#. Determine whether hugepages should be used, and if so, whether they
can help with accounting.