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
Draft
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7c40b67
initial virtiofs support testing
steve-fraser Oct 10, 2024
fcb85af
increase queue size
steve-fraser Oct 10, 2024
23e2bb1
update path and tag
steve-fraser Oct 11, 2024
1189f9a
change cache mode to none
steve-fraser Oct 16, 2024
020eb5f
adding announce sub mounts
steve-fraser Oct 16, 2024
7b983a3
set more params to hopfully fix
steve-fraser Oct 16, 2024
70a942c
remove xattr and adding announce
steve-fraser Oct 16, 2024
b2d6f3f
adding deletion
steve-fraser Dec 23, 2024
ccc011d
remove virtiofs exit condition
steve-fraser Dec 23, 2024
5296f93
adding virtiofsd bin arg
steve-fraser Dec 23, 2024
7afe90e
adding proto
steve-fraser Dec 26, 2024
d46a049
updating go version for gen
steve-fraser Dec 26, 2024
02a6688
adding generation and vol convertion
steve-fraser Dec 26, 2024
317c031
adding virtiofs to capabilities and convert
steve-fraser Dec 26, 2024
05913fe
fix convert
steve-fraser Dec 26, 2024
d2065f7
adding check for rootfs
steve-fraser Dec 26, 2024
6ccb30e
adding validation for virtiofs
steve-fraser Dec 26, 2024
408afb9
finish initial
steve-fraser Dec 27, 2024
87e2388
testing
steve-fraser Dec 27, 2024
f165fdd
reimplement framework
steve-fraser Dec 29, 2024
c1ce99b
changing var
steve-fraser Dec 29, 2024
dc8d468
move to custom validator for no rootfs virtiofs
steve-fraser Dec 29, 2024
aa2f3b4
moving the rest of the validation to field level
steve-fraser Dec 29, 2024
8f8e04e
remove extra if statement
steve-fraser Dec 29, 2024
98661f5
finish new structure (added virtiofs state)
steve-fraser Dec 30, 2024
5daf467
adding flag back to for virtiofs
steve-fraser Dec 30, 2024
b0ba078
fix tests
steve-fraser Dec 30, 2024
e410f2e
adding creation call for tests
steve-fraser Dec 30, 2024
7b63c75
fixing state dir for virtiofs
steve-fraser Jan 5, 2025
55aa5c3
fix tests and push working prototype
steve-fraser Jan 5, 2025
f3e5f3a
Update core/ports/services.go
steve-fraser Jan 5, 2025
5c77bff
adding inital delete step
steve-fraser Jan 5, 2025
744f322
adding virtiofs capability check
steve-fraser Jan 6, 2025
9d22d0d
moving shared memory under virtiofs
steve-fraser Jan 6, 2025
89bdf19
adding error checking for virtiofs
steve-fraser Jan 6, 2025
62ed850
Merge branch 'main' into main
steve-fraser Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/liquidmetal-dev/flintlock/api

go 1.17
go 1.18

require (
github.com/containerd/typeurl/v2 v2.1.0
Expand Down
184 changes: 35 additions & 149 deletions api/services/microvm/v1alpha1/microvms.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion api/services/microvm/v1alpha1/microvms.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion api/services/microvm/v1alpha1/microvms.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,11 @@
"properties": {
"containerSource": {
"type": "string",
"description": "Container is used to specify a source of a volume as a OCI container.\n\nTODO: add CSI"
"description": "Container is used to specify a source of a volume as a OCI container."
},
"virtiofsSource": {
"type": "string",
"title": "Used for the virtiofs source path"
}
},
"description": "VolumeSource is the source of a volume. Based loosely on the volumes in Kubernetes Pod specs."
Expand Down
Loading
Loading