-
Notifications
You must be signed in to change notification settings - Fork 132
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
running programs which use networking when the networking isn't configured in qemu causes crashes in uninitialized lip #15
Comments
i guess there are two choices here:
neither of these provides any useful feedback as to whether networking is expected to |
@convolvatron if i don't have network device What should i do in each case? |
in the first case I think we're ok :) i think there are plenty of arguable solutions in the second case. but when this came up last time Will made a good point - the overarching concern here is that we act like the existing system. so my best guess is to just bring up lwip unconditionally, and attach an interface when it arrives. |
still it not looks enough clear for me. For now it looks as memory management error. I will try to investigate it more deep. |
i think it is. in this case lwip was never initialized since we didn't find the pci device for the virtio nic and attach it. so nothing in lwip has been set up. my suggestion is to set up lwip unconditionally outside the virtio code, then hopefully it will be able to handle api calls (maybe with errors if there is no interface) |
@convolvatron |
yeah, i pulled out the init.. thanks for checking..closing |
No description provided.
The text was updated successfully, but these errors were encountered: