Public bug reported:

https://review.opendev.org/#/c/644565/ added logic to
libvirt/designer.py for enabling iommu for certain devices where virtio
is used.  This is required for AMD SEV[0].  However it missed the case
of a SCSI controller where the model is virtio-scsi, e.g.:

    <controller type='scsi' index='0' model='virtio-scsi'>

As with other virtio devices, here a child element needs to be added to
the config when SEV is enabled:

    <driver iommu="on" />

[0] http://specs.openstack.org/openstack/nova-specs/specs/train/approved
/amd-sev-libvirt-support.html#proposed-change

** Affects: nova
     Importance: Undecided
     Assignee: Adam Spiers (adam.spiers)
         Status: In Progress


** Tags: sev

** Changed in: nova
     Assignee: (unassigned) => Adam Spiers (adam.spiers)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1845986

Title:
  SEV does not enable IOMMU on SCSI controller

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  https://review.opendev.org/#/c/644565/ added logic to
  libvirt/designer.py for enabling iommu for certain devices where
  virtio is used.  This is required for AMD SEV[0].  However it missed
  the case of a SCSI controller where the model is virtio-scsi, e.g.:

      <controller type='scsi' index='0' model='virtio-scsi'>

  As with other virtio devices, here a child element needs to be added
  to the config when SEV is enabled:

      <driver iommu="on" />

  [0] http://specs.openstack.org/openstack/nova-
  specs/specs/train/approved/amd-sev-libvirt-support.html#proposed-
  change

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1845986/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to