-
Notifications
You must be signed in to change notification settings - Fork 285
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
Add 9pfs
backend to vbds
#4561
Add 9pfs
backend to vbds
#4561
Conversation
0c91770
to
e063048
Compare
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.
This looks good to me. Unless we add a lot more backend types I thinks it's fine to stick with strings and lists to to represent them.
This allow to use a file path towards a folder instead of a VHD Signed-off-by: BenjiReis <benjamin.reis@vates.fr> Co-authored-by: Ronan Abhamon <ronan.abhamon@vates.fr>
e063048
to
2d21000
Compare
Hi! Since it has been validated a long time, can a 2nd person take a look at this to validate/ask for change? :) Thanks |
@@ -329,6 +329,8 @@ let params_of_backend backend = | |||
(path, []) | |||
| _, _, {uri} :: _, xendisk :: _ -> | |||
(uri, [("qemu-params", xendisk.Storage_interface.params)]) | |||
| _, _, _, xendisk :: _ -> | |||
("", [("qemu-params", xendisk.Storage_interface.params)]) |
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.
Why is the URI replaced by the empty string?
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.
No support for spawning nbd I assume, because this is a filesystem, and NOT a block device.
This allow to use a file path towards a folder instead of a VHD
Signed-off-by: BenjiReis benjamin.reis@vates.fr