Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7493

[RFE][Upstream feature] [virtio-mem] Support setting iommu for virtio-mem

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • 1
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Libvirt Bugs already in Sprint
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:

      libvirt doesn't support setting iommu for virtio-mem device

      As libvirt doc said:
      https://libvirt.org/formatdomain.html#virtio-related-options
      ```
      QEMU's virtio devices have some attributes related to the virtio transport under the driver element: The iommu attribute enables the use of emulated IOMMU by the device. The attribute ats controls the Address Translation Service support for PCIe devices. This is needed to make use of IOTLB support (see IOMMU devices). Possible values are on or off. Since 3.5.0
      ```
      E.g. Set <driver iommu='on'>
      ```
      <devices>
      <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      <stats period='10'/>
      <driver iommu='on' ats='on'/>
      </memballoon>
      </devices>
      ```

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

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              mprivozn@redhat.com Michal Privoznik
              rh-ee-yidliu Yiding Liu
              Michal Privoznik Michal Privoznik
              Liang Cong Liang Cong
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: