Re: [libvirt PATCH 0/3] Introudce virCommandPassFDIndex

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

 



On Tue, Nov 24, 2020 at 15:02:24 +0100, Ján Tomko wrote:
> Simplify passing file descriptors via add-fd by adding a new
> parameter to virCommandPassFD that returns the index of the passed
> FD right away, removing the need to look it up later and pretend
> to handle errors which cannot happen - we've just put the file
> descriptor there, why would it not be there?
> 
> This should also silence Coverity - in that regard it's an alternative
> to Pavel's patch:
> https://www.redhat.com/archives/libvir-list/2020-November/msg00885.html
> 
> Ján Tomko (3):
>   util: introduce virCommandPassFDIndex
>   qemu: introduce qemuBuildFDSet
>   qemu: use qemuVirCommandGetDevSet less

Reviewed-by: Peter Krempa <pkrempa@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