diff options
| author | Michael Roth <michael.roth@amd.com> | 2026-01-08 15:46:20 -0600 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-15 12:31:16 -0800 |
| commit | dcbcc2323c806b55939d765c13d0728421756017 (patch) | |
| tree | 7b6bd7b2aac52548c190309aafaaa72b7aa2add1 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 8622ef05709fbc4903f54cdf1ac8c3725e479dd8 (diff) | |
KVM: SEV: Document/enforce page-alignment for KVM_SEV_SNP_LAUNCH_UPDATE
In the past, KVM_SEV_SNP_LAUNCH_UPDATE accepted a non-page-aligned
'uaddr' parameter to copy data from, but continuing to support this with
new functionality like in-place conversion and hugepages in the pipeline
has proven to be more trouble than it is worth, since there are no known
users that have been identified who use a non-page-aligned 'uaddr'
parameter.
Rather than locking guest_memfd into continuing to support this, go
ahead and document page-alignment as a requirement and begin enforcing
this in the handling function.
Reviewed-by: Vishal Annapurve <vannapurve@google.com>
Tested-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Link: https://patch.msgid.link/20260108214622.1084057-5-michael.roth@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
