Re: [libvirt PATCH] nodedev: report mdev persistence properly

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

 



On 7/18/23 21:55, Jonathon Jongsma wrote:
> Since commit 44a0f2f0, we now query mdevctl for transient (active) mdevs
> in order to gather attributes for the mdev. Unfortunately, this commit
> introduced a regression because nodeDeviceUpdateMediatedDevice() assumed
> that all mdevs returned from mdevctl were actually persistent mdevs but
> we were using it to update transient mdevs. Refactor the function so
> that we can use it to update both persistent and transient mdevs.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> ---
>  src/node_device/node_device_driver.c | 21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[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