Bug 1955681 - [RFE] Support vDPA devices without enabling real-time policy
Summary: [RFE] Support vDPA devices without enabling real-time policy
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: nova-maint
QA Contact: nova-maint
URL:
Whiteboard:
Depends On: 1873409 1939776
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 16:19 UTC by Stephen Finucane
Modified: 2021-05-01 05:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version: Xena


Attachments (Terms of Use)

Description Stephen Finucane 2021-04-30 16:19:25 UTC
Description of problem:

During Wallaby, we added support for creating instances with vDPA network devices. However, due to how this was implemented by QEMU/libvirt, it was necessary for users to enable the real-time policy ('hw:cpu_realtime=yes') to enable locked memory. Users shouldn't need to set this mostly unrelated set of tweaks to simply use vDPA. This could be resolved either by libvirt, which could increase the memlock limit via prlimit(2) as it does for VFIO devices, or nova could provide a way for users to request locked memory and only locked memory. This RFE tracks testing of the chosen solution along with any potential work needed in nova along the way.


Note You need to log in before you can comment on or make changes to this bug.