-
Notifications
You must be signed in to change notification settings - Fork 27
Add virtio-pci-net and virtio-pci-blk support #581
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
Merged
Merged
Conversation
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
b6dab6c to
1a47539
Compare
1a47539 to
f899a95
Compare
7fa1412 to
056880d
Compare
056880d to
8870c8c
Compare
8870c8c to
ce04a9a
Compare
c024089 to
130af8c
Compare
93f3ede to
b430873
Compare
15cbe68 to
fdf7fbd
Compare
Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
read_cycle_count() is platform-specifically implemented, but we havn't done any real benchmark on x86, so just hack the check for system builds. Signed-off-by: Terry Bai <[email protected]>
The example only works in release mode on x86 for now, because kernel halts at clock_sync_test in debug mode. Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Bill Nguyen <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Terry Bai <[email protected]>
Bit of a hack. Signed-off-by: Terry Bai <[email protected]>
fdf7fbd to
9be6b7a
Compare
Signed-off-by: Terry Bai <[email protected]>
midnightveil
approved these changes
Dec 18, 2025
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.
Abstract transparent layer of virtio drivers, and add virtio-pci-net and virtio-pci-blk support.
As benchmarks have been done on x86, there is bit of hacky code just for passing the build.
There is a kernel check
clk_sync_testin debug mode, so the example only works in release mode.Fixes #579