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

Re: [Xen-devel] [PATCH v7 03/15] x86/hvm: Introduce hvm_save_cpu_ctxt_one func



>>> On 07.06.18 at 16:59, <aisaila@xxxxxxxxxxxxxxx> wrote:
> @@ -799,100 +897,7 @@ static int hvm_save_cpu_ctxt(struct domain *d, 
> hvm_domain_context_t *h)
>              continue;
>  
>          memset(&ctxt, 0, sizeof(ctxt));
> -

Why do you not move this memset() as well? I'm pretty convinced the
eventual other mode of use will need it too (or otherwise the other caller
would have to duplicate it).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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