Re: [Xen-devel] [PATCH] x86/HVM: drop __hvm_clear()

2016-12-06 Thread Andrew Cooper
On 06/12/16 12:48, Jan Beulich wrote: > Rather than almost entirely duplicating __hvm_copy(), have __hvm_copy() > clear guest memory if the source pointer is NULL. > > Signed-off-by: Jan Beulich Ooh - thats a nice improvement. I'm sorry I didn't spot it when doing the API improvements to __hvm_c

[Xen-devel] [PATCH] x86/HVM: drop __hvm_clear()

2016-12-06 Thread Jan Beulich
Rather than almost entirely duplicating __hvm_copy(), have __hvm_copy() clear guest memory if the source pointer is NULL. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -3212,7 +3212,10 @@ static enum hvm_copy_result __hvm_copy( }