Skip to content

FriendlyName does not correctly identify a device in case of multi GPU hosts that have multiple identically named devices #12

Description

@DavidFV2296190

Both devices are identical but have different DevicePath. Relying only on FriendlyName will result in the script always partitioning the device that has the lowest device path; in this case ...0009 is always partitioned and the device with path ...0013 is never partitioned

Name       : \\?\PCI#VEN_10DE&DEV_2705&SUBSYS_413C1458&REV_A1#4&1babdf5b&0&0009#{064092b3-625e-43bf-9eb5-dc845897dd59}\GPUPARAV
DevicePath : \\MULTIGPU-HOST\ROOT\virtualization\v2:Msvm_PartitionableGpu.CreationClassName="Msvm_PartitionableGpu",Name="\\\\?\\PCI#VEN_10DE&DEV_2705&SUBSYS_413C1458&REV_A1#4&1babdf5b&0&0009#{064092b3-625e-43bf-9eb5-dc845897dd59}\\GP
UPARAV"
Name       : \\?\PCI#VEN_10DE&DEV_2705&SUBSYS_413C1458&REV_A1#4&1babdf5b&0&0013#{064092b3-625e-43bf-9eb5-dc845897dd59}\GPUPARAV
DevicePath : \\MULTIGPU-HOST\ROOT\virtualization\v2:Msvm_PartitionableGpu.CreationClassName="Msvm_PartitionableGpu",Name="\\\\?\\PCI#VEN_10DE&DEV_2705&SUBSYS_413C1458&REV_A1#4&1babdf5b&0&0013#{064092b3-625e-43bf-9eb5-dc845897dd59}\\GP
UPARAV"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions