[libvirt] [PATCH v1 02/31] virHostdevReAttachPCIDevices: Separate out function body

Peter Krempa pkrempa at redhat.com
Tue Jul 16 11:58:05 UTC 2019


On Thu, Jul 11, 2019 at 17:53:49 +0200, Michal Privoznik wrote:
> In near future we will have a list of PCI devices we want to
> re-attach to the host (held in virPCIDeviceListPtr) but we don't
> have virDomainHostdevDefPtr. That's okay because
> virHostdevReAttachPCIDevices() works with virPCIDeviceListPtr
> mostly anyway. And in very few places where it needs
> virDomainHostdevDefPtr are not interesting for our case.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/util/virhostdev.c | 58 +++++++++++++++++++++++++++----------------
>  1 file changed, 37 insertions(+), 21 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190716/3cd2d8ed/attachment-0001.sig>


More information about the libvir-list mailing list