forked from intel/cc-oci-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Add function to check the storage for container rootfs
If a block device is found, we store the device name of the block device found. We also store the file system type and index. We are currently using an incrementing counter for the index. When we add support for CRIO with hot plugging drives, so that containers with block drives can be added after the VM is started, we should store the global index in a file and retrieve it from there. The index is needed to derive the drive name that we pass to qemu. We need to pass the drive name and file system type to hyperstart. Signed-off-by: Archana Shinde <[email protected]>
- Loading branch information
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters