[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a5b12dcf-4a07-8f6b-226c-841db5eec4fc@amd.com>
Date: Thu, 12 Oct 2017 09:18:31 -0500
From: Brijesh Singh <brijesh.singh@....com>
To: Borislav Petkov <bp@...e.de>
Cc: brijesh.singh@....com, Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Gary Hook <gary.hook@....com>,
Tom Lendacky <thomas.lendacky@....com>,
linux-crypto@...r.kernel.org, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [Part2 PATCH v5.2 12.1/31] crypto: ccp: Define SEV userspace
ioctl and command id
On 10/12/2017 08:27 AM, Borislav Petkov wrote:
...
>
>> +/**
>> + * struct sev_user_data_status - PLATFORM_STATUS command parameters
>> + *
>> + * @major: major API version
>> + * @minor: minor API version
>> + * @state: platform state
>> + * @owner: self-owned or externally owned
>> + * @config: platform config flags
>> + * @build: firmware build id for API version
>> + * @guest_count: number of active guests
>> + */
>> +struct sev_user_data_status {
>> + __u8 api_major; /* Out */
>> + __u8 api_minor; /* Out */
>> + __u8 state; /* Out */
>> + __u8 owner; /* Out */
>> + __u32 config; /* Out */
>> + __u8 build; /* Out */
>> + __u32 guest_count; /* Out */
>> +} __packed;
>> +
>
> After yesterday's discussion about the sev_data_status layout, that
> struct is not needed anymore, right?
>
Yes, we no longer need that structure.
-Brijesh
Powered by blists - more mailing lists