[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 3/5] x86emul: generalize exception handling for rep_* hooks
On 06/12/16 11:14, Jan Beulich wrote: > 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 must no longer be bypassed). As a > result put_rep_prefix() can then skip most of the writeback, but needs > to ensure proper completion of the executed instruction. > > While on the HVM side the VA -> LA -> PA translation process ensures > that an exception would be raised on the first iteration only, doing so > would unduly complicate the PV side code about to be added. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |