summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2020-06-04 16:42:15 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-12 11:20:13 -0400
commit8673dee354271a4f30f68059bfbbbea3d21e1a73 (patch)
tree3eaadebc9c9846ad45b26cbbd2d89a63400455f7 /docs/devel/secure-coding-practices.rst
parent75a877e3b14a8575fd6bc99d193f7fcc03eee94b (diff)
downloadfocaccia-qemu-8673dee354271a4f30f68059bfbbbea3d21e1a73.tar.gz
focaccia-qemu-8673dee354271a4f30f68059bfbbbea3d21e1a73.zip
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 <david@gibson.dropbear.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200604064219.436242-6-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions