Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for vGPU #1378

Closed
wants to merge 2 commits into from
Closed

feat: Add support for vGPU #1378

wants to merge 2 commits into from

Conversation

aarnaud
Copy link

@aarnaud aarnaud commented Mar 31, 2021

Description

Original implementation of PciPassthrough can't be use for vGPU because it's link to host systemId
This PR add support for vGPU

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Release Note

Release note for CHANGELOG:

support vGPU

References

Resolves #1265

@ghost ghost added size/m Relative Sizing: Medium documentation Type: Documentation labels Mar 31, 2021
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 31, 2021

CLA assistant check
All committers have signed the CLA.

Original implementation of PciPassthrough can't be use for vGPU because it's link to host systemId
@tenthirtyam tenthirtyam changed the title fix #1265 support vGPU Add support for vGPU Feb 3, 2022
@tenthirtyam tenthirtyam added enhancement Type: Enhancement needs-review Status: Pull Request Needs Review labels Feb 3, 2022
@tenthirtyam
Copy link
Collaborator

@appilon, I've requested access to a GPU-enabled testbed to review and evaluate this pull request.

Ryan

@tenthirtyam tenthirtyam self-assigned this Feb 10, 2022
@tenthirtyam tenthirtyam added this to the Research milestone Feb 14, 2022
@tenthirtyam tenthirtyam added the area/vm Area: Virtual Machines label Feb 22, 2022
@tenthirtyam
Copy link
Collaborator

May wish to consider finding the devices with VirtualDeviceList.SelectByBackingInfo that will be in in a future govmomi version.

See. vmware/govmomi#2772

@tenthirtyam tenthirtyam added the upstream/govmomi Upstream: vmware/govmomi label Mar 2, 2022
@tenthirtyam tenthirtyam changed the title Add support for vGPU feat: Add support for vGPU Mar 11, 2022
@tenthirtyam
Copy link
Collaborator

Hi @aarnaud,

I hope all is well. As one of the project collaborators, I've started to review this pull request and run some tests in one of my available testbeds.

I know it's been a while, but if you could share any example config and the guest OS(s) and GPUs tested in this would be most helpful.

You can reply here or direct, if you like.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.
[email protected]

@aarnaud
Copy link
Author

aarnaud commented Apr 23, 2022

Hi, sorry for the delay,

An example:

resource "vsphere_virtual_machine" "vm" {
  ...
  firmware           = "efi"
  shared_pci_device_id = "grid_rtx8000-8q"
  ...
}

Maybe there is an other way now with latest version

@tenthirtyam
Copy link
Collaborator

Thanks for the update, @aarnaud. I'll run another couple tests in the testbed to see if the expected results stick.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@wilmardo
Copy link

@tenthirtyam Is there any update on this? Could we do some testing to help this further along?

It would be awesome to have this merged and released :)

@tenthirtyam
Copy link
Collaborator

Hi @wilmardo - at this time it's
not planned for the v2.3.0 release milestones. If you have the availability to contribute, please build and test the branch/fork of the provider with the proposed changes to share your findings.

Ryan Johnson
Staff II Solutions Architect | VMware, Inc.

@tenthirtyam tenthirtyam added the merge-conflict Merge Conflict label Sep 11, 2022
@github-actions github-actions bot added the provider Type: Provider label Sep 11, 2022
@tenthirtyam
Copy link
Collaborator

Merge conflicts resolved to aid when next reviewed for consideration. No ETA.

Ryan Johnson
Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

@tenthirtyam tenthirtyam removed the merge-conflict Merge Conflict label Sep 11, 2022
@Archicake
Copy link

@tenthirtyam Hi, do you have any idea when this will be released?

@tenthirtyam
Copy link
Collaborator

There's still a need for further testing on the pull request and to ensure it's the best implementation.

Note that if you look at the Milestone here in GitHub it's parked in the Backlog.

If you'd like to review and test the pull request by building from source, feedback and contributions are welcome.

@tenthirtyam tenthirtyam removed their assignment Jul 25, 2023
@mristok
Copy link
Contributor

mristok commented Nov 6, 2023

@tenthirtyam What is the status of the PR? What needs to happen to get this merged?

@tenthirtyam
Copy link
Collaborator

@tenthirtyam What is the status of the PR? What needs to happen to get this merged?

#1378 (comment)

@mristok
Copy link
Contributor

mristok commented Dec 1, 2023

What is the "further testing" you are referring to in the comment?

I would like to see this brought to completion, so I will start where @aarnaud left off and see what needs to get completed.

@aarnaud
Copy link
Author

aarnaud commented Dec 4, 2023

I'm not using this anymore, It was more a PoC. Feel free to take over the PR

@tenthirtyam tenthirtyam self-assigned this Dec 4, 2023
@mristok mristok mentioned this pull request Jan 12, 2024
2 tasks
@tenthirtyam
Copy link
Collaborator

superseded by #2113

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2024
@tenthirtyam tenthirtyam removed this from the Backlog milestone Mar 6, 2024
@tenthirtyam tenthirtyam removed the needs-review Status: Pull Request Needs Review label Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/vm Area: Virtual Machines documentation Type: Documentation enhancement Type: Enhancement provider Type: Provider size/m Relative Sizing: Medium upstream/govmomi Upstream: vmware/govmomi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic if GRID vGPU is attached to VM
6 participants