Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1860646

Summary: [RFE] Manage vGPU dialog, add option for assigning more than one vGPU instance to VM
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: BLL.VirtAssignee: Lucia Jelinkova <ljelinko>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.1.2CC: ahadas, bugs, dfodor, nsimsolo
Target Milestone: ovirt-4.4.7Keywords: FutureFeature
Target Release: ---Flags: pm-rhel: ovirt-4.4?
pm-rhel: planning_ack?
pm-rhel: devel_ack+
pm-rhel: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.7.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-08 14:15:39 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:    
Bug Blocks: 1963714    
Attachments:
Description Flags
scrrenshot of manage vGPU dialog none

Description Nisim Simsolo 2020-07-26 07:30:58 UTC
Description of problem:
Currently, when using WebAdmin - manage vGPU dialog, there is an option for adding only one vGPU mdev_type to VM while manually it is possible to add more than one vGPU mdev_type to VM.
It would be nice to have the same functionality in manage vGPU dialog.
For example:
Using Nvidia Tesla M60 card, mdev_type nvidia-11 is supporting max_instance=16, so manage vGPU dialog should support up to 16 instances for nvidia-11:
mdev_type: nvidia-11 --- description: num_heads=2, frl_config=45, framebuffer=512M, max_resolution=2560x1600, max_instance=16 --- name: GRID M60-0B

Also, in manage vGPU dialog, the first column name should be changed from "card name" to "mdev type"

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.1.8-0.7.el8ev

Steps to Reproduce:
1. Browse WebAdmin -> Compute -> Virtual machines -> click on VM name -> host devices -> click on manage vGPU button
2. 
3.

Actual results:
There is an option for assigning only 1 mdev_type instance to VM.

Expected results:
It should be possible to assign max_instance of mdev_type to VM.

Additional info:
Screenshot attached.

Comment 1 Nisim Simsolo 2020-07-26 07:32:46 UTC
Created attachment 1702423 [details]
scrrenshot of manage vGPU dialog

Comment 2 Nisim Simsolo 2021-07-08 11:14:09 UTC
Verified:
ovirt-engine-4.4.7.6-0.11.el8ev
vdsm-4.40.70.6-1.el8ev.x86_64
libvirt-daemon-7.0.0-14.1.module+el8.4.0+11095+d46acebf.x86_64
qemu-kvm-5.2.0-16.module+el8.4.0+11536+725e25d9.2.x86_64
NVIDIA-vGPU-rhel-8.4-460.73.02.x86_64

Verification scenario:
1. From manage vGPU dialog, Verify it is possible to add multiple vGPU instances to the same VM.
2. Run VM.
3. Verify VM is running and all vGPU instances are listed under VM nvidia-smi shell command.

Comment 3 Sandro Bonazzola 2021-07-08 14:15:39 UTC
This bugzilla is included in oVirt 4.4.7 release, published on July 6th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.