vswitch: Add a vswitch example with small fixups#207
Open
JDuchniewicz wants to merge 16 commits intomainfrom
Open
vswitch: Add a vswitch example with small fixups#207JDuchniewicz wants to merge 16 commits intomainfrom
JDuchniewicz wants to merge 16 commits intomainfrom
Conversation
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
In some cases virtq initialization happens after the host managed to send data to the guest. The virtio should both drop the incoming packet and reset the active signal to keep the host sending future incoming packets even if the virtq is not yet initialized.
This was referenced Mar 30, 2026
Contributor
Author
|
An idea regarding the example - should we allow for specifying the number of clients to spawn? Also, I need to adjust the documentation since this looks very similar to the original virtio example and I would rather either enhance that one (or allow for optionally testing vswitch) - most of the code is copied and we don't really want that. @Courtney3141 @Ivan-Velickovic |
add850e to
f732b56
Compare
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
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.
This adds a new vswitch example basing off the regular virtio example. In there we can have a few VMs connected to one vswitch and communicating freely.
Also disables a few comments that cause #71
Depends on microkit_sdf_gen PR: and au-ts/microkit_sdf_gen#31
sddf PR: au-ts/sddf#685