Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

plat/volume: Set volume driver to Enum instance#72

Merged
razvand merged 1 commit intounikraft:stagingfrom
cs-pub-ro:use-volume-driver-as-enum
Mar 17, 2022
Merged

plat/volume: Set volume driver to Enum instance#72
razvand merged 1 commit intounikraft:stagingfrom
cs-pub-ro:use-volume-driver-as-enum

Conversation

@razvand
Copy link
Contributor

@razvand razvand commented Aug 25, 2021

Checks for drivers are made against VolumeDriver Enum instances. Update the implementation of Volume class to use VolumeDriver Enum instances for the _driver member of the class.

In turn, this fixes issue #71 on mounting 9PFS filesystems.

@razvand razvand added the area/plat Relating to interacton with Unikraft platform (`plat-*). label Aug 25, 2021
@razvand razvand requested a review from nderjung August 25, 2021 08:57
@razvand razvand linked an issue Nov 27, 2021 that may be closed by this pull request
Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

Looks good, fixed issue #71 for me.

OS: Ubuntu 20.04.1
kraft staging version 0.5.0.dev477

Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com

@nderjung
Copy link
Member

nderjung commented Jan 8, 2022

Hi @razvand, this PR needs to be rebased before it can be merged :)

Checks for drivers are made against `VolumeDriver` Enum instances. Update
the implementation of `Volume` class to use `VolumeDriver` Enum instances
for the `_driver` member of the class.

In turn, this fixes issue unikraft#71 on mounting 9PFS filesystems.

Signed-off-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
@razvand razvand force-pushed the use-volume-driver-as-enum branch from 951c412 to b292ddc Compare January 22, 2022 10:20
@razvand
Copy link
Contributor Author

razvand commented Jan 22, 2022

@nderjung , fixed. This is now rebased and ready to be merged. It will save quite a bit of headaches.

@razvand
Copy link
Contributor Author

razvand commented Feb 28, 2022

@nderjung , reminder to have this fix merged if it's OK with you. @StefanJum reviewed it. I can merge it myself.

@razvand razvand assigned razvand and unassigned nderjung Mar 17, 2022
@razvand razvand merged commit 40aee1a into unikraft:staging Mar 17, 2022
@razvand razvand deleted the use-volume-driver-as-enum branch March 17, 2022 07:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/plat Relating to interacton with Unikraft platform (`plat-*).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9pfs mounting doesn't work with kraft run

3 participants