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

[DRAFT WORK IN PROGRESS] Adding VirtioFS #995

Draft
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

steve-fraser
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for flintlock-docs ready!

Name Link
🔨 Latest commit 62ed850
🔍 Latest deploy log https://app.netlify.com/sites/flintlock-docs/deploys/677bfdb2848b480008def027
😎 Deploy Preview https://deploy-preview-995--flintlock-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

Great work @steve-fraser 🎉 Please don't be put off by the number of comments. Let me know if i can help with anything.

if mvm.Spec.RootVolume.Source.VirtioFS != nil {
return nil, fmt.Errorf("VirtioFS is not available yet for RootVolume")
}
if len(mvm.Spec.AdditionalVolumes) > 0 {
Copy link
Member

Choose a reason for hiding this comment

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

Its probably worth checking as well that if volume.Source.VirtioFS is specified that the microvm provider has the capability.

core/application/commands.go Outdated Show resolved Hide resolved
core/application/commands.go Outdated Show resolved Hide resolved
core/application/commands.go Outdated Show resolved Hide resolved
core/plans/microvm_create_update.go Show resolved Hide resolved
core/steps/runtime/virtiofs.go Outdated Show resolved Hide resolved
infrastructure/microvm/cloudhypervisor/create.go Outdated Show resolved Hide resolved
infrastructure/microvm/cloudhypervisor/create.go Outdated Show resolved Hide resolved
infrastructure/virtiofs/virtiofs.go Show resolved Hide resolved
Copy link
Member

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

This is looking great. I think having the port and adapter is a great addition.

core/models/microvm.go Show resolved Hide resolved
core/models/volumes.go Show resolved Hide resolved
core/models/volumes.go Show resolved Hide resolved
core/ports/services.go Outdated Show resolved Hide resolved
core/ports/services.go Outdated Show resolved Hide resolved
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