>>> On 30.03.16 at 13:25, <paul.durr...@citrix.com> wrote:
> @@ -851,6 +855,9 @@ static int viridian_load_vcpu_ctxt(struct domain *d, 
> hvm_domain_context_t *h)
>      if ( hvm_load_entry_zeroextend(VIRIDIAN_VCPU, h, &ctxt) != 0 )
>          return -EINVAL;
>  
> +    if ( memcmp(&ctxt._pad, zero_page, sizeof(ctxt._pad)) )
> +        return -EINVAL;

Does this build? Right now zero_page[] is static in x86/mm.c afaict...

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to