Re: [Xen-devel] [PATCH] x86/HVM: fold hypercall tables

2016-02-17 Thread Jan Beulich
>>> On 17.02.16 at 15:35, wrote: > On 15/02/16 08:52, Jan Beulich wrote: > On 15.02.16 at 09:26, wrote: >>> On 15/02/2016 07:42, Jan Beulich wrote: @@ -5395,7 +5398,7 @@ int hvm_do_hypercall(struct cpu_user_reg } #endif -regs->_eax = hvm_hypercall3

Re: [Xen-devel] [PATCH] x86/HVM: fold hypercall tables

2016-02-17 Thread Andrew Cooper
On 15/02/16 08:52, Jan Beulich wrote: On 15.02.16 at 09:26, wrote: >> On 15/02/2016 07:42, Jan Beulich wrote: >>> @@ -5395,7 +5398,7 @@ int hvm_do_hypercall(struct cpu_user_reg >>> } >>> #endif >>> >>> -regs->_eax = hvm_hypercall32_table[eax](ebx, ecx, edx, esi, edi, >>>

Re: [Xen-devel] [PATCH] x86/HVM: fold hypercall tables

2016-02-15 Thread Jan Beulich
>>> On 15.02.16 at 09:26, wrote: > On 15/02/2016 07:42, Jan Beulich wrote: >> @@ -5395,7 +5398,7 @@ int hvm_do_hypercall(struct cpu_user_reg >> } >> #endif >> >> -regs->_eax = hvm_hypercall32_table[eax](ebx, ecx, edx, esi, edi, >> ebp); >> +regs->_eax = hypercall_table

Re: [Xen-devel] [PATCH] x86/HVM: fold hypercall tables

2016-02-15 Thread Andrew Cooper
On 15/02/2016 07:42, Jan Beulich wrote: > @@ -5395,7 +5398,7 @@ int hvm_do_hypercall(struct cpu_user_reg > } > #endif > > -regs->_eax = hvm_hypercall32_table[eax](ebx, ecx, edx, esi, edi, > ebp); > +regs->_eax = hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, > eb