Re: [Xen-devel] [PATCH v4 2/5] x86emul: generalize exception handling for rep_* hooks

2016-12-13 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 13 December 2016 11:28 > To: xen-devel > Cc: Andrew Cooper ; Paul Durrant > > Subject: [PATCH v4 2/5] x86emul: generalize exception handling for rep_* > hooks > > If any of those hooks returns X86EMUL_EXCEPTION,

[Xen-devel] [PATCH v4 2/5] x86emul: generalize exception handling for rep_* hooks

2016-12-13 Thread Jan Beulich
If any of those hooks returns X86EMUL_EXCEPTION, some register state should still get updated if some iterations have been performed (but the rIP update will get suppressed if not all of them did get handled). This updating is done by register_address_increment() and __put_rep_prefix() (which hence