-
Notifications
You must be signed in to change notification settings - Fork 28
Virtio net #643
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
base: main
Are you sure you want to change the base?
Virtio net #643
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #643 +/- ##
==========================================
- Coverage 68.06% 58.56% -9.50%
==========================================
Files 20 21 +1
Lines 2311 2638 +327
==========================================
- Hits 1573 1545 -28
- Misses 738 1093 +355 ☔ View full report in Codecov by Sentry. |
If I get it right, using |
ff445af
to
abe8633
Compare
Some bugs were found when it comes to handling BARs: size/mode aren't handled correctly. I'll document progress and fix on BaderSZ#2 |
f4b2793
to
269af79
Compare
130b7fe
to
69b95db
Compare
- renamed `init` -> `thread_local_init` - call "normal" init for x86_64::kvm_cpu during `new`. This fixes an GDB initialization issue, where virtual addresses were queried before the CR3 register was set. - removed `vcpu_init` fn, as initialization is now called either in `new` or in `run`. - call thread_local_initialization in `run_gdb` for linux. Currently this has no effect, but probably enhances consistency.
e28b9a0
to
61a154d
Compare
- Create structs instead of using offsets into buffers. - Enhanced PCI data structure layout. - Fixes incorrect PCI Bar accesses. - Fixes bug that appeared from duplicating PCI header information in the header buffer and in other data structures as well
…r existing TAP devices
…external C code, and we can probably just use the TAP implementation for MacVTap instead
This is a rebase and rework of #536 done by @BaderSZ
Original description:
Related: #1