Re: [PATCH v3 14/17] iommufd/selftest: Test iommufd_device_replace()

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

 



On Thu, Mar 23, 2023 at 07:57:34AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Sent: Wednesday, March 22, 2023 3:15 AM
> > 
> > From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > 
> > Allow the selftest to call the function on the mock idev, add some tests
> > to exercise it.
> > 
> > Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> 
> Miss your s-o-b
> 
> > +
> > +	test_cmd_mock_domain_replace(self->stdev_ids[0], ioas_id);
> > +	if (variant->mock_domains >= 2) {
> > +		test_cmd_mock_domain_replace(self->stdev_ids[0],
> > +					     self->hwpt_ids[1]);
> > +		test_cmd_mock_domain_replace(self->stdev_ids[0],
> > +					     self->hwpt_ids[1]);
>
> Duplicated or intended?

Intended, it tests replacing with the same hwpt

Jason



[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