Re: [PATCH] x86/mem_sharing: fix uninitialized 'preempted' variable

2021-01-18 Thread Andrew Cooper
On 18/01/2021 17:23, Tamas K Lengyel wrote: > UBSAN catches an uninitialized use of the 'preempted' variable in > fork_hap_allocation when there is no preemption. Fixes: 41548c5472a ("mem_sharing: VM forking") > Signed-off-by: Tamas K Lengyel Acked-by: Andrew Cooper

[PATCH] x86/mem_sharing: fix uninitialized 'preempted' variable

2021-01-18 Thread Tamas K Lengyel
UBSAN catches an uninitialized use of the 'preempted' variable in fork_hap_allocation when there is no preemption. Signed-off-by: Tamas K Lengyel --- xen/arch/x86/mm/mem_sharing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/