Bug 1762087

Summary: [RFE] support vIOMMU device in nova
Product: Red Hat OpenStack Reporter: smooney
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED DEFERRED QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: alifshit, cfontain, dasmith, egallen, eglynn, emacchi, jhakimra, kchamart, rchanter, sbauza, sgordon, stephenfin, vromanso, yalzhang
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1821561 (view as bug list) Environment:
Last Closed: 2023-04-14 13:51:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1821561    

Description smooney 2019-10-16 00:58:32 UTC
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:

Comment 4 Artom Lifshitz 2023-04-14 13:51:05 UTC
Tracked in https://issues.redhat.com/browse/OSPRH-69