diff options
| author | David Gibson | 2020-06-04 08:42:17 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-06-12 17:20:13 +0200 |
| commit | 0bd1527774fc17985f47df41b95f31b00b162129 (patch) | |
| tree | 8f736e7d8c1bb6a63a77a59fd573c97272dc8fe4 /include | |
| parent | target/i386: sev: Remove redundant cbitpos and reduced_phys_bits fields (diff) | |
| download | qemu-0bd1527774fc17985f47df41b95f31b00b162129.tar.gz qemu-0bd1527774fc17985f47df41b95f31b00b162129.tar.xz qemu-0bd1527774fc17985f47df41b95f31b00b162129.zip | |
target/i386: sev: Remove redundant policy field
SEVState::policy is set from the final value of the policy field in the
parameter structure for the KVM_SEV_LAUNCH_START ioctl(). But, AFAICT
that ioctl() won't ever change it from the original supplied value which
comes from SevGuestState::policy.
So, remove this field and just use SevGuestState::policy directly.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200604064219.436242-8-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
