Re: [libvirt PATCH v2 2/3] nodedev: refactor virMediatedDeviceGetIOMMUGroupNum()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 14, 2021 at 03:54:48PM -0500, Jonathon Jongsma wrote:
> Currently virMediatedDeviceGetIOMMUGroupDev() looks up the iommu group
> number and uses that to construct a path to the iommu group device.
> virMediatedDeviceGetIOMMUGroupNum() then uses that device path and takes
> the basename to get the group number. That's unnecessary extra string
> manipulation for *GroupNum(). Reverse the implementations and make
> *GroupDev() call *GroupNum().
> 
> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> Reviewed-by: Laine Stump <laine@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux