Re: [Xen-devel] [PATCH v12] x86/emulate: Send vm_event from emulate

2019-09-23 Thread Jan Beulich
On 23.09.2019 11:00, Alexandru Stefan ISAILA wrote: > Ok, just to make sure this is what is needed and limit the patch > versions, rep_movs / rep_stos should have a switch like this: > > switch ( rc ) > { > case HVMTRANS_okay: > return X86EMUL_OKAY; >

Re: [Xen-devel] [PATCH v12] x86/emulate: Send vm_event from emulate

2019-09-23 Thread Alexandru Stefan ISAILA
On 20.09.2019 18:20, Jan Beulich wrote: > On 20.09.2019 16:59, Alexandru Stefan ISAILA wrote: >> >> >> On 20.09.2019 17:22, Jan Beulich wrote: >>> On 20.09.2019 14:16, Alexandru Stefan ISAILA wrote: In order to have __hvm_copy() issue ~X86EMUL_RETRY a new return type, HVMTRANS_need_retr

Re: [Xen-devel] [PATCH v12] x86/emulate: Send vm_event from emulate

2019-09-20 Thread Jan Beulich
On 20.09.2019 16:59, Alexandru Stefan ISAILA wrote: > > > On 20.09.2019 17:22, Jan Beulich wrote: >> On 20.09.2019 14:16, Alexandru Stefan ISAILA wrote: >>> In order to have __hvm_copy() issue ~X86EMUL_RETRY a new return type, >>> HVMTRANS_need_retry, was added and all the places that consume HVM

Re: [Xen-devel] [PATCH v12] x86/emulate: Send vm_event from emulate

2019-09-20 Thread Alexandru Stefan ISAILA
On 20.09.2019 17:22, Jan Beulich wrote: > On 20.09.2019 14:16, Alexandru Stefan ISAILA wrote: >> In order to have __hvm_copy() issue ~X86EMUL_RETRY a new return type, >> HVMTRANS_need_retry, was added and all the places that consume HVMTRANS* >> and needed adjustment where changed accordingly. >

Re: [Xen-devel] [PATCH v12] x86/emulate: Send vm_event from emulate

2019-09-20 Thread Jan Beulich
On 20.09.2019 14:16, Alexandru Stefan ISAILA wrote: > In order to have __hvm_copy() issue ~X86EMUL_RETRY a new return type, > HVMTRANS_need_retry, was added and all the places that consume HVMTRANS* > and needed adjustment where changed accordingly. This is wrong and hence confusing: __hvm_copy()