> -----Original Message----- > From: Cédric Le Goater <[email protected]> > Sent: 11 December 2025 14:40 > To: Shameer Kolothum <[email protected]>; qemu- > [email protected]; [email protected] > Cc: [email protected]; [email protected]; Jason Gunthorpe > <[email protected]>; Nicolin Chen <[email protected]>; > [email protected]; [email protected]; Nathan Chen > <[email protected]>; Matt Ochs <[email protected]>; > [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > Krishnakant Jaju <[email protected]>; Michael S . Tsirkin <[email protected]> > Subject: Re: [PATCH v6 08/33] hw/pci/pci: Add optional > supports_address_space() callback > > External email: Use caution opening links or attachments > > > Hello, > > On 11/20/25 14:21, Shameer Kolothum wrote: > > Introduce an optional supports_address_space() callback in PCIIOMMUOps > > to allow a vIOMMU implementation to reject devices that should not be > > attached to it. > > Why can't we use the existing .set_iommu_device() op instead ?
Because it is called a bit later after the mandatory get_address_space() callback during pci dev registration. And would like to fail the dev registration before that. Thanks, Shameer
