XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhos-18.0.0
    • rhos-18.0.0
    • openstack-nova
    • None
    • support vIOMMU device in nova
    • False
    • False
    • Committed
    • Committed
    • openstack-nova-27.1.1-18.0.20230930093334.a869ab1.el9ost
    • Committed
    • Committed
    • 33% To Do, 0% In Progress, 67% Done
    • Hide
      .Support for virtual IOMMU device

      The Libvirt driver can add a virtual IOMMU device to guests. This capability applies to x86 hosts that use the Q35 machine type.
      To enable the capability, provide the `hw:viommu_model` extra spec or equivalent image metadata property `hw_viommu_model`.The following values are supported: `intel`, `smmuv3`, `virtio`, `auto`. The default value is `auto`, which automatically selects `virtio`.

      NOTE: Due to the possible overhead introduced with vIOMMU, enable this capability only for required workloads.
      Show
      .Support for virtual IOMMU device The Libvirt driver can add a virtual IOMMU device to guests. This capability applies to x86 hosts that use the Q35 machine type. To enable the capability, provide the `hw:viommu_model` extra spec or equivalent image metadata property `hw_viommu_model`.The following values are supported: `intel`, `smmuv3`, `virtio`, `auto`. The default value is `auto`, which automatically selects `virtio`. NOTE: Due to the possible overhead introduced with vIOMMU, enable this capability only for required workloads.
    • Enhancement
    • Done
    • Automated

      Description of problem:

      Libvirt and qemu have supported vIOMMU emulation for some time now.
      nova curretly does not expose the vIOMMU as a configurable paramter.
      using the q35 machine type and vIOMMU feature can enable better securty in
      the guest when using dpdk or pci device passsthough by allowing the viommu
      to work with the host iommu to restrict the the meory the passthough or dpdk
      device can acess in the guest.

      in some case this can also improve performance by reducing the cost of phyical page traslation.

      by enableing support for vIOMMU emultaiton in the guest this will also enable
      futrue work to allow nested sriov passhtough or other more advanced configurations that require a IOMMU to funciton correcly such as using vfio-pci in the guest.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              nova-maint@redhat.com nova-maint@redhat.com
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-dfg-compute
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified