# Re: \[PATCH v5 12/16\] PCI: Add pci\_iomap\_host\_shared(), pci\_iomap\_host\_shared\_range()

- From: Michael S. Tsirkin \<mst@redhat.com\>
- Date: 2021-10-12 21:19:09 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/10/1539523
- Thread: https://ratatoskr.run/linux-pci/2021/10/1535998/t.md

```text
On Tue, Oct 12, 2021 at 02:14:44PM -0700, Dan Williams wrote:
> Especially in this case where the virtio use case being
> opted-in is *already* in a path that has been authorized by the
> device-filter policy engine.

That's a good point. Andi, how about setting a per-device flag
if its ID has been allowed and then making pci_iomap create
a shared mapping transparently?

-- 
MST

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
