Re: [PATCH v1] xen: get rid of paravirt op adjust_exception_frame

From: Boris Ostrovsky
Date: Wed Jul 26 2017 - 08:59:36 EST




On 7/24/2017 10:28 AM, Juergen Gross wrote:
When running as Xen pv-guest the exception frame on the stack contains
%r11 and %rcx additional to the other data pushed by the processor.

Instead of having a paravirt op being called for each exception type
prepend the Xen specific code to each exception entry. When running as
Xen pv-guest just use the exception entry with prepended instructions,
otherwise use the entry without the Xen specific code.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

(I'd s/xen/x86/ in subject to get x86 maintainers' attention ;-))