[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState
From: |
Richard Henderson |
Subject: |
Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState |
Date: |
Mon, 1 Jun 2020 20:07:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 5/20/20 8:42 PM, David Gibson wrote:
> Currently SevGuestState contains only configuration information. For
> runtime state another non-QOM struct SEVState is allocated separately.
>
> Simplify things by instead embedding the SEVState structure in
> SevGuestState.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> target/i386/sev.c | 54 +++++++++++++++++++++++++----------------------
> 1 file changed, 29 insertions(+), 25 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [RFC v2 04/18] target/i386: sev: Embed SEVState in SevGuestState,
Richard Henderson <=