mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
KVM: x86: document behavior of measurement ioctls with len==0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bf1e15a82e
commit
c265878fcb
1 changed files with 6 additions and 0 deletions
|
@ -148,6 +148,9 @@ measurement. Since the guest owner knows the initial contents of the guest at
|
||||||
boot, the measurement can be verified by comparing it to what the guest owner
|
boot, the measurement can be verified by comparing it to what the guest owner
|
||||||
expects.
|
expects.
|
||||||
|
|
||||||
|
If len is zero on entry, the measurement blob length is written to len and
|
||||||
|
uaddr is unused.
|
||||||
|
|
||||||
Parameters (in): struct kvm_sev_launch_measure
|
Parameters (in): struct kvm_sev_launch_measure
|
||||||
|
|
||||||
Returns: 0 on success, -negative on error
|
Returns: 0 on success, -negative on error
|
||||||
|
@ -271,6 +274,9 @@ report containing the SHA-256 digest of the guest memory and VMSA passed through
|
||||||
commands and signed with the PEK. The digest returned by the command should match the digest
|
commands and signed with the PEK. The digest returned by the command should match the digest
|
||||||
used by the guest owner with the KVM_SEV_LAUNCH_MEASURE.
|
used by the guest owner with the KVM_SEV_LAUNCH_MEASURE.
|
||||||
|
|
||||||
|
If len is zero on entry, the measurement blob length is written to len and
|
||||||
|
uaddr is unused.
|
||||||
|
|
||||||
Parameters (in): struct kvm_sev_attestation
|
Parameters (in): struct kvm_sev_attestation
|
||||||
|
|
||||||
Returns: 0 on success, -negative on error
|
Returns: 0 on success, -negative on error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue