VMware vSphere

 View Only
  • 1.  No CPU option “IOMMU: Expose IOMMU to the guest OS” for CentoOS VM

    Posted Jul 14, 2022 05:33 PM

    Hello,

    I am running ESXi 7.0 Update 2 and would like to use vfio-pci drivers inside the VM.

    When a Ubuntu 18-04 - 21-04 VM is created on ESXi (7.0), under VM's CPU option I see "Expose IOMMU to the guest OS" and I am able to use vfio-pci drivers.

    When Centos 8.0 VM is created on the same ESXi (6.5), under VM's CPU option there is no "Expose IOMMU to the guest OS" option.

    Both Ubuntu and Centos VM's ovf file has

    <vmw:Config ovf:required="false" vmw:key="flags.vvtdEnabled" vmw:value="true"/>

    Let me know how to get this enabled on Centos 8.0.

     

    Thanks.



  • 2.  RE: No CPU option “IOMMU: Expose IOMMU to the guest OS” for CentoOS VM
    Best Answer

    Posted Jul 15, 2022 06:36 AM

    I think the "Expose IOMMU to the guest OS" is available in ESXi 6.7 and newer. So it requires at least virtual hardware version 14.



  • 3.  RE: No CPU option “IOMMU: Expose IOMMU to the guest OS” for CentoOS VM

    Posted Jul 22, 2022 03:00 PM

    Thank you, it worked after upgrading vm hardware compatibility to 6.7.