RE: [PATCH] PCI: hv: Replace retarget_msi_interrupt_params with hyperv_pcpu_input_arg

From: Dexuan Cui
Date: Thu Apr 20 2023 - 21:36:54 EST


> From: Wei Liu <wei.liu@xxxxxxxxxx>
> Sent: Wednesday, April 12, 2023 6:42 PM
> > > ...
> > > The change here is required for PCI device assignment to work for
> > > Confidential VMs (CVMs), because otherwise we would have to call
> > > set_memory_decrypted() for "hbus->retarget_msi_interrupt_params"
> > > before calling the hypercall HVCALL_RETARGET_INTERRUPT.
> >
> > Well, not all CVMs. It's not required for SEV-SNP vTOM VMs on
> > Hyper-V because of the paravisor. Is it more accurate to say
> > "for Confidential VMs (CVMs) running without a paravisor"?
>
> Let me know how this text should be reworded.

Thanks, I just posted v2:
https://lwn.net/ml/linux-kernel/20230421013025.17152-1-decui%40microsoft.com/