Re: [libvirt PATCH] nodedev: Handle inactive mdevs with the same UUID

2021-07-22 Thread Jonathon Jongsma
On Thu, Jul 8, 2021 at 4:28 PM Jonathon Jongsma wrote: > > On Thu, Jul 8, 2021 at 3:47 PM Boris Fiuczynski wrote: > > > > On 7/6/21 9:05 PM, Jonathon Jongsma wrote: > > > Unfortunately, mdevctl supports defining more than one mdev with the > > > same UUID as long as they have different parent

Re: [libvirt PATCH] nodedev: Handle inactive mdevs with the same UUID

2021-07-08 Thread Jonathon Jongsma
On Thu, Jul 8, 2021 at 3:47 PM Boris Fiuczynski wrote: > > On 7/6/21 9:05 PM, Jonathon Jongsma wrote: > > Unfortunately, mdevctl supports defining more than one mdev with the > > same UUID as long as they have different parent devices. So we can't use > > the UUID alone as a way to uniquely

Re: [libvirt PATCH] nodedev: Handle inactive mdevs with the same UUID

2021-07-08 Thread Boris Fiuczynski
On 7/6/21 9:05 PM, Jonathon Jongsma wrote: Unfortunately, mdevctl supports defining more than one mdev with the same UUID as long as they have different parent devices. So we can't use the UUID alone as a way to uniquely identify these node devices. Append the parent name to ensure uniqueness.

[libvirt PATCH] nodedev: Handle inactive mdevs with the same UUID

2021-07-06 Thread Jonathon Jongsma
Unfortunately, mdevctl supports defining more than one mdev with the same UUID as long as they have different parent devices. So we can't use the UUID alone as a way to uniquely identify these node devices. Append the parent name to ensure uniqueness. For example: Before: