Bug 1444992 - [RFE] Provide hook for vGPU
Summary: [RFE] Provide hook for vGPU
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 4.1.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.1.3
: ---
Assignee: Martin Polednik
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On: 1459259
Blocks: 1360443 1461813 1486524
TreeView+ depends on / blocked
 
Reported: 2017-04-24 17:14 UTC by Martin Tessun
Modified: 2019-04-28 13:44 UTC (History)
17 users (show)

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
Clone Of:
: 1461813 (view as bug list)
Environment:
Last Closed: 2017-07-06 13:19:28 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 76120 0 ovirt-4.1 MERGED hostdev: add mdev creation 2021-02-03 17:30:25 UTC
oVirt gerrit 76121 0 ovirt-4.1 MERGED hostdev: add mdev removal 2021-02-03 17:30:25 UTC
oVirt gerrit 76122 0 ovirt-4.1 ABANDONED hostdev: update_device_info: handle unknown device type 2021-02-03 17:30:25 UTC
oVirt gerrit 76123 0 ovirt-4.1 MERGED hostdev: add mdev dummy device 2021-02-03 17:30:25 UTC
oVirt gerrit 76124 0 ovirt-4.1 ABANDONED vfio-mdev: hook 2021-02-03 17:30:26 UTC
oVirt gerrit 76609 0 master ABANDONED vgpu: hook 2021-02-03 17:30:26 UTC
oVirt gerrit 76610 0 master ABANDONED hostdev: update_device_info: handle unknown device type 2021-02-03 17:30:26 UTC
oVirt gerrit 76611 0 master MERGED hostdev: update_device_info: handle unknown device type 2021-02-03 17:30:26 UTC
oVirt gerrit 76614 0 ovirt-4.1 MERGED hostdev: update_device_info: handle unknown device type 2021-02-03 17:30:26 UTC
oVirt gerrit 76847 0 master MERGED hostdev: add mdev dummy device 2021-02-03 17:30:26 UTC
oVirt gerrit 76848 0 master MERGED vfio-mdev: hook 2021-02-03 17:30:26 UTC
oVirt gerrit 76924 0 ovirt-4.1 MERGED vfio-mdev: hook 2021-02-03 17:30:27 UTC
oVirt gerrit 77149 0 ovirt-4.1 MERGED resubmit: vfio-mdev: hook 2021-02-03 17:30:27 UTC
oVirt gerrit 78136 0 ovirt-engine-4.1 MERGED core: add mdev_type custom property 2021-02-03 17:30:27 UTC
oVirt gerrit 78712 0 ovirt-4.1 MERGED vfio-mdev: fix check for available instances 2021-02-03 17:30:27 UTC

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.


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