]> Git Repo - qemu.git/commit
target/i386: sev: Partial cleanup to sev_state global
authorDavid Gibson <[email protected]>
Thu, 4 Jun 2020 06:42:15 +0000 (16:42 +1000)
committerPaolo Bonzini <[email protected]>
Fri, 12 Jun 2020 15:20:13 +0000 (11:20 -0400)
commit8673dee354271a4f30f68059bfbbbea3d21e1a73
tree3eaadebc9c9846ad45b26cbbd2d89a63400455f7
parent75a877e3b14a8575fd6bc99d193f7fcc03eee94b
target/i386: sev: Partial cleanup to sev_state global

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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20200604064219[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/sev.c
This page took 0.025595 seconds and 4 git commands to generate.