Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1444992 - [RFE] Provide hook for vGPU
[RFE] Provide hook for vGPU
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
4.1.0
x86_64 Linux
high Severity high
: ovirt-4.1.3
: ---
Assigned To: Martin Polednik
Nisim Simsolo
: FutureFeature, Reopened, ZStream
Depends On: 1459259
Blocks: 1360443 1461813 1486524
  Show dependency treegraph
 
Reported: 2017-04-24 13:14 EDT by Martin Tessun
Modified: 2017-10-20 14:52 EDT (History)
18 users (show)

See Also:
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 09:19:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 76120 ovirt-4.1 MERGED hostdev: add mdev creation 2017-05-09 07:39 EDT
oVirt gerrit 76121 ovirt-4.1 MERGED hostdev: add mdev removal 2017-05-09 07:39 EDT
oVirt gerrit 76122 ovirt-4.1 ABANDONED hostdev: update_device_info: handle unknown device type 2017-05-09 06:04 EDT
oVirt gerrit 76123 ovirt-4.1 MERGED hostdev: add mdev dummy device 2017-05-10 02:34 EDT
oVirt gerrit 76124 ovirt-4.1 ABANDONED vfio-mdev: hook 2017-05-17 04:42 EDT
oVirt gerrit 76609 master ABANDONED vgpu: hook 2017-05-09 04:06 EDT
oVirt gerrit 76610 master ABANDONED hostdev: update_device_info: handle unknown device type 2017-05-09 04:06 EDT
oVirt gerrit 76611 master MERGED hostdev: update_device_info: handle unknown device type 2017-05-09 04:37 EDT
oVirt gerrit 76614 ovirt-4.1 MERGED hostdev: update_device_info: handle unknown device type 2017-05-09 07:39 EDT
oVirt gerrit 76847 master MERGED hostdev: add mdev dummy device 2017-05-16 10:40 EDT
oVirt gerrit 76848 master MERGED vfio-mdev: hook 2017-05-16 10:54 EDT
oVirt gerrit 76924 ovirt-4.1 MERGED vfio-mdev: hook 2017-05-17 05:59 EDT
oVirt gerrit 77149 ovirt-4.1 MERGED resubmit: vfio-mdev: hook 2017-05-23 04:33 EDT
oVirt gerrit 78136 ovirt-engine-4.1 MERGED core: add mdev_type custom property 2017-06-14 03:08 EDT
oVirt gerrit 78712 ovirt-4.1 MERGED vfio-mdev: fix check for available instances 2017-06-29 03:12 EDT

  None (edit)
Comment 1 Michal Skrivanek 2017-04-25 02:54:05 EDT
such hook should be obsoleted/removed in 4.2
Comment 2 Michal Skrivanek 2017-04-27 07:01:23 EDT
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 Product and Program Management 2017-05-01 06:23:01 EDT
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 10:46:19 EDT
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@redhat.comINFO: 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@redhat.com
Comment 9 rhev-integ 2017-06-01 12:13:19 EDT
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@redhat.comINFO: 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@redhat.com
Comment 10 rhev-integ 2017-06-09 05:57:53 EDT
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@redhat.comINFO: 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@redhat.com
Comment 17 rhev-integ 2017-06-16 12:44:47 EDT
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@redhat.com
Comment 18 rhev-integ 2017-06-18 07:50:41 EDT
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@redhat.com
Comment 20 Nisim Simsolo 2017-06-28 12:55:59 EDT
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.

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