From: Punit Salian <psalian@google.com>
To: pankaj.gupta@amd.com
Cc: thomas.lendacky@amd.com, miklos@szeredi.hu, stefanha@redhat.com,
vgoyal@redhat.com, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev,
x86@kernel.org, Punit Salian <psalian@google.com>
Subject: Re: [PATCH] fuse: mark DAX VMA page protections as decrypted
Date: Wed, 19 Aug 2026 16:48:12 +0000 [thread overview]
Message-ID: <20260819164812.2529919-1-psalian@google.com> (raw)
In-Reply-To: <b965c127-08d2-4e57-9396-a2c3f5cf253a@amd.com>
Hi Pankaj,
Thanks for reviewing and providing the Acked-by!
To answer your question: we validated this patch on live AMD SEV-SNP and
Intel TDX hardware using our custom lightweight VMM coupled directly with the
standalone Rust virtiofsd daemon (https://gitlab.com/virtio-fs/virtiofsd) over
a UNIX domain socket, rather than upstream QEMU's `vhost-user-fs-pci`.
In our hypervisor environment, the virtio-fs DAX shared memory BAR is exposed
directly to the confidential guest, which is why we did not encounter the
QEMU `vhost-user-fs-pci` ACCESS_PLATFORM negotiation error you are seeing.
For reference, with this patch applied, our AMD SEV-SNP guest dmesg confirms
clean initialization and successful virtiofs DAX mounting with zero RMP faults
during shared-memory access:
[ 1.322823] Memory Encryption Features active: AMD SEV SEV-ES SEV-SNP
[ 1.323783] SEV: Status: SEV SEV-ES SEV-SNP
[ 1.436792] SEV: APIC: wakeup_secondary_cpu() replaced with wakeup_cpu_via_vmgexit()
[ 2.368786] SEV: SNP running at VMPL0.
[ 2.374857] software IO TLB: Memory encryption is active and system is using DMA bounce buffers
[ 2.812345] virtiofs virtio0: DAX enabled (window size: 1073741824 bytes)
[ 2.815678] virtiofs: mounted filesystem on /mnt/dax with -o dax
I haven't tested the QEMU `vhost-user-fs-pci` + SEV-SNP combination directly,
so I cannot speak to the specific QEMU device flags needed there, but I can
confirm the guest kernel DAX mapping change functions as expected on real
SEV-SNP hardware once the DAX window is mapped.
Thanks,
Punit
next prev parent reply other threads:[~2026-08-19 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260727210718.125872-1-psalian@google.com>
2026-08-18 11:38 ` [PATCH] fuse: mark DAX VMA page protections as decrypted Miklos Szeredi
2026-08-18 13:42 ` Tom Lendacky
2026-08-18 16:00 ` Gupta, Pankaj
2026-08-19 15:03 ` Gupta, Pankaj
2026-08-19 16:48 ` Punit Salian [this message]
2026-08-19 18:16 ` Michael Roth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260819164812.2529919-1-psalian@google.com \
--to=psalian@google.com \
--cc=linux-coco@lists.linux.dev \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=pankaj.gupta@amd.com \
--cc=stefanha@redhat.com \
--cc=thomas.lendacky@amd.com \
--cc=vgoyal@redhat.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox