>>> On 26.06.17 at 12:44, <sergey.dya...@citrix.com> wrote: > @@ -2085,7 +2097,7 @@ int nvmx_msr_read_intercept(unsigned int msr, u64 > *msr_content) > { > struct vcpu *v = current; > struct domain *d = v->domain; > - struct vmx_msr_policy *p = &hvm_max_vmx_msr_policy; > + struct vmx_msr_policy *p = d->arch.vmx_msr;
I must have overlooked this in an earlier patch: This being the read handler, you want to add const from the point on where the variable gets being introduced. Apart from that Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel