Skip to content
Commit 09023677 authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov
Browse files

ppc64: Fix checkpoint --leave-running



The commit ba743509 which introduces support for Altivec and VSX
support was breaking the checkpoint --leave-running.

The root cause is that the address of the Altivec and VSX registers in the
signal frame should be computed for the stack in the context of the
checkpointed process.

This patch fixes this issue through the sigreturn_prep_fpu_frame which is
designed to update the signal frame based on the remote address.

Fixes: ba743509 ("ppc64: Add Altivec and VSX support")
Reported-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Tested-by: default avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent a99d47e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment