On 11/17/20 11:07 AM, Jason Gunthorpe wrote: > On Tue, Nov 17, 2020 at 10:37:18AM -0600, Tom Lendacky wrote: > >>> Ideally it won't, but trapping through QEMU is a common debugging >>> technique and required if we implement virtualization quirks for a >>> device in QEMU. So I believe what you're saying is that device >>> assignment on SEV probably works only when we're using direct mapping >>> of the mmap into the VM and tracing or quirks would currently see >>> encrypted data. Has anyone had the opportunity to check that we don't >>> break device assignment to VMs with this patch? Thanks, >> >> I have not been able to test device assignment with this patch, yet. Jason? > > I don't have SME systems, we have a customer that reported RDMA didn't > work and confirmed the similar RDMA patch worked. Right, I think Alex was asking about device assignment to a guest in general, regardless of SME. Thanks, Tom > > I know VFIO is basically identical, so it should be applicable here > too. > > Jasnon >