Re: [PATCH v4] IOMMU/x86: disallow device assignment to PoD guests

2022-04-11 Thread Jan Beulich
On 11.04.2022 12:29, Roger Pau Monné wrote: > On Mon, Apr 11, 2022 at 11:47:46AM +0200, Jan Beulich wrote: >> While it is okay for IOMMU page tables to be set up for guests starting >> in PoD mode, actual device assignment may only occur once all PoD >> entries have been removed from the P2M. So fa

Re: [PATCH v4] IOMMU/x86: disallow device assignment to PoD guests

2022-04-11 Thread Roger Pau Monné
On Mon, Apr 11, 2022 at 11:47:46AM +0200, Jan Beulich wrote: > While it is okay for IOMMU page tables to be set up for guests starting > in PoD mode, actual device assignment may only occur once all PoD > entries have been removed from the P2M. So far this was enforced only > for boot-time assignme

[PATCH v4] IOMMU/x86: disallow device assignment to PoD guests

2022-04-11 Thread Jan Beulich
While it is okay for IOMMU page tables to be set up for guests starting in PoD mode, actual device assignment may only occur once all PoD entries have been removed from the P2M. So far this was enforced only for boot-time assignment, and only in the tool stack. Also use the new function to replace