On 5/20/20 8:42 PM, David Gibson wrote: > 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 <[email protected]> > --- > target/i386/sev.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
