Re: [PATCH] fuse: mark DAX VMA page protections as decrypted
"Gupta, Pankaj" <[email protected]>
| Newsgroups | dev.linux.lists.linux-coco,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
>> >> I started testing this on my AMD system with QEMU and am still working >> through the configuration details. >> >> Did you happen to test this with QEMU under SEV or SEV-SNP as well? If so, >> would you mind sharing your setup steps or >> >> the QEMU/virtio-fs configuration you used? >> >> >> The error I am facing is: device 'vhost-user-fs-pci' does not support >> ACCESS_PLATFORM when it is enabled. >> >> But under SEV-SNP ACCESS_PLATFORM(iommu_platform) is globally enabled and >> when I manually disable it, guest says: >> >> [ 8.788217] virtiofs virtio0: device must provide >> VIRTIO_F_ACCESS_PLATFORM > I'm not sure what the real solution should be for this, but does this > hack for QEMU avoid the error? > > https://github.com/AMDESE/qemu/commit/63f103e35f5f3735d10f7618584bd8bb208e2c28 Mike, Yes, this hack avoids the error, and I was able to get virtio-fs working with it. Thanks for sharing the patch! Best regards, Pankaj