Re: [PATCH] device-assignment: Don't use libpci

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

 



* Chris Wright (chrisw@xxxxxxxxxx) wrote:
> * Alex Williamson (alex.williamson@xxxxxxxxxx) wrote:
> > We've already got an open fd for PCI config space for the device, we
> > might as well use it.  This also makes sure that if we're making use of
> > a privileged file descriptor opened for us, we use it for all accesses
> > to the device.
> > 
> > Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> 
> Looks good to me.

Hmm, it's not that straight forward.  We still have a build requirement
for libpci.  Not for the library, but the headers.  This leaves the
check for the header, drops the unused pci_dev, and narrows our header
requirement.

thanks,
-chris
> Acked-by: Chris Wright <chrisw@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux