forked from rust-vmm/kvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Functions that receive RawFds need to be declared unsafe. In this particular case the functions were the ones handling EventFds for which we already have a safe wrapper defined in vmm-sys-util. Use that wrapper instead of marking them as unsafe. Signed-off-by: Andreea Florescu <[email protected]>
- Loading branch information
1 parent
98ba7c9
commit f5c263c
Showing
1 changed file
with
78 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters