KVM: fix documentation for KVM_CREATE_GUEST_MEMFD
authorCarlos López <clopez@suse.de>
Wed, 24 Apr 2024 10:33:16 +0000 (12:33 +0200)
committerSean Christopherson <seanjc@google.com>
Fri, 3 May 2024 22:11:23 +0000 (15:11 -0700)
commit2098acaf24455698c149b27f0347eb4ddc6d2058
tree9c9309d82d3f25027da00cecc4f544bf688c7bf9
parent82e9c84d8712e8d29278a37aaa9aa767d50a16da
KVM: fix documentation for KVM_CREATE_GUEST_MEMFD

The KVM_CREATE_GUEST_MEMFD ioctl returns a file descriptor, and is
documented as such in the description. However, the "Returns" field
in the documentation states that the ioctl returns 0 on success.
Update this to match the description.

Signed-off-by: Carlos López <clopez@suse.de>
Fixes: a7800aa80ea4 ("KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory")
Link: https://lore.kernel.org/r/20240424103317.28522-1-clopez@suse.de
Signed-off-by: Sean Christopherson <seanjc@google.com>
Documentation/virt/kvm/api.rst