aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hax-posix.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2020-06-04 16:42:17 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-12 11:20:13 -0400
commit0bd1527774fc17985f47df41b95f31b00b162129 (patch)
tree8f736e7d8c1bb6a63a77a59fd573c97272dc8fe4 /target/i386/hax-posix.c
parenta06d2bad053f5f95871c0b429acc2c64c74a92b3 (diff)
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 'target/i386/hax-posix.c')
0 files changed, 0 insertions, 0 deletions