Re: [PATCH v2 03/12] x86/sev: Save and print negotiated GHCB protocol version

From
Borislav Petkov <bp@alien8.de>
Date
2021-11-03 14:27:31
Also in
kexec, kvm, lkml, virtualization
Reply to
Joerg Roedel, 2021-09-13
On Mon, Sep 13, 2021 at 05:55:54PM +0200, Joerg Roedel wrote:
From: Joerg Roedel <redacted>

Save the results of the GHCB protocol negotiation into a data structure
and print information about versions supported and used to the kernel
log.
Which is useful for?
quoted hunk ↗ jump to hunk
+/*
+ * struct sev_ghcb_protocol_info - Used to return GHCB protocol
+ *				   negotiation details.
+ *
+ * @hv_proto_min:	Minimum GHCB protocol version supported by Hypervisor
+ * @hv_proto_max:	Maximum GHCB protocol version supported by Hypervisor
+ * @vm_proto:		Protocol version the VM (this kernel) will use
+ */
+struct sev_ghcb_protocol_info {
Too long a name - ghcb_info is perfectly fine.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (26 messages) 26 messages, 4 authors, last reply 2022-01-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help