[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 05/18] target/i386: sev: Partial cleanup to sev_state global
From: |
Richard Henderson |
Subject: |
Re: [RFC v2 05/18] target/i386: sev: Partial cleanup to sev_state global |
Date: |
Mon, 1 Jun 2020 20:08:58 -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:
> The SEV code uses a pretty ugly global to access its internal state. Now
> that SEVState is embedded in SevGuestState, we can avoid accessing it via
> the global in some cases. In the remaining cases use a new global
> referencing the containing SevGuestState which will simplify some future
> transformations.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> target/i386/sev.c | 92 ++++++++++++++++++++++++-----------------------
> 1 file changed, 48 insertions(+), 44 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [RFC v2 05/18] target/i386: sev: Partial cleanup to sev_state global,
Richard Henderson <=