Re: [PATCH v3 00/10] Add Intel VT-d nested translation

From: Jason Gunthorpe
Date: Wed Jun 14 2023 - 07:53:01 EST


On Wed, Jun 14, 2023 at 08:07:30AM +0000, Tian, Kevin wrote:

> think of a scenario where the vbios memory is shared by multiple qemu
> instances then RW allows a malicious VM to modify the shared content
> then potentially attacking other VMs.

qemu would have to map the vbios as MAP_PRIVATE WRITE before the iommu
side could map it writable, so this is not a real worry.

Jason