Skip to content

Add API to Add/Remove virtual device#7

Merged
johnsonshih merged 2 commits into
johnsonshih:private-peekfrom
jagadishmurugan:users/jagamu/Enable-DDA-Support
May 28, 2021
Merged

Add API to Add/Remove virtual device#7
johnsonshih merged 2 commits into
johnsonshih:private-peekfrom
jagadishmurugan:users/jagamu/Enable-DDA-Support

Conversation

@jagadishmurugan

Copy link
Copy Markdown
Collaborator

No description provided.

@jagadishmurugan

Copy link
Copy Markdown
Collaborator Author

Verified the changes using wssdagent and the following sequence:

-> Create HCS VM on host with 'NVIDIA TESLA T4' GPU
-> Verify - VM is in Running state, has proper IP address, login to the VM and verify GpuDevice is visible in the VM (lspci -v), note down vmBusID (returned by AssignDevice)
-> Stop VM
-> Verify - VM is in Offline state, RemoveDevice succeeds with the vmBusID obtained in Start

Repeat above steps - Make sure the GpuDevice is visible in the VM after Start...

Comment thread vm.go
Comment thread vm.go Outdated

// WCOW (when supported) does not require a guest request as part of the
// device assignment
//if system.os != "windows" {

@johnsonshih johnsonshih May 26, 2021

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove #Closed

@johnsonshih johnsonshih merged commit e4d2344 into johnsonshih:private-peek May 28, 2021
johnsonshih pushed a commit that referenced this pull request Mar 18, 2022
Add API to Add/Remove virtual device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants