Thread (30 messages) 30 messages, 5 authors, 2023-10-19

Re: [PATCH v6 6/7] virt: sevguest: Add TSM_REPORTS support for SNP_GET_EXT_REPORT

From: Dionna Amalie Glaze <hidden>
Date: 2023-10-16 15:39:37

quoted
+
+     struct snp_guest_request_ioctl input = {
+             .msg_version = 1,
+             .req_data = (__u64)&ext_req,
+             .resp_data = (__u64)buf,
+             .exitinfo2 = 0xff,
Not sure we need this line with 0xff.
The exitinfo2 value had an uninitialized memory bug, where random data
would get returned to user space. I think this is carrying forward the
initial value that sev-guest currently uses.

-- 
-Dionna Glaze, PhD (she/her)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help