-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils_disk/libvirt_disk: add way to handle disk by path
Partitions in /proc/partitions are not persistent which can lead to problems when a test checks if a disk was cold plugged. Use persistent naming from /dev/disk/by-path which allows us to easily identify those disks and partitions with the attached disk by their libvirt <address/>. Add and update other functions to be compatible with this way of dealing with partitions. Signed-off-by: Sebastian Mitterle <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 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