target/i386: sev: Remove redundant cbitpos and reduced_phys_bits fields
commita06d2bad053f5f95871c0b429acc2c64c74a92b3
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 4 Jun 2020 06:42:16 +0000 (4 16:42 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:20:13 +0000 (12 11:20 -0400)
tree46b391e215eaf7ea87588b5b4822f507fdf7b85e
parent8673dee354271a4f30f68059bfbbbea3d21e1a73
target/i386: sev: Remove redundant cbitpos and reduced_phys_bits fields

The SEVState structure has cbitpos and reduced_phys_bits fields which are
simply copied from the SevGuestState structure and never changed.  Now that
SEVState is embedded in SevGuestState we can just access the original copy
directly.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200604064219.436242-7-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c