-
Notifications
You must be signed in to change notification settings - Fork 419
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
virtio-device: Detaching endpoint from old domain in virtio-iommu #6298
virtio-device: Detaching endpoint from old domain in virtio-iommu #6298
Conversation
64cf7ed
to
d1746dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acarp-crusoe There's a lot of whitespace changes in this commit - perhaps you could drop those - or explain why they're there (lots of additions and removals...)
8c3d7d4
to
57459ab
Compare
Apologies I didn't notice those whitespace changes, they should all be removed |
6b96d58
to
8aa9aca
Compare
d5b79cb
to
9c7506c
Compare
9c7506c
to
de67b89
Compare
Ensures that any endpoints already attached to the domain are properly mapped to a new endpoint on said endpoint's attach request. This is done by search for all previous mappings in the domain and then issuing map requests for the newly attached endpoint. Signed-off-by: Andrew Carp <acarp@crusoeenergy.com>
Properly detach a device from a domain if that device is already attached to another domain on an attach request (following section 5.13.6.3.2 of the virtio-iommu spec). Resolves nested virtualization reboot. Signed-off-by: Andrew Carp <acarp@crusoeenergy.com>
de67b89
to
dbb0d93
Compare
@thomasbarrett - when you get back next week can you take a look and give an approval if this looks good? |
This looks good to me :) |
You should be able to use the GitHub UI to give reviews - even though the checkmark may be grey rather than green, |
Properly detach a device from a domain if that device is already attached to another domain on an attach request (following section 5.13.6.3.2 of the virtio-iommu spec) - resolves nested virtualization reboot