-
Notifications
You must be signed in to change notification settings - Fork 476
[wip] feat: add support for vgpu #2113
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
base: main
Are you sure you want to change the base?
Conversation
vsphere/internal/virtualdevice/virtual_machine_device_subresource.go
Outdated
Show resolved
Hide resolved
|
Hey @mristok did you run the acceptance tests in "vsphere/resource_vsphere_virtual_machine_test.go"? |
3bf974b to
55c9b2f
Compare
|
Added the |
|
I tested the change with some mock GPUs on my environment, seems to work fine |
55c9b2f to
0276fdd
Compare
@stoyanzhelyazkov I ran existing acceptance tests. However, I did not create a new test for the new property |
afe256f to
dd65e0c
Compare
670d041 to
063f1f6
Compare
|
Marking this one as ready for review after post-transfer rebase. @spacegospod - let's discuss if this one needs to be held for a major still. |
Add a new option `shared-pci-device-id` to the `virtual machine` resource. This enables users to 1 or more vGPU to the VM as an update to the resource or during the clone operation.
063f1f6 to
6363456
Compare
|
very good feature 👍 any plans on merging this? |
I'm looking at the diff and the feature seems incomplete. The actual implementation is missing, all I see is changes to the schema. @mristok can you take a look? Maybe something went wrong along the way, I see a bunch of force pushes |
The way I see it v2.7.0 implements the data source At least this is what it looks like - when testing with provider version |
Description
Add a new option
shared-pci-device-idto thevirtual machineresource. This enables users to 1 or more vGPU to the VM as an update to the resource or during the clone operation.Acceptance tests
Output from acceptance testing:
Release Note
Release note for CHANGELOG:
References
Closes #1378