On Thu, May 14, 2026 at 06:18:05PM +0530, Aneesh Kumar K.V wrote: > > There is no problem with non-protected guests as they don't use memory > > encryption, my initial thought was that th encrpyted/decrypted is > > per-pool property which is decided by FW (device-tree). > > What I meant was that we need a generic way to identify a pKVM guest, so > that we can use it in the conditional above.
If I understood Mostafa's remarks I think different devices in the guest need shared/decrypted and some don't? Ie a virtio hypervisor device needs shared while a real PCI device doesn't? Is that right? In CC terms that would be a mixture of T=0 and T=1 devices hardwired and signaled by firwmare.. Ideally we'd have a flow where if the arch precreates a swiotlb pool with special parameters this overrides all other decision making. Then this series is about making CC NOT use that flow... ?? Jason
