[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/2] x86/mm: don't wrap x86_emulate_ctxt in ptwr_emulate_ctxt



>>> On 31.08.17 at 13:22, <wei.liu2@xxxxxxxxxx> wrote:
> @@ -5221,10 +5217,12 @@ int ptwr_do_page_fault(struct vcpu *v, unsigned long 
> addr,
>          goto bail;
>      }
>  
> -    ptwr_ctxt.cr2 = addr;
> -    ptwr_ctxt.pte = pte;
> +    ptwr_ctxt = (struct ptwr_emulate_ctxt) {
> +        .cr2 = addr,
> +        .pte = pte,
> +    };

I don't see the need for this re-write.

Jan


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.