This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vfio_device: remove RawFd from function parameters
Generally speaking functions take RawFd should be marked as unsafe. device_add_group and device_del group are such functions. Instead of marks them as unsafe, we can make these two functions take a reference to VfioGroup. This is far more elegant. Signed-off-by: Wei Liu <liuwe@microsoft.com>
- Loading branch information