Skip to content

Update README with virtio config and bridge setup instructions#92

Open
CharleneChar wants to merge 1 commit intosysprog21:mainfrom
CharleneChar:docs
Open

Update README with virtio config and bridge setup instructions#92
CharleneChar wants to merge 1 commit intosysprog21:mainfrom
CharleneChar:docs

Conversation

@CharleneChar
Copy link
Copy Markdown
Contributor

In Linux driver binding, once a device ID matches one of those IDs supported by a driver, the driver is bound and the driver's probe() is invoked. If a device is already bound to a driver, subsequent binding attempts will skip the device. Thus, with CONFIG_VIRTIO_NET=y, virtio_net binds to the virtio device first, causing the virtio device to be skipped when vwifi later attempts to bind.

Add instructions to disable the virtio_net driver so the virtio device can bind to the vwifi driver. Document the expected CONFIG setting in .config and provide menuconfig navigation steps.

Also include steps to bring up the bridge device (br0) required for networking setup, enabling traffic to be ready to flow between the host and virtual machines via virtio-backed interfaces.

Copy link
Copy Markdown
Contributor

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check https://cbea.ms/git-commit/ carefully and then enforce the rules.

In Linux driver binding, once a device ID matches one supported by a
driver, the driver is bound and its probe() is invoked. If a device is
already bound, subsequent binding attempts skip it. With
CONFIG_VIRTIO_NET=y, virtio_net binds to the virtio device first,
preventing vwifi from binding later.

Document how to disable the virtio_net driver so the virtio device can
bind to vwifi. Include the expected CONFIG setting in .config and
provide menuconfig navigation steps.

Also document how to bring up the bridge device (br0) required for the
networking setup, enabling traffic flow between the host and virtual
machines via virtio-backed interfaces.
@CharleneChar
Copy link
Copy Markdown
Contributor Author

Check https://cbea.ms/git-commit/ carefully and then enforce the rules.

Updated the commit message to follow the requested rules and force-pushed the branch. No changes were made to the patch itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants