Bug 1444992

Summary: [RFE] Provide hook for vGPU
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Tessun <mtessun>
Component: vdsmAssignee: Martin Polednik <mpoledni>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: high Docs Contact:
Priority: high    
Version: 4.1.0CC: bazulay, cshao, jkachuck, knoel, lsurette, mavital, melewis, michal.skrivanek, mkalinin, mtessun, nsimsolo, rbalakri, Rhev-m-bugs, srevivo, stirabos, ycui, ykaul
Target Milestone: ovirt-4.1.3Keywords: FutureFeature, Reopened, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This update adds a new VDSM hook called vdsm-hook-vfio-mdev that makes the host capable of working with mdev capable devices such as GPUs. The hook is automatically installed. The following prerequisites apply for a virtual machine to use a mdev instance: 1) The host must have a kernel that supports mediated device, have the device and the correct drivers. 2) The predefined property, 'mdev_type', must be set and correspond to one of the mdev types supported by the device. 3) The virtual machine must be pinned to the host(s) with the device(s). The supported mdev_type values can be determined by checking the host on which the device is present (not visible in the engine) by querying vdsm (vdsm-client Host hostdevListByCaps) or running the following bash script: for device in /sys/class/mdev_bus/*; do for mdev_type in $device/mdev_supported_types/*; do MDEV_TYPE=$(basename $mdev_type) DESCRIPTION=$(cat $mdev_type/description) echo "mdev_type: $MDEV_TYPE --- description: $DESCRIPTION"; done; done | sort | uniq
Story Points: ---
Clone Of:
: 1461813 (view as bug list) Environment:
Last Closed: 2017-07-06 13:19:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1459259    
Bug Blocks: 1360443, 1461813, 1486524    

Comment 1 Michal Skrivanek 2017-04-25 06:54:05 UTC
such hook should be obsoleted/removed in 4.2

Comment 2 Michal Skrivanek 2017-04-27 11:01:23 UTC
let's build a vdsm hook to utilize the latest enhancements for vGPU mediated device(mdev) in qemu and libvirt, and make it available as an unsupported hook.

Comment 3 RHEL Program Management 2017-05-01 10:23:01 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 8 rhev-integ 2017-05-28 14:46:19 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops

Comment 9 rhev-integ 2017-06-01 16:13:19 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops

Comment 10 rhev-integ 2017-06-09 09:57:53 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops

Comment 17 rhev-integ 2017-06-16 16:44:47 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Project 'ovirt-engine'/Component 'vdsm' mismatch]

For more info please contact: rhv-devops

Comment 18 rhev-integ 2017-06-18 11:50:41 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Project 'ovirt-engine'/Component 'vdsm' mismatch]

For more info please contact: rhv-devops

Comment 20 Nisim Simsolo 2017-06-28 16:55:59 UTC
Verification builds:
ovirt-engine-4.1.3.2-0.1.el7
libvirt-client-3.2.0-14.el7.x86_64
vdsm-4.19.20-1.el7ev.x86_64
qemu-kvm-rhev-2.9.0-14.el7.x86_64
sanlock-3.5.0-1.el7.x86_64
kernel-3.10.0-686.el7.x86_64
vdsm-hook-vfio-mdev-4.19.20-1.el7ev (with the fix of http://gerrit.ovirt.org/78712)
Nvidia - Updated R375 drivers for KVM under NDA

Verified guests:
Win10
Win7
Win8 
RHEL7

Polarion test case will be added to external trackers later.