Re: [PATCH v2 3/9] hostdev: Use common reattach code in virHostdevPCINodeDeviceReAttach()

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

 



On Tue, 2016-01-26 at 18:56 -0500, John Ferlan wrote:
> > +/**
> > + * virHostdevPCINodeDeviceReAttach:
> 
> ^^ Oy ReAttach vs. Reattach is an eye test ;-)

Maybe we should standardize on either one or the other? I personally
consider "ReAttach" to be quite an eyesore, but then again it's all
over the public API so it's not going anywhere...

> > + * @hostdev_mgr: hostdev manager
> > + * @pci: PCI device
> 
> Perhaps better to indicate a "new"ly generated PCI device that does not
> track the internal reattach states and other state information such as
> the stub driver.
> 
> IOW: this is not a copy of an [in]activePCIHostdevs element

Great idea! Maybe even use a different name for the parameter, based
on whether the virPCIDevicePtr is going to be used for something other
than looking up the actual device?

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]