Skip to content
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

Guest vs host features check #4884

Merged

Conversation

ShadowCurse
Copy link
Contributor

@ShadowCurse ShadowCurse commented Oct 30, 2024

Changes

Add tests comparing host and guest default cpu features.

Reason

We want to know what is the difference between cpu features on the host and in the guest.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.10%. Comparing base (3e629eb) to head (986c755).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4884   +/-   ##
=======================================
  Coverage   84.10%   84.10%           
=======================================
  Files         251      251           
  Lines       28080    28080           
=======================================
  Hits        23616    23616           
  Misses       4464     4464           
Flag Coverage Δ
5.10-c5n.metal 84.67% <ø> (ø)
5.10-m5n.metal 84.66% <ø> (+<0.01%) ⬆️
5.10-m6a.metal 83.96% <ø> (-0.01%) ⬇️
5.10-m6g.metal 80.78% <ø> (ø)
5.10-m6i.metal 84.65% <ø> (ø)
5.10-m7g.metal 80.78% <ø> (ø)
6.1-c5n.metal 84.67% <ø> (ø)
6.1-m5n.metal 84.65% <ø> (ø)
6.1-m6a.metal 83.96% <ø> (ø)
6.1-m6g.metal 80.78% <ø> (ø)
6.1-m6i.metal 84.65% <ø> (-0.01%) ⬇️
6.1-m7g.metal 80.78% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch 6 times, most recently from 64c7e72 to e81248e Compare October 31, 2024 13:09
@ShadowCurse ShadowCurse changed the title Guest host features check Guest vs host features check for aarch64 Oct 31, 2024
@ShadowCurse ShadowCurse marked this pull request as ready for review October 31, 2024 13:20
@ShadowCurse ShadowCurse self-assigned this Oct 31, 2024
@ShadowCurse ShadowCurse added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Oct 31, 2024
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch from e81248e to 41b2748 Compare October 31, 2024 13:26
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch from 41b2748 to e813c62 Compare October 31, 2024 15:24
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch 2 times, most recently from 9593771 to 6ce3d2b Compare November 1, 2024 14:43
@ShadowCurse ShadowCurse changed the title Guest vs host features check for aarch64 Guest vs host features check Nov 1, 2024
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch 6 times, most recently from 8858049 to c4ff6f8 Compare November 4, 2024 09:55
@ShadowCurse ShadowCurse requested review from kalyazin and pb8o November 4, 2024 10:28
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch from c4ff6f8 to e280ddb Compare November 4, 2024 13:43
Add test comparing host and guest default cpu features.

Signed-off-by: Egor Lazarchuk <[email protected]>
Add test comparing host and guest default cpu features.

Signed-off-by: Egor Lazarchuk <[email protected]>
Add `_x86_64` to the file name be consistent with aarch64 version.

Signed-off-by: Egor Lazarchuk <[email protected]>
@ShadowCurse ShadowCurse force-pushed the guest_host_features_check branch from e280ddb to 986c755 Compare November 4, 2024 18:04
@ShadowCurse ShadowCurse requested a review from pb8o November 5, 2024 11:49
@ShadowCurse ShadowCurse merged commit 3fc184e into firecracker-microvm:main Nov 6, 2024
7 checks passed
@ShadowCurse ShadowCurse deleted the guest_host_features_check branch November 6, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting review Indicates that a pull request is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants