Open
Conversation
cbb223d to
138400e
Compare
germag
reviewed
Aug 19, 2025
2b19107 to
e53a34c
Compare
germag
reviewed
Aug 19, 2025
germag
reviewed
Aug 19, 2025
germag
reviewed
Aug 26, 2025
be19e30 to
158ca1d
Compare
44e7bb3 to
77ba627
Compare
germag
previously approved these changes
Sep 12, 2025
Collaborator
|
this LGTM |
Contributor
Author
|
@stefano-garzarella @germag any problems about this? |
stefano-garzarella
requested changes
Oct 8, 2025
|
Hi @uran0sH , I'm trying to build the vhost crate on macOS and came across this PR. It seems this PR hasn't been updated for a while, are you still working on it? If not, I'd be happy to take over and continue the work to help get it merged. Let me know what you think. Thanks! |
Contributor
Author
Yeah I will update this pr as soon as possible |
6dde03e to
fbc40ce
Compare
Member
When register_event we pass in the value of u32/u64, so we don't need to convert it to u16 and then pass it to handle_event. Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com>
We can safely use usize instead of u64, because normally we will not register a data that exceeds the size of usize Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com>
Epoll is linux-specific. So we use mio, which is a cross-platform event notification, to replace Epoll. Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the PR
Epoll is linux-specific. So we use mio, which is a cross-platform event notification, to replace Epoll.
Requirements
Before submitting your PR, please make sure you addressed the following
requirements:
git commit -s), and the commit message has max 60 characters for thesummary and max 75 characters for each description line.
test.
Release" section of CHANGELOG.md (if no such section exists, please create one).
unsafecode is properly documented.