Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst
@ 2026-09-05  9:29 Karl Mehltretter
  2026-09-05 17:20 ` Randy Dunlap
  2026-09-09 14:51 ` Tom Lendacky
  0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-05  9:29 UTC (permalink / raw)
  To: Tom Lendacky
  Cc: Karl Mehltretter, Ashish Kalra, linux-coco, Jonathan Corbet,
	linux-doc, Shuah Khan, Randy Dunlap, Brijesh Singh

struct snp_user_guest_request does not exist; the name is struct
snp_guest_request_ioctl.

Use the real name.

Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 Documentation/virt/coco/sev-guest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/virt/coco/sev-guest.rst b/Documentation/virt/coco/sev-guest.rst
index 93debceb6eb0..3371ebc29e8b 100644
--- a/Documentation/virt/coco/sev-guest.rst
+++ b/Documentation/virt/coco/sev-guest.rst
@@ -38,7 +38,7 @@ along with a description:
       are not detailed, but errors with specific meanings are.
 
 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest
-device.  The ioctl accepts struct snp_user_guest_request. The input and
+device.  The ioctl accepts struct snp_guest_request_ioctl. The input and
 output structure is specified through the req_data and resp_data field
 respectively. If the ioctl fails to execute due to a firmware error, then
 the fw_error code will be set, otherwise fw_error will be set to -1.
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst
  2026-09-05  9:29 [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst Karl Mehltretter
@ 2026-09-05 17:20 ` Randy Dunlap
  2026-09-09 14:51 ` Tom Lendacky
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-05 17:20 UTC (permalink / raw)
  To: Karl Mehltretter, Tom Lendacky
  Cc: Ashish Kalra, linux-coco, Jonathan Corbet, linux-doc, Shuah Khan,
	Brijesh Singh



On 9/5/26 2:29 AM, Karl Mehltretter wrote:
> struct snp_user_guest_request does not exist; the name is struct
> snp_guest_request_ioctl.
> 
> Use the real name.
> 
> Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.

> ---
>  Documentation/virt/coco/sev-guest.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/virt/coco/sev-guest.rst b/Documentation/virt/coco/sev-guest.rst
> index 93debceb6eb0..3371ebc29e8b 100644
> --- a/Documentation/virt/coco/sev-guest.rst
> +++ b/Documentation/virt/coco/sev-guest.rst
> @@ -38,7 +38,7 @@ along with a description:
>        are not detailed, but errors with specific meanings are.
>  
>  The guest ioctl should be issued on a file descriptor of the /dev/sev-guest
> -device.  The ioctl accepts struct snp_user_guest_request. The input and
> +device.  The ioctl accepts struct snp_guest_request_ioctl. The input and
>  output structure is specified through the req_data and resp_data field
>  respectively. If the ioctl fails to execute due to a firmware error, then
>  the fw_error code will be set, otherwise fw_error will be set to -1.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst
  2026-09-05  9:29 [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst Karl Mehltretter
  2026-09-05 17:20 ` Randy Dunlap
@ 2026-09-09 14:51 ` Tom Lendacky
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Lendacky @ 2026-09-09 14:51 UTC (permalink / raw)
  To: Karl Mehltretter
  Cc: Ashish Kalra, linux-coco, Jonathan Corbet, linux-doc, Shuah Khan,
	Randy Dunlap, Brijesh Singh

On 9/5/26 04:29, Karl Mehltretter wrote:
> struct snp_user_guest_request does not exist; the name is struct
> snp_guest_request_ioctl.
> 
> Use the real name.
> 
> Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Acked-by: Tom Lendacky <thomas.lendacky@amd.com>

> ---
>  Documentation/virt/coco/sev-guest.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/virt/coco/sev-guest.rst b/Documentation/virt/coco/sev-guest.rst
> index 93debceb6eb0..3371ebc29e8b 100644
> --- a/Documentation/virt/coco/sev-guest.rst
> +++ b/Documentation/virt/coco/sev-guest.rst
> @@ -38,7 +38,7 @@ along with a description:
>        are not detailed, but errors with specific meanings are.
>  
>  The guest ioctl should be issued on a file descriptor of the /dev/sev-guest
> -device.  The ioctl accepts struct snp_user_guest_request. The input and
> +device.  The ioctl accepts struct snp_guest_request_ioctl. The input and
>  output structure is specified through the req_data and resp_data field
>  respectively. If the ioctl fails to execute due to a firmware error, then
>  the fw_error code will be set, otherwise fw_error will be set to -1.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-09 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  9:29 [PATCH] Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst Karl Mehltretter
2026-09-05 17:20 ` Randy Dunlap
2026-09-09 14:51 ` Tom Lendacky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox