Re: [RFC PATCH 04/33] vfio: selftests: Test basic VFIO and IOMMUFD integration

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

 



On Fri, 23 May 2025 23:29:49 +0000
David Matlack <dmatlack@xxxxxxxxxx> wrote:
> +int main(int argc, char *argv[])
> +{
> +	char *bdf;
> +
> +	if (argc != 2) {
> +		printf("Usage: %s bus:device:function\n", argv[0]);

segment:bus:device.function?

> +		return 1;

1 or KSFT_FAIL?  Thanks,

Alex

> +	}
> +
> +	bdf = argv[1];
> +	set_cdev_path(bdf);
> +	printf("Using cdev device %s\n", cdev_path);
> +
> +	return test_harness_run(1, argv);
> +}





[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