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

chore(devctr): add qemu vhost-user-blk backend #4167

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

kalyazin
Copy link
Contributor

Changes

Builds the backend from source at the devctr build time and installs the binary at /usr/local/bin/vhost-user-blk .
This also installs a runtime dependency: libglib2.0-dev .
Increases the image size by about 80M.

Reason

Required for vhost-user-blk device testing.

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.

@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (93a3194) 82.98% compared to head (f2af5fa) 82.98%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4167   +/-   ##
=======================================
  Coverage   82.98%   82.98%           
=======================================
  Files         223      223           
  Lines       28508    28508           
=======================================
  Hits        23656    23656           
  Misses       4852     4852           
Flag Coverage Δ
4.14-c7g.metal 78.51% <ø> (ø)
4.14-m5d.metal 80.32% <ø> (-0.02%) ⬇️
4.14-m6a.metal 79.45% <ø> (ø)
4.14-m6g.metal 78.51% <ø> (ø)
4.14-m6i.metal 80.30% <ø> (ø)
5.10-c7g.metal 81.44% <ø> (ø)
5.10-m5d.metal 83.00% <ø> (-0.02%) ⬇️
5.10-m6a.metal 82.24% <ø> (ø)
5.10-m6g.metal 81.44% <ø> (ø)
5.10-m6i.metal 82.99% <ø> (ø)
6.1-c7g.metal 81.44% <ø> (ø)
6.1-m5d.metal 83.00% <ø> (ø)
6.1-m6a.metal 82.24% <ø> (ø)
6.1-m6g.metal 81.44% <ø> (ø)
6.1-m6i.metal 82.99% <ø> (ø)

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.

@kalyazin kalyazin force-pushed the backend_v2 branch 2 times, most recently from 0ea7594 to 85e04a6 Compare October 11, 2023 11:59
@kalyazin kalyazin marked this pull request as ready for review October 11, 2023 12:06
@kalyazin kalyazin added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Oct 11, 2023
tools/devctr/Dockerfile Outdated Show resolved Hide resolved
tools/devctr/Dockerfile Outdated Show resolved Hide resolved
roypat
roypat previously approved these changes Oct 11, 2023
Copy link
Contributor

@roypat roypat left a comment

Choose a reason for hiding this comment

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

mdl strikes again, I see

pb8o
pb8o previously approved these changes Oct 11, 2023
Builds the backend from source at the devctr build time
and installs the binary at /usr/local/bin/vhost-user-blk .

This also installs a runtime dependency: libglib2.0-dev .

Increases the image size by about 80M.

Signed-off-by: Nikita Kalyazin <[email protected]>
The new warnings are likely caused by the devctr update.

Signed-off-by: Nikita Kalyazin <[email protected]>
@kalyazin kalyazin dismissed stale reviews from pb8o and roypat via f2af5fa October 11, 2023 16:11
@kalyazin kalyazin merged commit dedd2d7 into firecracker-microvm:main Oct 11, 2023
5 checks passed
@kalyazin kalyazin deleted the backend_v2 branch October 11, 2023 21:07
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.

5 participants