forked from kata-containers/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mount: Virtio-blk container rootfs mount for ACRN hypervisor
For block devices added by acrn, virtpath is directly udpated in storage.source and so no scanning of PCIAddr is required. This is because, the virtio-blk device is not hot-plugged but added during VM launch and updated later with container rootfs using block rescan feature. v2->v3: 1. Addressed weak match for checking storage block device. 2. Added device check for storage block device. 3. Added negative unit tests for the new code. v1->v2: gofmt'd the mount file. Fixes: kata-containers#573 Signed-off-by: Vijay Dhanraj <[email protected]>
- Loading branch information
1 parent
4d55184
commit 9b59925
Showing
2 changed files
with
45 additions
and
6 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