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@xxxxxxxxxxxxxxxxxxxxx> > --- > target/i386/sev.c | 92 ++++++++++++++++++++++++----------------------- > 1 file changed, 48 insertions(+), 44 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx> r~