Skip to content
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

utils_disk/libvirt_disk: add way to handle disk by path #3729

Merged

Commits on Sep 4, 2023

  1. 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]>
    smitterl committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    d303afb View commit details
    Browse the repository at this point in the history