Re: [PATCH RFC 15/15] pci/arm: Add pci-testdev PCI device operation test

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

 



On Tue, May 31, 2016 at 10:13:25PM +0200, Alexander Gordeev wrote:
> On Mon, May 30, 2016 at 08:15:11AM +0200, Andrew Jones wrote:
> > > int main(void)
> > > {
> > > 	int ret = pci_probe();
> > > 
> > > 	report("PCI bus probing", ret);
> > > 	if (!ret)
> > > 		goto done;
> > > 
> > > 	pci_print();
> 
> Would you like to make this dump optional?
> I.e. with --verbose command line argument?

Not sure yet. We can change it later.

> 
> > > 	if (pci_find_dev(PCI_VENDOR_ID_REDHAT,
> > > 			 PCI_DEVICE_ID_REDHAT_TEST) == PCIDEVADDR_INVALID)
> > > 		goto done;
> > > 
> > > 	ret = pci_testdev();
> > > 	report("PCI test device passed %d tests",
> > > 		ret >= PCI_TESTDEV_NUM_BARS * PCI_TESTDEV_NUM_TESTS, ret);
> > > 
> > > done:
> > > 	return report_summary();
> > > }
> > 
> > Yup, that's fine.
> > 
> > drew
> --
> 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
--
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