From: Petre Ovidiu PIRCALABU <ppircalabu@bitdefender.com>
To: "george.dunlap@citrix.com" <george.dunlap@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Cc: "kevin.tian@intel.com" <kevin.tian@intel.com>,
"sstabellini@kernel.org" <sstabellini@kernel.org>,
"wei.liu2@citrix.com" <wei.liu2@citrix.com>,
"jun.nakajima@intel.com" <jun.nakajima@intel.com>,
"rcojocaru@bitdefender.com" <rcojocaru@bitdefender.com>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
"George.Dunlap@eu.citrix.com" <George.Dunlap@eu.citrix.com>,
"andrew.cooper3@citrix.com" <andrew.cooper3@citrix.com>,
"ian.jackson@eu.citrix.com" <ian.jackson@eu.citrix.com>,
"tim@xen.org" <tim@xen.org>,
"paul.durrant@citrix.com" <paul.durrant@citrix.com>,
"tamas@tklengyel.com" <tamas@tklengyel.com>,
"jbeulich@suse.com" <jbeulich@suse.com>
Subject: Re: [PATCH v13 1/3] x86emul: New return code for unimplemented instruction
Date: Mon, 2 Oct 2017 14:42:01 +0000 [thread overview]
Message-ID: <1506955283.2262.8.camel@bitdefender.com> (raw)
In-Reply-To: <44c99fa0-6ba7-6d3b-73e9-b1569c7bd930@citrix.com>
On Lu, 2017-10-02 at 15:09 +0100, George Dunlap 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've changed the comment from the definition multiple times and I
forgot to update the patch comment. Indeed, the newest description
better reflects the current usage of X86EMUL_UNIMPLEMENTED.
> I'll do this on check-in if I don't hear any objections by tomorrow.
>
> -George
Many thanks for your support,
Petre
>
> ________________________
> This email was scanned by Bitdefender
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-10-02 14:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 12:03 [PATCH v13 0/3] Notify monitor when emulating an unimplemented instruction Petre Pircalabu
2017-09-25 12:03 ` [PATCH v13 1/3] x86emul: New return code for " Petre Pircalabu
2017-09-25 12:15 ` Paul Durrant
2017-09-26 13:53 ` Jan Beulich
2017-10-02 13:39 ` George Dunlap
2017-10-02 13:43 ` George Dunlap
2017-10-02 14:09 ` George Dunlap
2017-10-02 14:42 ` Petre Ovidiu PIRCALABU [this message]
2017-10-02 15:00 ` George Dunlap
2017-10-04 11:11 ` Jan Beulich
2017-10-04 11:14 ` George Dunlap
2017-10-10 5:23 ` Tian, Kevin
2017-09-25 12:03 ` [PATCH v13 2/3] x86emul: Add return code information to error messages Petre Pircalabu
2017-09-25 12:11 ` Paul Durrant
2017-10-02 13:41 ` George Dunlap
2017-09-25 12:03 ` [PATCH v13 3/3] x86/monitor: Notify monitor if an emulation fails Petre Pircalabu
2017-09-25 12:13 ` Paul Durrant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1506955283.2262.8.camel@bitdefender.com \
--to=ppircalabu@bitdefender.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=jun.nakajima@intel.com \
--cc=kevin.tian@intel.com \
--cc=konrad.wilk@oracle.com \
--cc=paul.durrant@citrix.com \
--cc=rcojocaru@bitdefender.com \
--cc=sstabellini@kernel.org \
--cc=tamas@tklengyel.com \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.