Re: [RFC v2 07/18] target/i386: sev: Remove redundant policy field

2020-06-01 Thread Richard Henderson
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. >

[RFC v2 07/18] target/i386: sev: Remove redundant policy field

2020-05-20 Thread David Gibson
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