-
Notifications
You must be signed in to change notification settings - Fork 168
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
provider//passt: add changes for multiarch #5361
Merged
Merged
Conversation
This file contains 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
1a39859
to
ae4067e
Compare
ae4067e
to
a724ded
Compare
@yalzhang please help review |
a724ded
to
4114363
Compare
yalzhang
reviewed
Dec 25, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT
yalzhang
approved these changes
Dec 25, 2023
4114363
to
a729ef8
Compare
a729ef8
to
922cf4f
Compare
'passt.avx2' is a specialization only for x86_64. On other architectures the process might just be "passt". Change the regular expression to match any process containing "passt". `check_vm_ip` calculated the guest interface name for x86_64 for other architectures allow for configuration of this value. Remove zone index when comparing routes as they might differ between host and guest (e.g. if the interfaces are named differently). Check gateways by confirming that routes in guest are available on host instead of confirming they must be exactly the same on both ends. Pass the target interface name to the check_connection function to allow for the correct selection of the gateway. When a host has two interfaces the function used a list and failed. `check_protocol_connection` sent a command to start listening to the server VM and the client send a message to quickly. We could establish a wait condition like checking ports of the machine but a static sleep seemed like a simpler and still reliable solution. The port list definition for `check_portforward` needs to contain the host interface, not the VM interface. Therefore, pass the parameter and remove the unused vm_iface. Signed-off-by: Sebastian Mitterle <[email protected]>
922cf4f
to
de9e701
Compare
chloerh
approved these changes
Jan 10, 2024
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.
Depends on avocado-framework/avocado-vt#3818
'passt.avx2' is a specialization only for x86_64.
On other architectures the process might just be "passt".
Change the regular expression to match any process containing
"passt".
check_vm_ip
calculated the guest interface name for x86_64for other architectures allow for configuration of this value.
Remove zone index when comparing routes as they might differ
between host and guest (e.g. if the interfaces are named differently).
Check gateways by confirming that routes in guest are available on
host instead of confirming they must be exactly the same on both ends.
Pass the target interface name to the check_connection function to
allow for the correct selection of the gateway. When a host
has two interfaces the function used a list and failed.
check_protocol_connection
sent a command to start listening tothe server VM and the client send a message to quickly. We could
establish a wait condition like checking ports of the machine
but a static sleep seemed like a simpler and still reliable solution.
The port list definition for
check_portforward
needs to containthe host interface, not the VM interface. Therefore, pass the parameter
and remove the unused vm_iface.