All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Alexandru Stefan ISAILA <aisaila@bitdefender.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Cc: "paul.durrant@citrix.com" <paul.durrant@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH v5] x86/hvm: Implement hvmemul_write() using real mappings
Date: Wed, 27 Sep 2017 06:40:32 -0600	[thread overview]
Message-ID: <59CBB860020000780018015E@prv-mh.provo.novell.com> (raw)
In-Reply-To: <acd6903e-6e35-6012-47fa-02e3eb181bc4@citrix.com>

>>> On 27.09.17 at 14:11, <andrew.cooper3@citrix.com> wrote:
> On 27/09/17 12:48, Alexandru Stefan ISAILA wrote:
>> On Mi, 2017-09-27 at 09:38 +0100, Andrew Cooper wrote:
>>> On 27/09/2017 09:04, Alexandru Isaila wrote:
>>>> From: Andrew Cooper <andrew.cooper3@citrix.com>
>>>>
>>>>
>>>> -        return X86EMUL_EXCEPTION;
>>>> -    case HVMTRANS_bad_gfn_to_mfn:
>>>> -        return hvmemul_linear_mmio_write(addr, bytes, p_data,
>>>> pfec, hvmemul_ctxt, 0);
>>> Where has the if ( !mapping ) test gone?  The HVMTRANS_bad_gfn_to_mfn
>>> case needs handling.
>> There was a comment form Jan in V2. NOTE: "v1
>> comment:'Pointless"else".'"
> 
> That means that the "else " text is pointless, not the clause.  (Jan:
> Please do try to be clearer when stating "pointless else", because it
> really is ambiguous and this mistake is a valid interpretation of your
> statement.)

How would one word this in an unambiguous way? And anyway -
it should have occurred to Alexandru that deleting not the "else"
alone has an unwanted side effect. If this wasn't enough for the
ambiguity to be resolved, he should have asked back.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

      reply	other threads:[~2017-09-27 12:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27  8:04 [PATCH v5] x86/hvm: Implement hvmemul_write() using real mappings Alexandru Isaila
2017-09-27  8:38 ` Andrew Cooper
2017-09-27  9:16   ` Jan Beulich
2017-09-27 11:48   ` Alexandru Stefan ISAILA
2017-09-27 12:11     ` Andrew Cooper
2017-09-27 12:40       ` Jan Beulich [this message]

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=59CBB860020000780018015E@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=aisaila@bitdefender.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=paul.durrant@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.