[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v13 1/3] x86emul: New return code for unimplemented instruction



> From: George Dunlap [mailto:george.dunlap@xxxxxxxxxx]
> Sent: Wednesday, October 4, 2017 7:14 PM
> 
> On 10/04/2017 12:11 PM, Jan Beulich wrote:
> >>>> On 02.10.17 at 16:09, <george.dunlap@xxxxxxxxxx> wrote:
> >> On 10/02/2017 02:43 PM, George Dunlap wrote:
> >>> On 09/25/2017 01:03 PM, Petre Pircalabu wrote:
> >>>> Enforce the distinction between an instruction not implemented by
> the
> >>>> emulator and the failure to emulate that instruction by defining a new
> >>>> return code, X86EMUL_UNIMPLEMENTED.
> >>>>
> >>>> This value should only be returned by the core emulator only if it fails
> to
> >>>> properly decode the current instruction's opcode, and not by any of
> other
> >>>> functions, such as the x86_emulate_ops or the hvm_io_ops callbacks.
> >>>
> >>> Oh, minor comment:  Should this paragraph be changed to match the
> >>> comment in the patch itself?  I.e.:
> >>>
> >>> "This value should only be returned by the core emulator when a valid
> >>> opcode is found but the execution logic for that instruction is missing.
> >>> It should NOT be returned by any of the x86_emulate_ops callbacks."
> >>
> >> I'll do this on check-in if I don't hear any objections by tomorrow.
> >
> > This shouldn't really have gone in without a VMX maintainer ack.
> 
> Indeed -- sorry I missed that.
> 

here comes: 

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.