The code in question is executing __HYPERVISOR_multicall which is 2-parameter hypercall, which means that args 3-6 are preserved (as opposed to the arguments in the multicall_entry_t list, which are clobbered).
GCC 4.4 in CentOS 6 can't cope with the ebp clobber. Reported-by: Glenn Enright <gl...@rimuhosting.com> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- tests/xsa-213/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/xsa-213/main.c b/tests/xsa-213/main.c index 34eac06..6ecaf11 100644 --- a/tests/xsa-213/main.c +++ b/tests/xsa-213/main.c @@ -96,12 +96,6 @@ static long multi_iret_call(multicall_entry_t *multi, size_t nr) #else "D" (multi), "S" (nr) #endif - : -#ifdef __i386__ - "edx", "esi", "edi", "ebp" -#else - "rdx", "r10", "r8", "r9" -#endif ); return rc; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel