Skip to contentSkip to conversation

Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst

PATCH Applied Karl Mehltretter 4 participants 4 messages Sep 5 – Sep 15 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: virt: Fix the struct snp_guest_request_ioctl name in sev-guest.rst

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
---
 Documentation/virt/coco/sev-guest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/virt/coco/sev-guest.rst +1 -1
index 93debceb6eb0..3371ebc29e8b 100644
@@ -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.
Signature · 1 line
2.53.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Karl Mehltretter

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

thanks.

Quoted 17 lines
---
 Documentation/virt/coco/sev-guest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/virt/coco/sev-guest.rst +1 -1
index 93debceb6eb0..3371ebc29e8b 100644
@@ -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.
Signature · 1 line
~Randy
Acked-by on v1 1/1
#2 lore raw
In reply to Karl Mehltretter
Quoted 8 lines · Karl Mehltretter

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
Quoted 17 lines
---
 Documentation/virt/coco/sev-guest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/virt/coco/sev-guest.rst +1 -1
index 93debceb6eb0..3371ebc29e8b 100644
@@ -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.
maintainer Applied
#3 lore raw
In reply to Karl Mehltretter
Quoted 17 lines · Karl Mehltretter

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
---
 Documentation/virt/coco/sev-guest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/virt/coco/sev-guest.rst +0 -0
index 93debceb6eb0..3371ebc29e8b 100644

Documentation/virt/coco/sev-guest.rst along with a description: · line 44

Quoted 8 lines
Documentation/virt/coco/sev-guest.rst +1 -1
@@ -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.

Applied, thanks.

jon